* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background: hsl(220, 20%, 98%);
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== 로그인 화면 ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Modal form adjustments */
.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition-props, all 0.2s);
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
}

/* ===== Admin 대시보드 ===== */
.admin-container {
    min-height: 100vh;
    background: hsl(220, 20%, 98%);
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 40px;
}

.header-nav-link {
    text-decoration: none;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}

.header-nav-link:hover {
    color: #111827;
}

.admin-header h1 {
    font-size: 1.75rem;
    color: #1f2937;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.btn-logout {
    padding: 0.75rem 1.5rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* ===== 메인 컨텐츠 ===== */
.admin-main {
    padding: 2rem;
}

.admin-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== 통계 카드 ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed 4 columns to prevent "구분탭" shifts */
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content {
    flex: 1;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

/* ===== 필터 ===== */
.filter-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    /* Balance remaining space uniformly between elements */
    align-items: flex-end;
    flex-wrap: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.filter-group.filter-group-search {
    width: 300px;
    /* Reduced further for optimal balance and to prevent overlap */
}

.search-input {
    width: 100%;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    height: 38px;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-select {
    min-width: 120px;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: white;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-input {
    width: 140px;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: white;
    cursor: pointer;
    height: 38px;
    /* Explicit height to override intrinsic browser differences */
}

.date-input:focus {
    outline: none;
    border-color: #667eea;
}

.date-separator {
    color: #6b7280;
    font-weight: 500;
}

.btn-reset {
    padding: 0.5rem 1rem;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8125rem;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-reset:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-refresh:hover {
    background: #5568d3;
}

.btn-reset {
    padding: 0.75rem 1.75rem;
    background: #f9fafb;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-reset:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

/* ===== 선택 작업 버튼 영역 ===== */
.selected-actions {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    /* Removed animation to prevent "덜컥거림" */
}

.selected-actions.hidden {
    display: none;
}

.selected-count {
    font-weight: 700;
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.selected-actions .filter-select {
    min-width: 180px;
}

.btn-delete-multiple {
    margin-left: auto;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-delete-multiple:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== 테이블 ===== */
.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

/* Standard header styles */
.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th {
    background: transparent !important;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: white !important;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Headers for submission date through budget columns - restored original size */
.data-table th:nth-child(n+2):nth-child(-n+9) {
    font-size: 0.875rem !important;
}

/* Rounded corners for the unified header bar */
.data-table thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.data-table thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Hover effect: Only increase transparency (white overlay) on the hovered cell */
.data-table th:hover,
.data-table th.sort-asc,
.data-table th.sort-desc {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    cursor: pointer;
}

.sort-icon {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0.2s;
}

.data-table th:hover .sort-icon {
    color: white !important;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

/* Key information in dark gray and restored original size as requested */
.data-table td:nth-child(2),
/* 제출일 */
.data-table td:nth-child(3),
/* 지역 */
.data-table td:nth-child(4),
/* 진료과목 */
.data-table td:nth-child(6),
/* 담당자명 */
.data-table td:nth-child(7),
/* 연락처 */
.data-table td:nth-child(8),
/* 상담방식 */
.data-table td:nth-child(9)

/* 예산 */
    {
    color: #404040;
    font-size: 0.875rem !important;
}

/* Hospital Name in specific dark black - increased font size (+0.25pt) */
.data-table td:nth-child(5) {
    color: #0D0D0D !important;
    font-weight: 700;
    font-size: 0.890625rem !important;
}

.status-select {
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.status-상담대기 {
    background-color: white !important;
    color: #ef4444 !important;
    border: 1px solid #ef4444 !important;
    /* Matches screenshot red border */
}

.status-상담완료 {
    background-color: white !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

.status-계약완료 {
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #2563eb !important;
    /* Matches screenshot blue border */
}

/* Center Detailed Content (상세 내용) column */
.data-table th:nth-child(11),
.data-table td:nth-child(11) {
    text-align: center;
    width: 100px;
}


.btn-view {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #4b5563;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* ===== 모달 ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal:not(.hidden) {
    display: flex;
}

.modal.hidden {
    display: none;
}

.modal-content {
    /* Scroll fix: Flex container with hidden overflow */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    /* Removing padding from wrapper */

    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 95%;
    max-height: 95vh;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 50%;
    z-index: 10;
}

.close-modal:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2rem 0;
    /* Restore margin-bottom check */
    padding: 1.5rem 2rem 0 2rem;
    /* Add padding to compensate for container padding removal */
    border-bottom: none;
    /* Remove the border I added */
    flex-shrink: 0;
}

.detail-section {
    margin-bottom: 0.75rem;
    /* Reduced margin */
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Vertical border logic instead */
}

.detail-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
    /* Reduced padding */
    border-bottom: 1px solid #f1f5f9;
}

.detail-row.full-width {
    grid-column: span 2;
}

.detail-label {
    display: inline-flex;
    align-items: center;
    background: #eef2ff;
    color: #6366f1 !important;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
}

/* Specific Label Override if still needed, but theme is unified now */
.label-hospital,
.label-date,
.label-region,
.label-contact,
.label-service {
    background: #f8fafc !important;
    color: #475569 !important;
    border-left: 4px solid #6366f1 !important;
    border-radius: 6px !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.modal-content .save-btn {
    background: #6366f1;
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-content .save-btn:hover {
    background: #4f46e5;
}

.section-title {
    font-size: 1.05rem;
    /* Slightly smaller for compact feel */
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: #667eea;
    border-radius: 2px;
}

.detail-notes {
    width: 100%;
    height: auto;
    /* Auto height for modal-level scrolling */
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    resize: none;
    /* Disable manual resize to avoid layout breakage */
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-y: hidden;
    /* Hide internal scrollbar */
}

.detail-notes:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.detail-label {
    width: 120px;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: #9ca3af;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 유틸리티 클래스 */
.hidden {
    display: none !important;
}

/* 텍스트 색상 유틸리티 */
.text-red {
    color: #ef4444;
}

/* 대시보드 카드 클릭 가능한 스타일 */
.stat-card.clickable-card {
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    /* 호버 시 보더가 생겨도 레이아웃 밀리지 않도록 미리 공간 확보 */
}

.stat-card.clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #e5e7eb;
}

/* 대시보드 활성 상태 (보라색 그라데이션) */
.stat-card.active {
    border-color: transparent !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* active 상태일 때 아이콘/글자색 강조 */
.stat-card.active .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.stat-card.active .stat-value {
    color: white;
}

.stat-card.active .stat-value.text-red {
    color: #fca5a5;
    /* 연한 빨강으로 변경하여 가독성 확보 */
}

/* Fix active hover state */
/* Fix active hover state */
.stat-card.clickable-card.active:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-color: transparent !important;
}

/* Header Hover & Sort Active styles consolidated above */


/* Modal UI Hardening */
/* UI Hardening with specific selectors instead of generic ones */
/* Capture Style Remapping - Optimized for Compactness */
.modal-content .detail-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 0.25rem !important;
    /* Reduced margin */
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 0.4rem !important;
    /* Reduced padding */
    padding-right: 1rem !important;
}

.modal-content .detail-row.full-width {
    flex-direction: column !important;
    border-bottom: 1px solid #f1f5f9 !important;
    /* Keep border for consistency */
}

.modal-content .detail-label {
    display: inline-flex !important;
    background: #eef2ff !important;
    color: #6366f1 !important;
    padding: 2px 8px !important;
    /* Reduced padding */
    border-radius: 4px !important;
    font-size: 0.7rem !important;
    /* Slightly smaller font */
    font-weight: 700 !important;
    width: auto !important;
    min-width: 0 !important;
    margin-bottom: 0.25rem !important;
    border: none !important;
}

.btn-indigo-save {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
    color: white !important;
    padding: 0.75rem 2.8rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 1rem !important;
}

.btn-indigo-save:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
    filter: brightness(1.1);
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(30, 41, 59, 0.9);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.modal-content .detail-row span:not(.detail-label) {
    font-size: 0.95rem !important;
    /* Slightly smaller to fit */
    font-weight: 400 !important;
    /* Default to normal */
    color: #1e293b !important;
    padding-left: 2px !important;
}

/* Explicitly bold Hospital and Status only */
.modal-content .detail-row.bold-value span:not(.detail-label) {
    font-weight: 700 !important;
}

.link-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.link-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}

.link-display {
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.25rem;
}

.btn-link-visit {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link-visit:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.detail-message {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    width: 100%;
    min-height: 0 !important;
    /* Allow it to be compact */
    display: block !important;
    color: #1e293b !important;
    font-weight: 400 !important;
    line-height: 1.5;
}

/* 추가 스타일이 필요할 경우 여기에 작성하세요 */
#detailContent {
    padding: 0 2rem 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;

    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

#detailContent::-webkit-scrollbar {
    width: 6px;
}

#detailContent::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 5px;
    margin-bottom: 5px;
}

#detailContent::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 10px;
}

#detailContent::-webkit-scrollbar-thumb:hover {
    background-color: #9ca3af;
}


/* ========================================
/* ========================================
   Font Size Adjustments (User Request)
   ======================================== */
.filter-label {
    font-size: 0.8125rem !important;
    /* Adjusted: +1pt from previous reduction */
}

.search-input,
.filter-select,
.date-input,
.btn-reset {
    font-size: 0.8125rem !important;
    /* Adjusted: +1pt from previous reduction */
}

.data-table td {
    font-size: 0.85rem !important;
    /* Adjusted: +1pt from previous reduction */
}

/* ========================================
   Reset Button Styling (User Request)
   ======================================== */
.btn-reset {
    background-color: #f8fafc !important;
    /* Slate-50 */
    color: #475569 !important;
    /* Slate-600 */
    border: 1px solid #cbd5e1 !important;
    /* Slate-300 */
    border-radius: 8px !important;
    /* Rounded corners */
    height: 38px !important;
    padding: 0 1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-reset:hover {
    background-color: #f1f5f9 !important;
    /* Slate-100 */
    color: #334155 !important;
    /* Slate-700 */
    border-color: #94a3b8 !important;
    /* Slate-400 */
}