@charset "utf-8";

/* ========================================
   list.skin.php 스타일
   ======================================== */

/* 기본 설정 */
* {
    box-sizing: border-box;
}

#bo_list {
    margin: 0;
    padding: 0;margin-top: -30px!important
}

.list-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0px 0px; 
}

/* 헤더 */
.list-header {
    margin-bottom: 30px;
}

.list-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    letter-spacing: -0.5px;
}

/* 검색 영역 */
.search-area {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 20px;
}

.search-input,
.search-select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px !important;
    outline: none;
    transition: all 0.2s ease;
}

input.search-input {
    flex: 1;
    min-width: 220px;
    padding: 12px 16px !important;
    font-size: 15px !important;
}

.search-input:focus,
.search-select:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.search-select {
    min-width: 160px;
    padding: 0px 16px;
}

/* 버튼 */
.btn {
    padding: 0px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-search {
    background: #333;
    color: white;
}

.btn-search:hover {
    background: #000;
    transform: translateY(-1px);
}

.btn-reset {
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-reset:hover {
    background: #f8f8f8;
    border-color: #333;
}

.btn-excel {
    background: #10b981;
    color: white;
    border: none;
}

.btn-excel:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-sort {
    background: #4a90e2;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    height: 36px;
    font-size: 14px;
    font-weight: 600;
}

.btn-sort:hover {
    background: #3a7ad6;
    transform: translateY(-1px);
}

.sort-status {
    margin-left: 12px;
    font-size: 14px;
    color: #6c757d;
}

/* 안내 박스 */
.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 24px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #495057;
    border-radius: 12px;
    border-left: 4px solid #333; width: 100%; float: left
}

.info-box strong {
    color: #212529;
    font-weight: 600;
}

/* 상단 액션 */
.top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.result-info {
    font-size: 15px;
    color: #495057;
    font-weight: 500;
}

.result-info strong {
    color: #212529;
    font-weight: 600;
}

/* 슬림형 검색 */
.slim-search-form {
    flex-shrink: 0;
}

.slim-search-box {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border-radius: 6px;

    height: 36px;     outline: none!important;
}


input[type=text].slim-search-input:focus {
border: none!important;
    outline:  none!important;
}



.slim-search-input::placeholder {
    color: #aaa;
}

.slim-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 14px;
    height: 110%;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;  border-radius: 5px
}

.slim-search-btn:hover {
    background: #000;
}

.slim-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 100%;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-left: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
}

.slim-reset-btn:hover {
    background: #e53935;
    color: #fff;
}

@media (max-width: 768px) {
    .slim-search-box {
        height: 34px;
    }

    .slim-search-input {
        width: 120px;
        font-size: 12px;
        padding: 0 10px;
    }

    .slim-search-btn {
        padding: 0 12px;
        font-size: 12px;
    }

    .slim-reset-btn {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .slim-search-input {
        width: 90px;
    }

    .slim-search-btn {
        padding: 0 10px;
        font-size: 11px;
    }
}

/* 테이블 */
.list-table-wrapper {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.list-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.list-table thead {
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
}

.list-table th {
    padding: 18px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.list-table td {
    padding: 16px 16px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #333;
    text-align: center;
}
.list-table td:last-child {
   width: 150px;
}
.list-table tbody tr {
    transition: background-color 0.2s ease;
}

/* 행 클릭 링크 모드 (리스트에서 링크걸기 옵션 사용 시) */
.list-table tbody tr.list-row-clickable {
    cursor: pointer;
}

.list-table tbody tr.list-row-clickable:hover {
    background: #f5f7ff;
}

.list-table tbody tr:not(.list-row-clickable):hover {
    background: #fafafa;
}

.list-table tbody tr:last-child td {
    border-bottom: none;
}

/* 테이블 헤더 너비 */
.th-checkbox_style {
    width: 50px;
}

.th-number_style {
    width: 90px;
    white-space: nowrap;
}

.th-manage_style {
    width: 140px;
    min-width: 140px;
}

/* 테이블 셀 스타일 */
.td-number_style {
    font-weight: 600;
    color: #666;
}

/* 접수번호 스타일 */
.receipt-link_style {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s ease;


}

.receipt-link_style:hover {
    background: #f5f5f5;
}

.receipt-text_style {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    background: #f9f9f9;
}

/* 라벨 */
.label-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    border-radius: 6px;
    letter-spacing: -0.2px;
}

/* 첨부파일 아이콘 */
.attach-icons {
    display: flex;
    flex-wrap: wrap; /* 줄바꿈 허용 */
    gap: 6px;
    justify-content: center;
    max-width: 300px; /* 선택: 너비 제한하여 줄바꿈 유도 */
}

.attach-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.attach-icon.active {
    background: #f5f5f5;
    color: #333;
}

.attach-icon.inactive {
    background: #fafafa;
    color: #d0d0d0;
}

.attach-icon.active:hover {
    background: #e8e8e8;
    color: #000;
}

.attach-icon-blue_style {
    color: #333;
}

.attach-icon-gray_style {
    color: #bbb;
}

/* 상세/삭제 버튼 */
.btn-detail {
    padding: 4px 10px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-detail:hover {
    background: #4b5563;
}

.btn-delete {
    padding: 4px 10px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-delete:hover {
    background: #dc2626;
    color: white;
}

/* 관리 버튼 컨테이너 - 가로 배열 (상세 | 삭제 | 출력) */
.manage-btns {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

/* 관리 셀 - 가로 배열 */
.td-manage {
    min-width: 180px;
}
.td-manage > div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 출력 체크박스 - 가로 배열용 */
.manage-output-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0;
    margin-left: 6px;
    padding-left: 6px;
    border-left: 1px solid #e5e7eb;
}
.manage-output-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}
.manage-output-row label {
    font-size: 12px;
    margin: 0;
    cursor: pointer;
    user-select: none;
    color: #374151;
    font-weight: 500;
}


/* 선택 버튼 공통 - 심플 스타일 */
.left-buttons {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-selected-delete,
.btn-selected-copy,
.btn-selected-move {
    padding: 8px 16px;
    background: #666;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn-selected-delete:hover,
.btn-selected-copy:hover,
.btn-selected-move:hover {
    background: #555;
}


/* 하단 액션 영역 */
.bottom-actions_style {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px; width: 100%; float: left
}

.button-group_style {
    display: flex;
    gap: 10px;
}

/* 글쓰기 버튼 - 강조 컬러 유지 */
.btn-write_style {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    height: 42px;
    background: #667eea;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-write_style:hover {
    background: #5568d3;
}

/* 관리자 페이지 버튼 - 회색 통일 */
.btn-manage_style {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    height: 42px;
    background: #6b7280;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-manage_style:hover {
    background: #4b5563;
}

/* 입력폼 설정 버튼 - 회색 통일 */
.btn-config_style {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    height: 42px;
    background: #6b7280;
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-config_style:hover {
    background: #4b5563;
}

/* 아이콘 마진 */
.icon-mr_style {
    margin-right: 5px;
}

/* 페이징 영역 */
.pagination-wrap,
.pagination-wrap_style {
    margin: 20px 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    clear: both;
}

/* 페이징 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px;
}

.pagination a {
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-radius: 8px;
}

.pagination a:hover {
    background: #333;
    color: white;
    border-color: #333;
    transform: translateY(-1px);
}

.pagination .current {
    background: #333;
    color: white;
    border-color: #333;
}

/* Minimal flat paging */
.pg-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pg-wrap a,
.pg-wrap strong {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.pg-wrap a {
    color: #495057;
    background: #f8f9fa;
}

.pg-wrap a:hover {
    background: #e9ecef;
    color: #212529;
}

.pg-wrap strong {
    color: #ffffff;
    background: #4a90e2;
    font-weight: 600;
}

.pg-wrap .pg-arrow {
    background: #e9ecef !important;
    color: #495057 !important;
    font-size: 18px;
    font-weight: 700;
    padding: 0 16px !important;
}

.pg-wrap .pg-arrow:hover {
    background: #4a90e2 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .pg-wrap a,
    .pg-wrap strong {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .pg-wrap .pg-arrow {
        font-size: 16px !important;
        padding: 0 12px !important;
    }
}

/* 라벨 통계 박스 */
.label-stats-box_style {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.label-stats-container_style {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.label-stats-left_style {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    flex: 1;
}

.label-stat-item {
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.label-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.label-stat-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 성별 통계 */
.gender-stats-right_style {
    display: flex;
    gap: 10px;
    align-items: center;
    border-left: 2px solid #e8e8e8;
    padding-left: 24px;
}

.gender-stat-item {
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.gender-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gender-stat-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 접수번호 텍스트 (관리 페이지) */
.receipt-text-admin_style {
    font-family: monospace;
    font-weight: 600;
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    color: #e0e0e0;
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    font-size: 15px;
    color: #999;
    margin: 0;
    letter-spacing: -0.3px;
}

.empty-state_style {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-icon_style {
    font-size: 64px;
    display: block;
    margin: 0 auto 16px;
    color: #e0e0e0;
}

/* 하단 삭제 버튼 영역 */
.bottom-delete-wrap_style {
    margin-top: 20px;
}

/* ========================================
   list_StandForm.skin.php 대기자 관리 전용 스타일
   7번 라운드 아웃라인 스타일 적용
   ======================================== */

/* 대기자 관리 타이틀 */
.standby-title_style {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* ===== 7번 라운드 아웃라인 스타일 탭 ===== */
.gender-tabs-round {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-round-btn {
    padding: 12px 28px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-round-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.tab-round-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 탭 레이블 (남자/여자) */
.tab-label {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* 탭 카운트 (숫자 뱃지) */
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    min-width: 45px;
}

.tab-round-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.tab-round-btn:hover:not(.active) .tab-count {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

/* ===== 개선된 현황판 스타일 ===== */
.standby-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.info-item {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.info-item:hover {
    border-color: #d0d0d0;
    transform: translateY(-2px);
}

.info-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.info-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

/* 현황판 색상 스타일 */
.info-value-warning {
    color: #f59e0b;
}

.info-value-success {
    color: #10b981;
}

.info-value-danger {
    color: #ef4444;
}

/* 대기번호 강조 */
.standby-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border-radius: 8px;
    letter-spacing: -0.5px;
}

.standby-number-over {
    background: #9ca3af;
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.3);
}

/* 대기자 테이블 헤더 */
.th-standby-number_style {
    width: 80px;
}

/* 접수번호 링크 (대기자) */
.receipt-link {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.receipt-link:hover {
    color: #000;
    background: #f5f5f5;
}

/* 하단 버튼 영역 (대기자) */
.bottom-buttons {
    margin: 20px 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* BBS 버튼 스타일 - 심플 통일 */
.bbs_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    height: 42px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* 글쓰기 버튼 - 강조 컬러 유지 */
.bbs_btn-write {
    background: #667eea;
    color: white;
}

.bbs_btn-write:hover {
    background: #5568d3;
}

/* 나머지 버튼 - 회색 통일 */
.bbs_btn-admin {
    background: #6b7280;
    color: white;
}

.bbs_btn-admin:hover {
    background: #4b5563;
}

.bbs_btn-listadmin {
    background: #6b7280;
    color: white!important;
}

.bbs_btn-listadmin:hover {
    background: #4b5563;
}

.bbs_btn-setting {
    background: #6b7280;
    color: white;
}

.bbs_btn-setting:hover {
    background: #4b5563;
}

/* 반응형 */
@media (max-width: 1024px) {
    .standby-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .list-container {
        padding: 20px 15px;
    }
    
    .list-title {
        font-size: 22px;
    }
    
    .search-area {
        padding: 15px;
    }
    
    .top-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    /* 현황판 반응형 */
    .standby-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info-item {
        padding: 16px;
    }
    
    .info-value {
        font-size: 28px;
    }
    
    /* 탭 반응형 */
    .gender-tabs-round {
        width: 100%;
    }
    
    .tab-round-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .tab-label {
        font-size: 15px;
    }
    
    .tab-count {
        font-size: 11px;
        padding: 2px 8px;
        min-width: 40px;
    }
    
    /* 라벨 통계 박스 반응형 */
    .label-stats-box_style > div {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .label-stats-box_style > div > div:last-child {
        border-left: none !important;
        border-top: 2px solid #e0e0e0;
        padding-left: 0 !important;
        padding-top: 12px;
        width: 100%;
    }
}

/* 검색 폼 스타일 */
.search-form-container {
    margin: 30px 0;
    padding: 0;
}

.search-form-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    text-align: center;
}

.search-form-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 45px;
    margin-bottom: 15px;
}

.search-fields-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0; display: flex;  justify-content: center;  align-items: center;
}

.search-field-group {
display: flex;  justify-content: center;  align-items: center;
    gap: 8px;
    margin: 0;flex-direction: row;
}


/* 구분 -----------------------------------*/
/**** pc ****/
@media only all and (min-width:768px) {.search-field-label {
    font-size: 14px;
    font-weight: 600;
    color: #000; 
    white-space: nowrap;
}
}
/**** pc2 ****/
@media all and (max-width:1280px) and (min-width:768px) {
}
/**** 모바일 ****/
@media only all and (max-width:767px) {.search-field-label {
    font-size: 14px;
    font-weight: 600;
    color: #000; min-width: 50PX;
    white-space: nowrap;
}
}
/**** 모바일2 ****/
@media only all and (max-width:400px) {
}
/* 구분 //end -----------------------------------*/


.search-field-input {
    width: 150px;
    max-width: 150px;
    padding: 0px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
    box-sizing: border-box;
}

.search-field-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-field-input::placeholder {
    color: #95a5a6;
}

.search-info-box {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-left: 3px solid #3498db;
    border-radius: 4px;
    clear: both;
    width: 100%;
}

.search-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-info-list li {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.search-info-list li:last-child {
    margin-bottom: 0;
}

.search-info-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.th-edit {
    width: 90px;
    text-align: center;
}
.td-edit {
    text-align: center;
}
.list-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius:6px;
    background: #2563eb;
    color: #fff!important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.list-edit-btn:hover,
.list-edit-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.3);
    color: #fff;
}
.list-edit-btn .icon {
    font-size: 16px;
    line-height: 1;  color: #fff
}
.list-edit-btn .icon i {
    font-size: 16px;color: #fff
}
.edit-placeholder {
    color: #a0aec0;
    font-size: 12px;
}
.list-notice_style {
    margin-top: 18px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
}

.label-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.label-badge.label-empty {
    background: #e5e7eb;
    color: #6b7280;
}

/* 공지 라벨 행 배경색 */
tr.notice-row {
    background-color: #f5f5f5 !important;
}
tr.notice-row:hover {
    background-color: #ebebeb !important;
}
tr.notice-row td {
    font-weight: 500;
}

.search-form-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.search-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-btn-submit {
    background: #27ae60;
    color: white;
}

.search-btn-submit:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.search-btn-reset {
    background: #ecf0f1;
    color: #555;
}

.search-btn-reset:hover {
    background: #d5d8dc;
}

@media (max-width: 768px) {
    .search-fields-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-field-group {
        width: 100%;
    }
    
    .search-field-input {
        width: 100%;
        max-width: 100%;
    }
    
    .search-field-label {
        font-size: 13px;
    }
    
    .search-form-box {
        padding: 20px 15px;
    }
    
    .search-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .search-fields-wrapper {
        gap: 12px;
    }
    
    .search-field-input {
        width: 140px;
        max-width: 140px;
    }
}



/* 날짜 입력 */
.bbs_form-input-date { width: 100%; height: var(--from-h)!important;  line-height: var(--from-h)!important; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--form-font-radius); font-size: var(--form-font-size); cursor: pointer; transition: all 0.3s; background-color: #FFF}
.bbs_form-input-date:hover {     border:1px solid var(--primary); !important; }
.bbs_form-input-date:focus { outline: none;border-color: var(--primary)!important; box-shadow: 0 0 0 3px var(--primary-op10); }


.bbs_form-input { width: 100%; height: var(--form-h-size); padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--form-font-radius); font-size: var(--form-font-size); transition: all 0.3s; }
.bbs_form-input:hover {     border:1px solid var(--primary); !important; }
.bbs_form-input:focus { outline: none; border-color: var(--primary)!important; box-shadow: 0 0 0 3px var(--primary-op10); }



input[type=text].bbs_form-input-date, input[type=password].bbs_form-input-date, input[type=email].bbs_form-input-date , input[type=number].bbs_form-input-date {
width: 100%; height: var(--from-h)!important;  line-height:var(--from-h)!important; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--form-font-radius); font-size: var(--form-font-size); cursor: pointer; transition: all 0.3s; background-color: #FFF
}

input[type=text]:focus {
   outline: none;border-color: var(--primary)!important; box-shadow: 0 0 0 3px var(--primary-op10); 
}

input[type=password].bbs_form-input-date:focus {
    -webkit-box-shadow:0 0 0px;
    -moz-box-shadow:0 0 0px;
    box-shadow:0 0 0px;
    border:0px solid var(--primary) !important;
}



input[type="date"].bbs_form-input-date {
width: 100%; height: var(--from-h)!important;  line-height: var(--from-h)!important; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--form-font-radius); font-size: var(--form-font-size); cursor: pointer; transition: all 0.3s; background-color: #FFF
}

input[type="date"].bbs_form-input-date:focus {
    -webkit-box-shadow:0 0 0px;
    -moz-box-shadow:0 0 0px;
    box-shadow:0 0 0px;
    border:0px solid var(--primary) !important;
}



/* 라운드 아웃라인 스타일 탭 (관리자 페이지용) */
.gender-tabs-round-admin {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
    border-left: 2px solid #e8e8e8;
    padding-left: 24px;
}

.tab-round-btn-admin {
    padding: 12px 28px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.tab-round-btn-admin:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.tab-round-btn-admin.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tab-label-admin {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.tab-count-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    min-width: 45px;
}

.tab-round-btn-admin.active .tab-count-admin {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.tab-round-btn-admin:hover:not(.active) .tab-count-admin {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

/* 반응형 */
@media (max-width: 768px) {
    .gender-tabs-round-admin {
        width: 100%;
        border-left: none;
        border-top: 2px solid #e8e8e8;
        padding-left: 0;
        padding-top: 12px;
    }
    
    .tab-round-btn-admin {
        flex: 1;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .tab-label-admin {
        font-size: 15px;
    }
    
    .tab-count-admin {
        font-size: 11px;
        padding: 2px 8px;
        min-width: 40px;
    }
}



.hytotal-gallery-detail-btn{position: absolute; top: 0xp;  right: 0px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #3b82f6; color: #fff!important; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.2s; white-space: nowrap;}

/* ========================================
   모바일 리스트 반응형 스타일
   ======================================== */

/* 공통 - 스크롤 내부 래퍼 */
.list-table-scroll-inner {
    width: 100%;
}

/* 모바일 스크롤 버튼 (기본 숨김) */
.mobile-scroll-btn {
    display: none;
}

/* 모바일 카드 리스트 (기본 숨김) */
.mobile-card-list {
    display: none;
}

/* ========================================
   모바일 (768px 이하) - 가로 스크롤 모드
   ======================================== */
@media (max-width: 768px) {
    /* 가로 스크롤 모드 */
    .list-table-wrapper.mobile-style-scroll {
        position: relative;
        padding: 0;
        overflow: visible;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .list-table-wrapper.mobile-style-scroll .list-table-scroll-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 #f1f1f1;
        width: 100%;
    }

    .list-table-wrapper.mobile-style-scroll .list-table-scroll-inner::-webkit-scrollbar {
        height: 6px;
    }

    .list-table-wrapper.mobile-style-scroll .list-table-scroll-inner::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .list-table-wrapper.mobile-style-scroll .list-table-scroll-inner::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }

    .list-table-wrapper.mobile-style-scroll .list-table {
        min-width: var(--mobile-table-width, 150%);
        width: var(--mobile-table-width, 150%);
    }

    .list-table-wrapper.mobile-style-scroll .mobile-scroll-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        border-radius: 4px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: background 0.2s, opacity 0.2s;
        opacity: 0.8;
    }

    .list-table-wrapper.mobile-style-scroll .mobile-scroll-btn:hover {
        background: rgba(0, 0, 0, 0.8);
        opacity: 1;
    }

    .list-table-wrapper.mobile-style-scroll .mobile-scroll-btn-left {
        left: 8px;
    }

    .list-table-wrapper.mobile-style-scroll .mobile-scroll-btn-right {
        right: 8px;
    }

    /* 카드 모드 */
    .list-table-wrapper.mobile-style-card {
        padding: 0;
    }

    .list-table-wrapper.mobile-style-card .list-table-scroll-inner {
        display: none;
    }

    .list-table-wrapper.mobile-style-card .mobile-card-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-card-item {
        background: #fff;
        border: none;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
        padding: 14px 16px;
        transition: all 0.2s ease;
    }

    .mobile-card-item:last-child {
        border-bottom: none;
    }

    .mobile-card-item.list-row-clickable {
        cursor: pointer;
    }

    .mobile-card-item.list-row-clickable:hover,
    .mobile-card-item.list-row-clickable:active {
        background: #f8fafc;
    }

    .mobile-card-item.notice-row {
        background: #fffbeb;
    }

    .mobile-card-line1 {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 8px;
        font-size: 13px;
        color: #6b7280;
    }

    .mobile-card-line1 .card-number {
        color: #9ca3af;
        font-weight: 500;
    }

    .mobile-card-line1 .card-receipt {
        color: #3b82f6;
        font-weight: 500;
    }

    .mobile-card-line1 .card-date {
        color: #6b7280;
    }

    .mobile-card-line1 .card-name {
        color: #374151;
    }

    .mobile-card-line1 .label-badge {
        font-size: 11px;
        padding: 2px 8px;
        border-radius: 4px;
        color: #fff;
        white-space: nowrap;
    }

    .mobile-card-line2 {
        font-size: 15px;
        font-weight: 500;
        color: #1f2937;
        line-height: 1.4;
    }

    .mobile-card-line2 .card-subject {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-card-empty {
        text-align: center;
        padding: 50px 20px;
        color: #9ca3af;
    }

    .mobile-card-empty i {
        font-size: 48px;
        display: block;
        margin-bottom: 12px;
    }

    .mobile-card-empty p {
        font-size: 14px;
        margin: 0;
    }
}

/* ========================================
   더 작은 모바일 (480px 이하)
   ======================================== */
@media (max-width: 480px) {
    .list-table-wrapper.mobile-style-scroll {
        padding: 0 28px;
    }

    .list-table-wrapper.mobile-style-scroll .mobile-scroll-btn {
        width: 24px;
        height: 40px;
        font-size: 12px;
    }

    .mobile-card-item {
        padding: 12px 14px;
    }

    .mobile-card-line1 {
        font-size: 12px;
        gap: 8px;
    }

    .mobile-card-line2 {
        font-size: 14px;
    }
}

/* ========================================
   교육모집형/교육모집형2 갤러리 스타일
   ======================================== */

/* 교육 리스트 컨테이너 */
.edu-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 교육 리스트 헤더 */
.edu-list-header {
    margin-bottom: 30px;
}

.edu-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.edu-result-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: #374151;
}

.edu-result-info strong {
    color: #1f2937;
    font-weight: 600;
}

.edu-check-all {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.edu-check-all input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 슬림형 검색 */
.edu-slim-search {
    flex-shrink: 0;
}

/* 빈 메시지 */
.edu-empty-message {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}

.edu-empty-message i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.edu-empty-message p {
    font-size: 16px;
    margin: 0;
}

/* 갤러리 그리드 */
.edu-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 교육 카드 */
.edu-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.edu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.edu-card-closed {
    opacity: 0.7;
}

.edu-card-closed:hover {
    opacity: 0.85;
}

/* 관리자 체크박스 */
.edu-card-checkbox {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.edu-card-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: #fff;
    border-radius: 4px;
}

.edu-card-checkbox label {
    display: none;
}

/* 썸네일 */
.edu-card-thumb {
    display: block;
    position: relative;
    padding-top: 56.25%; /* 16:9 비율 */
    overflow: hidden;
    background: #f3f4f6;
}

.edu-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.edu-card:hover .edu-card-thumb img {
    transform: scale(1.05);
}

/* 상태 배지 */
.edu-status-badge {
    display: inline-block;
    width: auto;
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* 카드 본문 */
.edu-card-body {
    padding: 20px;
    flex: 1;
}

.edu-card-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 12px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.edu-card-title:hover {
    color: #3b82f6;
}

/* 카드 필드 */
.edu-card-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edu-card-field {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
}

.edu-field-label {
    color: #6b7280;
    white-space: nowrap;
    min-width: 70px;
}

.edu-field-label::after {
    content: ':';
}

.edu-field-value {
    color: #374151;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 카드 푸터 */
.edu-card-footer {
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.edu-btn-group-footer {
    display: flex;
    gap: 10px;
}

.edu-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.edu-apply-btn i {
    font-size: 16px;
}

.edu-apply-btn-primary {
    background: #3b82f6;
    color: #fff;
}

.edu-apply-btn-primary:hover {
    background: #2563eb;
}

.edu-apply-btn-secondary {
    background: #10b981;
    color: #fff;
}

.edu-apply-btn-secondary:hover {
    background: #059669;
}

.edu-apply-btn-closed {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: default;
    width: 100%;
}

/* 페이징 */
.edu-paging-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.edu-paging {
    display: flex;
    align-items: center;
    gap: 4px;
}

.edu-pg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.edu-pg-link:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.edu-pg-current {
    background: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
    font-weight: 600;
}

/* 반응형: 태블릿 */
@media (max-width: 1024px) {
    .edu-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 반응형: 모바일 */
@media (max-width: 768px) {
    .edu-list-container {
        padding: 15px;
    }

    .edu-header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .edu-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .edu-card-body {
        padding: 16px;
    }

    .edu-card-title {
        font-size: 16px;
    }

    .edu-card-footer {
        padding: 14px 16px;
    }

    .edu-btn-group-footer {
        flex-direction: column;
    }

    .edu-apply-btn {
        padding: 12px 16px;
    }

    .edu-pg-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
}