/*
Theme Name: PsyTest Health
Theme URI: https://psytest.health
Author: PsyTest Team
Author URI: https://psytest.health
Description: Modern theme in neutral calm tones with medical design for psychological testing platform. Minimalist, clean design with focus on trust and professionalism.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: psytest-health
Tags: medical, health, psychology, modern, minimal, clean, professional
*/

/* ============================================
   Color Palette (Medical, Calm)
   ============================================ */
:root {
    --color-primary: #F5F7FA;        /* Light gray, calm background */
    --color-accent: #4A90E2;          /* Soft blue, trust */
    --color-secondary: #7B8A95;       /* Neutral gray-blue */
    --color-text: #2C3E50;            /* Dark gray, readable */
    --color-text-light: #5A6C7D;      /* Light gray text */
    --color-success: #5CB85C;         /* Soft green */
    --color-warning: #F0AD4E;         /* Soft orange */
    --color-background: #FFFFFF;      /* White background */
    --color-border: #E1E8ED;          /* Light border */
    --color-shadow: rgba(44, 62, 80, 0.08); /* Soft shadow */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    --gradient-soft: linear-gradient(135deg, #F5F7FA 0%, #E8EDF2 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px var(--color-shadow);
    --shadow-md: 0 4px 12px var(--color-shadow);
    --shadow-lg: 0 8px 24px var(--color-shadow);
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* ============================================
   Containers
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo::before {
    display: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* CTA Button */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: white;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: var(--gradient-soft);
    padding: 5rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ============================================
   Cards
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0E8FF 100%);
    border: 1px solid rgba(225, 232, 237, 0.6);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12), 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Card as link */
a.card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.card:hover {
    text-decoration: none;
    color: inherit;
}

.card-icon {
    width: 100%;
    height: 120px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(74, 144, 226, 0.5)) drop-shadow(0 0 6px rgba(138, 43, 226, 0.3));
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.9;
        filter: drop-shadow(0 0 12px rgba(74, 144, 226, 0.5)) drop-shadow(0 0 6px rgba(138, 43, 226, 0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(74, 144, 226, 0.7)) drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
    }
}

.card h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.card p {
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-text);
    color: var(--color-primary);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.site-footer h4 {
    color: var(--color-background);
    margin-bottom: 1rem;
}

.site-footer a {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.site-footer a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Post Styles
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.post-thumbnail {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    margin-bottom: 0.75rem;
}

.post-title a {
    color: var(--color-text);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--color-accent);
}

.post-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--color-background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tags a {
    background: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--color-text);
}

.post-tags a:hover {
    background: var(--color-accent);
    color: white;
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.pagination .current {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.no-posts p {
    color: var(--color-text-light);
}

/* ============================================
   Dashboard Styles
   ============================================ */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.dashboard-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: var(--color-background);
    color: var(--color-accent);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.dashboard-section {
    background: var(--color-background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.dashboard-section h2 {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-size: 1.75rem;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.card-actions button {
    flex: 1;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

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

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

.data-table tr:hover {
    background: var(--color-primary);
}

.test-question {
    margin-bottom: 2rem;
}

.test-question h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.option-label:hover {
    border-color: var(--color-accent);
    background: rgba(74, 144, 226, 0.05);
}

.option-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--color-accent);
}

.test-actions {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-background);
}

.test-progress {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-actions {
        width: 100%;
    }
    
    .dashboard-actions button {
        flex: 1;
    }
    
    .card-actions {
        flex-direction: column;
    }
}

/* ============================================
   Modal Windows
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--color-background);
    margin: auto;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
    z-index: 10000;
}

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

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10001;
    pointer-events: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.modal-close:hover {
    color: var(--color-text);
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: var(--color-text);
    font-size: 2rem;
}

/* Auth Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.form-group label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group textarea,
.form-input,
select.form-input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-background);
    color: var(--color-text);
    width: 100%;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input[readonly] {
    background: var(--color-primary);
    cursor: not-allowed;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group small {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: -0.25rem;
}

.optional {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.form-divider span {
    padding: 0 1rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.btn-google {
    width: 100%;
    padding: 0.875rem 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-google svg {
    flex-shrink: 0;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.form-footer a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Error/Success Messages */
.form-message {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.form-message.error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.form-message.success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Responsive */
/* Document Modals (Terms, Privacy) */
.modal-document-content {
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    z-index: 10000;
}

.modal-document-header {
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.modal-document-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.document-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

.modal-document-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    /* Smooth scrolling */
    -webkit-overflow-scrolling: touch;
}

.modal-document-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Ensure modal content doesn't close when clicking inside */
.modal-document-content {
    pointer-events: auto;
}

.modal-document-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.modal-document-body h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.modal-document-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.modal-document-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.modal-document-body ul,
.modal-document-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-document-body li {
    margin-bottom: 0.5rem;
}

.modal-document-body strong {
    color: var(--color-text);
    font-weight: 600;
}

.modal-document-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.modal-document-body a:hover {
    color: #357ABD;
}

.open-terms-modal,
.open-privacy-modal {
    color: var(--color-accent);
    cursor: pointer;
    text-decoration: underline;
}

.open-terms-modal:hover,
.open-privacy-modal:hover {
    color: #357ABD;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.75rem;
    }
    
    .modal-document-content {
        max-height: 95vh;
    }
    
    .modal-document-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-document-body {
        padding: 1.5rem;
    }
    
    .modal-document-header h2 {
        font-size: 1.75rem;
    }
    
    .modal-document-body h2 {
        font-size: 1.25rem;
    }
}
