                background: #fff !important;
                border: 2px solid #99F6E4 !important;
                color: #134E4A !important;
            /* Custom Dropdown Styles */
            .custom-dropdown {
                position: relative;
                width: 100%;
            }
            .custom-dropdown-btn {
                width: 100%;
                height: 38px;
                background: #fff !important;
                border: 2px solid #99F6E4 !important;
                border-radius: 8px !important;
                color: #134E4A !important;
                font-size: 1rem;
                text-align: left;
                padding: 0 1rem;
                cursor: pointer;
                transition: box-shadow 0.2s;
            }
            .custom-dropdown-btn:focus {
                outline: none;
                box-shadow: 0 0 0 3px rgba(16,153,158,0.1);
            }
            .custom-dropdown-list {
                display: none;
                position: absolute;
                top: 42px;
                left: 0;
                width: 100%;
                background: #fff;
                border: 2px solid #99F6E4;
                border-radius: 8px;
                box-shadow: 0 4px 16px rgba(16,153,158,0.13);
                z-index: 9999;
                max-height: 220px;
                overflow-y: auto;
                padding: 0;
                margin: 0;
                list-style: none;
            }
            .custom-dropdown-list.show {
                display: block;
            }
            .custom-dropdown-item {
                padding: 0.75rem 1rem;
                cursor: pointer;
                color: #134E4A;
                font-size: 1rem;
                border-bottom: 1px solid #F0FDFA;
                background: #fff;
                transition: background 0.2s;
            }
            .custom-dropdown-item:last-child {
                border-bottom: none;
            }
            .custom-dropdown-item:hover {
                background: #e0f7fa;
            }
            z-index: 1001 !important;
            position: relative !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        color: #134E4A !important;
        padding-left: 12px !important;
        padding-right: 32px !important;
    }
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
#worksheet_preview.form-control {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    margin-top: 0 !important;
    color: #134E4A !important;
}
}
    background: transparent !important;
}
}
/* Make legend items look like buttons */
.field-legend {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem 0;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(16,153,158,0.07);
}
.legend-item:hover, .legend-item.active {
    background: #e0f7fa;
    border-color: #10999E;
    box-shadow: 0 2px 8px rgba(16,153,158,0.13);
}
.legend-color {
    }
    .legend-color.final-qla-column {
        background: #B39DDB;
        border-color: #512DA8;
    }
    .excel-table td.highlight-final-qla-column,
    .excel-table td.highlight-final-qla-column:hover {
        background: #B39DDB !important;
        border: 2px solid #512DA8 !important;
    }
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #bbb;
    margin-right: 0.5rem;
}
/* Fix worksheet dropdown text alignment */
#worksheet_preview.form-control {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.2 !important;
    height: 38px !important;
    box-sizing: border-box;
}
/* Force horizontal alignment for Title and Worksheet fields in Configure page */
.preview-header .form-group {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem;
}
.preview-header .form-group > label {
    margin-bottom: 0 !important;
    min-width: 140px;
}
.preview-header .form-group > input,
.preview-header .form-group > select {
    height: 38px !important;
    margin-bottom: 0 !important;
    vertical-align: middle;
    flex: 1 1 auto;
    min-width: 0;
}
/* Align Title and Worksheet fields in Configure page */
.preview-header .form-group > label {
    margin-bottom: 0.25rem;
}
.preview-header .form-group > input,
.preview-header .form-group > select {
    height: 38px !important;
    margin-bottom: 0 !important;
    vertical-align: middle;
    display: inline-block;
}
.preview-header .form-group {
    justify-content: center;
}
/* style.css - Modern, Professional Styling for ClassDiagnostix */

:root {
    --primary-color: #10999E;
    --secondary-color: #10999E;
    --danger-color: #E74C3C;
    --warning-color: #F59E0B;
    --info-color: #10999E;
    --dark-color: #10999E;
    --light-color: #F0FDFA;
    --border-color: #99F6E4;
    --text-color: #134E4A;
    --background-color: #F0FDFA;
    --card-shadow: 0 2px 8px rgba(16,153,158,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0; /* quarter of 1.5rem */
    box-shadow: 0 2px 10px rgba(16,153,158,0.2);
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.header-nav {
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 8px;
}

.header-nav .nav-links {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.header-nav .nav-actions {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.account-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 200px;
    color: #fff;
}

.account-box .user-email {
    font-weight: 600;
    font-size: 0.95rem;
    word-break: break-all;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.account-box .account-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.account-box .account-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 0.3rem 0.65rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.account-box .account-link:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    text-decoration: none;
}

.header-nav .nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.header-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.header-nav .admin-link {
    background: #ef4444;
    color: #0f172a;
    border-color: #dc2626;
}

.header-nav .admin-link:hover {
    background: #dc2626;
    border-color: #b91c1c;
    color: #0f172a;
}

.user-email {
    color: white;
    font-size: 1.1rem;
}

.user-tier {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-style: italic;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 90px;
    width: auto;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease;
}

.admin-shell {
    background: #ffffff;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-info {
    background-color: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}
.alert-warning {
    background-color: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    font-weight: 700;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* Usage Card */
.usage-card {
    background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.usage-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.usage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.usage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
}

.usage-label {
    font-weight: 600;
    color: #666;
}

.usage-value {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.upgrade-notice {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.upgrade-notice a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.tier-premium {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-color: #F59E0B;
}

.freemium {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-color: var(--primary-color);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: #f0f8ff;
}

.upload-area.drag-over {
    border-color: var(--secondary-color);
    background-color: #e8f5e9;
}

.upload-area.has-file {
    border-color: var(--secondary-color);
    background-color: #f1f8f4;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.upload-subtext {
    color: #666;
    margin-bottom: 1rem;
}

.file-info {
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: none;
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #99F6E4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #134E4A !important;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16,153,158,0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.form-section h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Terms and Conditions Section */
.terms-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #F0FDFA;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.terms-checkbox span {
    flex: 1;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.terms-checkbox a:hover {
    color: var(--dark-color);
}

.terms-notice {
    padding: 1rem;
    background-color: #E0F2FE;
    border-left: 4px solid var(--info-color);
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-notice strong {
    color: var(--dark-color);
}

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

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.btn-primary:hover:not(:disabled) {
    background-color: #0D7D82;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,153,158,0.3);
}

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

.btn-success:hover:not(:disabled) {
    background-color: #0D7D82;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,153,158,0.3);
}

.btn-secondary {
    background-color: #95A5A6;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #7F8C8D;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
}

/* Info Section */
.info-section, .info-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-top: 2rem;
}

.info-section h3, .info-box h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-section ul, .info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-section li, .info-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-section li:before, .info-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* File List */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.file-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.file-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.file-size {
    color: #666;
    font-size: 0.9rem;
}

.file-actions {
    margin-left: 1rem;
}

.no-files {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Action Section */
.action-section {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    text-align: center;
    margin-top: auto;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(16,153,158,.3);
    border-radius: 50%;
    border-top-color: #10999E;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-header h2 {
        font-size: 1.5rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* Admin helpers */
.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #b02a37;
    color: #fff;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

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

.admin-table th {
    background: #f8fafc;
}

.inline-form {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.grid-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.grid-form label {
    font-weight: 600;
    display: block;
}

.grid-form input,
.grid-form select {
    width: 100%;
    margin-top: 0.35rem;
}

.pagination {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Account page: visually separate read-only fields */
.readonly-input {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #475569;
    cursor: not-allowed;
}

.readonly-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    margin-left: 6px;
    background: #e2e8f0;
    color: #1f2937;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Account page spacing */
.account-form .form-row + .form-row {
    margin-top: 12px;
}

.account-form .form-row label {
    margin-bottom: 1px;
    display: block;
    line-height: 1.15;
}

.account-form .form-row input {
    margin-top: 0;
}

/* Cookie banner and policy */
.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    line-height: 1.2;
}

.footer-legal-links a,
.footer-legal-links button {
    color: #ffffff;
    background: transparent;
    border: 0;
    text-decoration: underline;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
    color: #ccfbf1;
}

.cookie-consent-root {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.28);
}

.cookie-consent-card {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    background: #ffffff;
    color: #134E4A;
    border: 2px solid #99F6E4;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
    padding: 1rem;
}

.cookie-consent-settings {
    align-items: stretch;
}

.cookie-consent-copy {
    flex: 1 1 auto;
}

.cookie-consent-copy h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    color: #134E4A;
}

.cookie-consent-copy p {
    margin: 0 0 0.5rem;
}

.cookie-consent-link {
    color: #0d7d82;
    font-weight: 700;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.cookie-btn {
    border-radius: 8px;
    border: 2px solid #99F6E4;
    padding: 0.65rem 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-primary {
    background: #10999E;
    color: #ffffff;
    border-color: #10999E;
}

.cookie-btn-primary:hover {
    background: #0D7D82;
    border-color: #0D7D82;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 153, 158, 0.24);
}

.cookie-btn-secondary {
    background: #e0f2fe;
    color: #0D7D82;
}

.cookie-btn-secondary:hover {
    background: #f0fdfa;
    border-color: #0D7D82;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 153, 158, 0.18);
}

.cookie-consent-option {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-top: 1px solid #ccfbf1;
}

.cookie-consent-option input {
    margin-top: 0.2rem;
    accent-color: #10999E;
}

.cookie-consent-option span {
    display: grid;
    gap: 0.1rem;
}

.cookie-consent-option small {
    color: #475569;
}

.cookie-consent-option.is-disabled {
    opacity: 0.82;
}

.cookie-policy-panel {
    background: #ffffff;
    border: 2px solid #99F6E4;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-policy-panel h1,
.cookie-policy-panel h2 {
    color: #134E4A;
}

.cookie-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #99F6E4;
    padding: 0.65rem;
    vertical-align: top;
    text-align: left;
}

.cookie-table th {
    background: #F0FDFA;
    color: #134E4A;
}

@media (max-width: 760px) {
    .cookie-consent-card {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media print {
    .cookie-consent-root,
    .footer-legal-links {
        display: none !important;
    }
}
