/* ==========================================================================
   성민종합사회복지관 경로식당 출석 및 안부확인 관리시스템 - CSS 디자인 시스템
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-color: #0f766e;       /* Deep Teal */
    --primary-light: #14b8a6;      /* Teal Accent */
    --primary-hover: #0d9488;
    --primary-bg: #f0fdfa;         /* Very Light Teal */
    
    --secondary-color: #312e81;     /* Navy/Indigo */
    --secondary-light: #4f46e5;    /* Indigo Accent */
    
    --success-color: #10b981;      /* Emerald Green */
    --success-bg: #ecfdf5;
    --warning-color: #f59e0b;      /* Amber Yellow */
    --warning-bg: #fffbeb;
    --danger-color: #ef4444;       /* Rose Red */
    --danger-bg: #fef2f2;
    --info-color: #3b82f6;         /* Blue */
    --info-bg: #eff6ff;
    --unmarked-color: #6b7280;     /* Muted Grey */
    --unmarked-bg: #f3f4f6;

    /* Neutrals */
    --bg-main: #f8fafc;            /* Slate 50 */
    --bg-card: #ffffff;
    --border-color: #e2e8f0;       /* Slate 200 */
    --border-light: #f1f5f9;       /* Slate 100 */
    --text-main: #1e293b;          /* Slate 800 */
    --text-muted: #64748b;         /* Slate 500 */
    --text-white: #ffffff;

    /* Typo & Sizing */
    --font-base: 'Noto Sans KR', sans-serif;
    --font-eng: 'Outfit', sans-serif;
    --sidebar-width: 260px;
    --header-height: 70px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 118, 110, 0.05), 0 4px 6px -2px rgba(15, 118, 110, 0.02);
    --shadow-indigo: 0 10px 15px -3px rgba(49, 46, 129, 0.07);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Layout Hierarchy */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--secondary-color);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    flex-shrink: 0;
    z-index: 100;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    margin-bottom: 32px;
}

.sidebar-logo i {
    font-size: 28px;
    color: var(--primary-light);
}

.sidebar-logo .title-wrap {
    display: flex;
    flex-direction: column;
}

.sidebar-logo h1 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.sidebar-logo span {
    font-size: 10px;
    color: #a5b4fc;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.menu-item button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: #c7d2fe;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}

.menu-item button i {
    font-size: 18px;
    transition: var(--transition);
}

.menu-item button:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
}

.menu-item button:hover i {
    transform: translateX(2px);
}

.menu-item.active button {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Month Selector in Sidebar */
.month-selector-widget {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.month-selector-widget label {
    font-size: 11px;
    color: #a5b4fc;
    font-weight: 500;
}

.month-select-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
}

.month-select-wrap select {
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    width: 100%;
}

.month-select-wrap select option {
    background: var(--secondary-color);
    color: white;
}

/* Main Content Area */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Top Header */
.top-header {
    height: var(--header-height);
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}

.header-title-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.header-title-section p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.date-today-badge {
    background-color: var(--primary-bg);
    color: var(--primary-color);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-caseworker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.header-caseworker i {
    color: var(--text-muted);
}

/* Content Pane Container */
.content-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Style Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* Metric Cards */
.metric-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-eng);
    color: var(--text-main);
}

.metric-value span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.metric-card.primary .metric-icon { background-color: var(--primary-bg); color: var(--primary-color); }
.metric-card.success .metric-icon { background-color: var(--success-bg); color: var(--success-color); }
.metric-card.warning .metric-icon { background-color: var(--warning-bg); color: var(--warning-color); }
.metric-card.danger .metric-icon { background-color: var(--danger-bg); color: var(--danger-color); }

/* Dashboard Lower Grid */
.dashboard-row-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.dashboard-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header h3 i {
    color: var(--primary-color);
}

/* Dashboard List Widget */
.widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 300px;
    padding-right: 4px;
}

.widget-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: var(--radius-md);
    background-color: var(--border-light);
    border: 1px solid var(--border-color);
}

.widget-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-user-name {
    font-weight: 600;
    font-size: 14px;
}

.widget-user-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.widget-badge {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.widget-badge.step-1 { background-color: #fee2e2; color: #ef4444; }
.widget-badge.step-2 { background-color: #ffedd5; color: #ea580c; }
.widget-badge.step-3 { background-color: #fef9c3; color: #ca8a04; }
.widget-badge.step-4 { background-color: #d1fae5; color: #059669; }

/* Filter Container & Controls */
.toolbar {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.toolbar-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-control {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #0d9488;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--border-light);
    border-color: #cbd5e1;
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--text-white);
}

.btn-danger:hover {
    background-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-icon-only {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Daily Attendance Board */
.daily-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.attendance-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.attendance-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.card-senior-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-senior-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-senior-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.card-senior-gender-age {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    background-color: var(--border-light);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.card-senior-phone {
    font-size: 12px;
    color: var(--text-muted);
}

.card-senior-status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}
.card-senior-status-badge.이용중 { background-color: var(--success-bg); color: var(--success-color); }
.card-senior-status-badge.일시중지 { background-color: var(--warning-bg); color: var(--warning-color); }
.card-senior-status-badge.종결 { background-color: var(--danger-bg); color: var(--danger-color); }

.attendance-trigger-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border: 2px solid transparent;
}

.attendance-trigger-btn.unmarked {
    background-color: var(--unmarked-bg);
    color: var(--unmarked-color);
}
.attendance-trigger-btn.unmarked:hover {
    background-color: #e5e7eb;
}

.attendance-trigger-btn.present {
    background-color: var(--success-bg);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.2);
}

.attendance-trigger-btn.absent {
    background-color: var(--danger-bg);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.2);
}

.attendance-absence-summary {
    font-size: 11px;
    color: var(--danger-color);
    background-color: var(--danger-bg);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    margin-top: -8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.attendance-absence-summary button {
    font-size: 10px;
    text-decoration: underline;
    font-weight: 600;
}

/* Monthly Roster Grid Table */
.grid-table-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: auto;
    max-height: calc(100vh - 280px);
    position: relative;
}

.grid-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.grid-table th, .grid-table td {
    border: 1px solid var(--border-color);
    padding: 8px;
    text-align: center;
}

/* Sticky first columns (User Info) */
.grid-table th.sticky-col, .grid-table td.sticky-col {
    position: sticky;
    left: 0;
    background-color: var(--bg-card);
    z-index: 10;
    border-right: 2px solid var(--border-color);
    width: 90px;
    font-weight: 700;
}

.grid-table th.sticky-col-2, .grid-table td.sticky-col-2 {
    position: sticky;
    left: 90px;
    background-color: var(--bg-card);
    z-index: 10;
    border-right: 2px solid var(--border-color);
    width: 70px;
}

.grid-table th {
    background-color: var(--border-light);
    color: var(--text-main);
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 20;
    height: 48px;
}

.grid-table th.sticky-col, .grid-table th.sticky-col-2 {
    z-index: 30; /* overlay cell headers */
}

/* Cells representing calendar days */
.grid-table td.day-cell {
    width: 38px;
    height: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.grid-table td.day-cell:hover {
    background-color: var(--primary-bg);
}

/* Weekend Column Coloration */
.grid-table th.weekend-sat, .grid-table td.weekend-sat {
    background-color: #eff6ff; /* light blue */
}
.grid-table th.weekend-sun, .grid-table td.weekend-sun {
    background-color: #fff5f5; /* light red */
}

/* Cell Status Symbols */
.status-symbol {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.status-symbol.present {
    background-color: var(--success-bg);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-symbol.present::before {
    content: "O";
}

.status-symbol.absent {
    background-color: var(--danger-bg);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 10px;
}

.status-symbol.unmarked {
    color: #cbd5e1;
}
.status-symbol.unmarked::before {
    content: "-";
}

/* Standard Table Design (Caseworker Lists, Registers, Users) */
.list-table-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.list-table th, .list-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.list-table th {
    background-color: var(--border-light);
    color: var(--text-main);
    font-weight: 700;
}

.list-table tr:last-child td {
    border-bottom: none;
}

.list-table tr:hover td {
    background-color: #fafaf9;
}

/* Safety Check Actions and Progress Timeline */
.safety-timeline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-muted);
    gap: 4px;
}

.timeline-step.active {
    background-color: var(--primary-bg);
    color: var(--primary-color);
    border-color: var(--primary-light);
}

.timeline-step.completed {
    background-color: var(--success-bg);
    color: var(--success-color);
    border-color: var(--success-color);
}

.timeline-arrow {
    color: #94a3b8;
    font-size: 10px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 520px;
    transform: translateY(16px);
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--border-light);
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
}

.modal-close-btn {
    font-size: 18px;
    color: var(--text-muted);
}

.modal-close-btn:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background-color: var(--border-light);
}

/* Forms in Modals */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group label span.required {
    color: var(--danger-color);
    margin-left: 2px;
}

/* Radio Group (for Gender, etc) */
.radio-group {
    display: flex;
    gap: 12px;
}

.radio-btn {
    flex-grow: 1;
}

.radio-btn input {
    display: none;
}

.radio-btn label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--bg-card);
    transition: var(--transition);
}

.radio-btn input:checked + label {
    border-color: var(--primary-color);
    background-color: var(--primary-bg);
    color: var(--primary-color);
}

/* Print Layout Optimization */
@media print {
    body {
        background-color: #ffffff;
        color: #000000;
        font-size: 12px;
    }

    .sidebar, .top-header, .toolbar, .no-print, button, .modal-overlay {
        display: none !important;
    }

    .app-container {
        height: auto;
        overflow: visible;
    }

    .main-wrapper {
        height: auto;
        overflow: visible;
    }

    .content-body {
        padding: 0;
        overflow: visible;
    }

    .tab-pane {
        display: block !important;
        page-break-after: always;
    }
    
    /* Only show the print active tab */
    .tab-pane:not(.active) {
        display: none !important;
    }

    .grid-table-container {
        overflow: visible !important;
        max-height: none !important;
        border: none !important;
    }

    .grid-table {
        table-layout: auto !important;
        width: 100% !important;
        border: 1px solid #000000 !important;
    }

    .grid-table th, .grid-table td {
        border: 1px solid #000000 !important;
        color: #000000 !important;
        background: transparent !important;
        padding: 4px !important;
    }

    .grid-table th.sticky-col, .grid-table td.sticky-col,
    .grid-table th.sticky-col-2, .grid-table td.sticky-col-2 {
        position: static !important;
        border-right: 1px solid #000000 !important;
    }

    /* Print header title */
    .print-only-header {
        display: block !important;
        text-align: center;
        margin-bottom: 20px;
    }

    .print-only-header h1 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 6px;
    }
    
    .print-only-header p {
        font-size: 14px;
    }
}

.print-only-header {
    display: none;
}
