/* =======================================================
 *  페이지 전체 폰트 굵기 설정 (요청사항)
 * ======================================================= */

/* body 태그에 페이지 전체 기본 폰트 굵기를 400(normal)으로 설정 */
body {
    font-weight: 400;
}

/* h2 태그이면서 content-title 클래스를 가진 요소만 폰트 굵기를 800으로 설정 */
h2.content-title {
    font-weight: 800 !important; /* 다른 스타일에 덮어씌워지지 않도록 !important 사용 */
}


/* =======================================================
 *  어드민 문의 목록 (adminInquiryList.css) - 최종 수정본
 * ======================================================= */

/* 검색 관련 스타일 (유지) */
.search-result-info {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f2f3f8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}
.search-result-info .text-brand {
    color: #0d6efd;
    font-size: 16px;
}

/* =======================================================
 *  [수정] 드롭다운 메뉴 스타일 (최종본)
 * ======================================================= */

/* 드롭다운 메뉴의 각 아이템(<a> 태그) 스타일 */
.dropdown-menu .dropdown-item {
    /* 1. Flexbox로 설정 */
    display: flex; 
    
    /* 2. 자식 요소들을 세로로 가운데 정렬 */
    align-items: center; 
    
    /* 3. [핵심] 자식 요소들을 (점+텍스트) 그룹으로 묶어 가로로 가운데 정렬 */
    justify-content: center; 
    
    /* 기타 스타일 */
    white-space: nowrap; /* 줄바꿈 방지 */
    padding: 0.5rem 1rem; /* 내부 여백으로 보기 좋게 */
}

/* 드롭다운 메뉴의 색상 점(dot) 스타일 */
.dropdown-menu .badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px; /* 텍스트와의 간격 */
}

/* 드롭다운 메뉴(<div class="dropdown-menu">) 자체의 너비 설정 */
.dropdown-menu.status {
    min-width: 100%; /* 최소한 버튼 너비만큼은 확보 */
    width: auto;     /* 내용물에 맞게 너비 자동 조절 */
}

/* 상태별 점 색상 (기존 코드와 동일) */
.badge-dot.bg-secondary { background-color: #6c757d; }
.badge-dot.bg-success { background-color: #198754; }
.badge-dot.bg-warning { background-color: #ffc107; }
.badge-dot.bg-danger  { background-color: #dc3545; }


/* =======================================================
 *  테이블 레이아웃
 * ======================================================= */

.member-table {
    table-layout: fixed;
    width: 100%;
    min-width: 900px;
}

.member-table th,
.member-table td {
    vertical-align: middle;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
}

.member-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.member-table tbody td {
    text-align: center;
}

/* 컬럼별 너비 지정 (이전과 동일) */
.col-check       { width: 4%; }
.col-num         { width: 7%; }
.col-type        { width: 8%; }
.col-target      { width: 8%; }
.col-title       { width: auto; }
.col-writer-name { width: 9%; }
.col-writer-id   { width: 10%; }
.col-date        { width: 13%; }
.col-status      { width: 8%; }
.col-details     { width: 9%; }


/* ▼▼▼ [수정] 링크 스타일에서 color: inherit 제거 ▼▼▼ */
.col-title {
    text-align: center !important;
}
.col-title-td{
	text-align: left !important;
}

.member-table td.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-table td.ellipsis a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    /* color: inherit;  <-- 이 줄을 제거하여 기본 링크 색상이 나오도록 합니다. */
    text-decoration: none; /* 평소에는 밑줄 없음 */
}

.member-table td.ellipsis a:hover {
    text-decoration: underline; /* 마우스를 올리면 밑줄 표시 */
}
/* ▲▲▲ [수정] 링크 스타일 수정 완료 ▲▲▲ */


/* 테이블의 처리 상태 배지 (유지) */
.custom-badge {
    padding: 0.5em 0.9em;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    min-width: 60px;
    text-align: center;
    border-radius: 10px;
}