:root {
    --primary: #e31e25;
    --primary-hover: #b91c23;
    --secondary: #9c9e9d;
    --bg-light: #f3f4f6;
    --sidebar-bg: #ffffff;
    /* Light Mode */
    --sidebar-text: #334155;
    /* Dark Text */
    --text-dark: #333333;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Evaluation Forms Standard Container */
.evaluation-container {
    max-width: 900px;
    margin: 0 auto 50px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    height: 100vh;
    height: 100dvh;
    /* Better mobile support */
    display: flex;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    border-bottom: 1px solid #e2e8f0;
    /* Lighter border */
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-links {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
    gap: 0.75rem;
}

.nav-item:hover,
.nav-item.active {
    background-color: #f1f5f9;
    /* Light Grey Hover */
    color: var(--primary);
    /* Red Text on Hover */
    font-weight: 500;
}

.nav-group {
    display: flex;
    flex-direction: column;
}

.nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-group-header:hover {
    background-color: #f1f5f9;
}

.nav-group-content {
    background-color: #f8fafc;
    /* Very light gray for submenu */
    display: none;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.nav-group-content.open {
    display: block;
}

.submenu-item {
    padding: 0.6rem 1.5rem 0.6rem 3.5rem;
    display: block;
    color: #64748b;
    /* Slate 500 */
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.submenu-item:hover,
.submenu-item.active {
    color: var(--primary);
    background-color: #f1f5f9;
    font-weight: 500;
}

.chevron {
    transition: transform 0.3s;
}

.chevron.rotate,
.toggle-icon.rotate {
    transform: rotate(180deg);
}

.user-profile {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-bar {
    background-color: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
}

/* Components */
.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(227, 30, 37, 0.2);
}

.btn-danger {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    /* overflow: hidden; Removed to allow dropdowns */
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--text-light);
}

.data-table tr:hover {
    background-color: #f8fafc;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #9c9e9d;
    /* Grey border for all inputs */
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #e31e25;
    box-shadow: 0 0 0 3px rgba(227, 30, 37, 0.1);
    outline: none;
}

/* Custom Select Styling */
select.input-control,
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    /* Use a slightly darker chevron for better contrast */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

select.input-control:hover,
.form-group select:hover {
    border-color: #94a3b8;
}

select.input-control:focus,
.form-group select:focus {
    border-color: #3b82f6;
    /* Blue 500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

select.input-control option,
.form-group select option {
    color: #1e293b;
    padding: 0.5rem;
    background-color: #fff;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.8rem;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    /* For absolute positioning of close button */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.close-modal,
.close-modal-user {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal-user:hover {
    color: var(--primary);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-bar {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 100%;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.clear-search {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    /* Explicit dark gray */
    padding: 0.25rem;
    z-index: 10;
}

.empty-state {
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

/* --- Modern Login Styles (Dark Tech Theme) --- */

.login-container {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f4f6;
    /* Light gray background matches app body */
    background-image:
        radial-gradient(at 0% 0%, rgba(227, 30, 37, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(30, 41, 59, 0.05) 0, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Red Accent strip or shape */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #e31e25 0%, #b91c23 100%);
    z-index: 20;
}


.login-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 10;
    border: 1px solid #e5e7eb;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.login-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.login-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f8fafc;
    /* Slate 50 */
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.login-subtitle {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.875rem;
}

.login-input-group {
    margin-bottom: 1.5rem;
}

.login-input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    /* Slate 600 */
    margin-bottom: 0.5rem;
}

.login-input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s;
}

.login-input-group input:focus {
    outline: none;
    border-color: #e31e25;
    /* Brand Red */
    box-shadow: 0 0 0 3px rgba(227, 30, 37, 0.1);
}

.login-input-group input::placeholder {
    color: #94a3b8;
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    background: #e31e25;
    /* Brand Red */
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}

.login-btn:hover {
    background: #b91c23;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(227, 30, 37, 0.3);
}

/* --- Form Sections Styling --- */

.form-section-divider {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.form-section-title {
    color: #1e293b;
    /* Slate 800 */
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.2rem;
    background-color: var(--primary);
    border-radius: 2px;
}

.parent-container {
    background-color: #f8fafc;
    /* Slate 50 */
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.parent-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #334155;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 0.5rem;
}

.address-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}


/* Global Card Accents */
.card {
    border-top: 4px solid var(--primary);
    /* Apply red accent to all cards */
}

/* Nav Item Active Color - Red Text/Icon, Light Bg */
.nav-item:hover,
.nav-item.active {
    background-color: #fee2e2;
    /* Very Light Red Bg */
    color: var(--primary);
}

/* --- Student Entry Styling (Multi-Student) --- */
.student-entry {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    /* For positioning remove button if needed */
}

.student-entry:not(:first-child) {
    border-top: 4px solid var(--secondary);
    /* Visual cue for subsequent entries */
}


/* --- Action Dropdown Menu --- */
.action-menu-container {
    position: relative;
    display: inline-block;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-light);
    border-radius: 4px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background-color: #e2e8f0;
    color: var(--text-dark);
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    min-width: 120px;
    overflow: hidden;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: background-color 0.1s;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
}

.dropdown-item.delete {
    color: #ef4444;
}

.dropdown-item.delete:hover {
    background-color: #fef2f2;
}

/* Modern Action Select Style */
.action-select-student {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #3b82f6;
    /* Blue 500 */
    color: white;
    border: none;
    padding: 0.4rem 2rem 0.4rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    min-width: 140px;
}

.action-select-student:hover {
    background-color: #2563eb;
    /* Blue 600 */
}

.action-select-student:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.action-select-student option {
    background-color: white;
    color: #334155;
    padding: 0.5rem;
}

/* --- Full Screen Mode (Sidebar Hidden) --- */
body.sidebar-hidden .sidebar {
    display: none;
}

body.sidebar-hidden .main-content {
    width: 100%;
}





/* Full height/width for inquiries list layout */
#inquiries-list-section {
    display: flex;
    flex-direction: column;
    /* height: 100%;  Removed to allow page scroll */
}

#inquiries-container {
    flex: 1;
    /* overflow-y: auto; Removed to allow page scroll */
}

#inquiries-list-section .data-table {
    min-width: 100%;
}


#inquiries-container {
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 1.5rem 3rem !important;
    /* Add internal padding back + extra for look */
    width: calc(100% + 4rem);
    /* Counteract the 2rem padding on both sides */
}

/* --- Medical Section Custom Styling --- */
#medical-data-section #medical-section-title {
    color: #2563eb;
    /* Blue 600 */
}

#medical-data-section .form-section-title::before {
    background-color: #2563eb;
    /* Blue 600 */
}

#medical-data-section .btn-primary {
    background-color: #2563eb;
}

#medical-data-section .btn-primary:hover {
    background-color: #1d4ed8;
    /* Blue 700 */
}

/* Constrain all form rows and cards to half width in medical section */
#medical-data-section form .form-row,
#medical-data-section form .form-group-card,
#medical-data-section form .form-group {
    max-width: 50%;
}

.form-section-container {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #bfdbfe;
    /* Light blue accent */
}

/* --- Parents Portal Clinical View Utilities --- */
.info-label-sm {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-value-lg {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.info-value-md {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.info-value-sm {
    font-size: 0.9rem;
    color: #475569;
}

.info-value-box {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.375rem;
    color: #334155;
    font-size: 0.95rem;
    border: 1px solid #f1f5f9;
}

.info-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row-item:last-child {
    border-bottom: none;
}

.flex-row-center {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
}

.status-icon {
    font-size: 1.2rem;
}

.text-primary {
    color: var(--primary) !important;
}

/* --- Email Editor Toolbar --- */
.btn-tool {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 0;
    border-radius: 0.25rem;
    color: #475569;
    /* Slate 600 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-tool:hover {
    background-color: #cbd5e1;
    /* Slate 300 */
    color: #0f172a;
    /* Slate 900 */
}

.btn-tool:active {
    background-color: #94a3b8;
    /* Slate 400 */
    transform: translateY(1px);
}

.btn-tool b {
    font-family: sans-serif;
    font-weight: 800;
}

.btn-tool i {
    font-family: serif;
    font-weight: 600;
}

.btn-tool u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-tool s {
    text-decoration: line-through;
}

/* Separator visual adjustment */
#formatting-toolbar>div {
    height: 20px;
    align-self: center;
}

/* --- PRINT STYLES --- */
/* --- PRINT STYLES (COMPACT) --- */
@media print {
    @page {
        margin: 0.5cm;
        /* Minimal margins for maximum space */
        size: auto;
    }

    /* Scale down entire page content to fit more */
    html {
        zoom: 0.85;
        /* Webkit zoom */
        -moz-transform: scale(0.85);
        -moz-transform-origin: top center;
    }

    body {
        font-family: 'Inter', sans-serif;
        font-size: 9pt !important;
        /* Smaller base font */
        line-height: 1.25 !important;
        color: black !important;
        background: white !important;
    }

    /* 1. HIDE GLOBAL UI CHROME */
    header,
    nav,
    footer,
    .sidebar,
    .top-bar,
    .navbar,
    .hero,
    .hero-slider,
    .services-section,
    .levels-section,
    .login-container,
    #login-view,
    #dashboard-view,
    .modal,
    button,
    .btn,
    .no-print,
    .floating-action-button,
    #parents-detail-nav,
    .parents-sidebar,
    #parents-children-list,
    #parents-account-summary-mini,
    #btn-parents-logout,
    .fc-toolbar,
    .fc-header-toolbar {
        display: none !important;
    }

    /* 2. ENSURE PARENTS VIEW VISIBILITY */
    #parents-view,
    #parents-view main,
    #parents-dashboard-container,
    .parents-detail-view,
    #parents-tab-content-container,
    #tab-clinical {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        background: white !important;
        border: none !important;
        box-shadow: none !important;
    }

    .parent-tab-pane {
        display: none !important;
    }

    #tab-clinical {
        display: block !important;
        visibility: visible !important;
    }

    /* 3. COMPACT LAYOUT FOR CLINICAL DATA */
    .clinical-print-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        /* Tighter gap */
        break-inside: avoid;
        page-break-inside: avoid;
    }

    h2 {
        font-size: 14pt !important;
        color: #1e3a8a !important;
        margin: 0 0 0.5rem 0 !important;
        padding-bottom: 0.25rem !important;
        border-bottom: 2px solid #1e3a8a !important;
    }

    h3,
    h4 {
        font-size: 11pt !important;
        /* Smaller headers */
        color: #1e3a8a !important;
        margin: 0.5rem 0 0.25rem 0 !important;
        padding-bottom: 0.25rem !important;
        break-after: avoid;
    }

    p {
        margin: 0.25rem 0 !important;
    }

    /* Compact Sections */
    .form-section-container {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 0.75rem !important;
        /* Less spacing between sections */
        border: 1px solid #94a3b8 !important;
        padding: 0.75rem !important;
        /* Less internal padding */
        border-radius: 4px !important;
    }

    /* Force rows to be tighter */
    .form-section-container>div {
        margin-bottom: 0.25rem !important;
        padding: 0.25rem 0 !important;
    }

    .parent-responsibility-disclaimer {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-top: 1.5rem !important;
        padding-top: 0.5rem !important;
        border-top: 1px solid #000 !important;
        font-size: 7.5pt !important;
        /* Small legal text */
        line-height: 1.1 !important;
        color: #334155 !important;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    ::-webkit-scrollbar {
        display: none;
    }
}/* ADMIN CLINICAL PRINT OVERRIDE */
@media print {

    body.printing-admin-clinical #dashboard-view,
    body.printing-admin-clinical #medical-data-section,
    body.printing-admin-clinical #admin-clinical-print-view {
        display: block !important;
    }

    body.printing-admin-clinical #medical-data-form,
    body.printing-admin-clinical .sidebar,
    body.printing-admin-clinical header,
    body.printing-admin-clinical nav,
    body.printing-admin-clinical .table-container,
    body.printing-admin-clinical .search-bar,
    body.printing-admin-clinical #admin-student-list-section {
        display: none !important;
    }

    body.printing-admin-clinical #parents-view {
        display: none !important;
    }

    body.printing-admin-clinical .clinical-print-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}