/* Style for Sean Feucht Investigation Website */

/* Base styles */
:root {
    --primary-color: #34495e;
    --secondary-color: #c0392b;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --link-color: #3498db;
    --font-main: 'Georgia', serif;
    --font-headings: 'Libre Baskerville', 'Times New Roman', serif;
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--dark-color);
}

h4 {
    font-size: 1.25rem;
    margin-top: 1.2rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Header styles */
header {
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.subtitle {
    font-size: 1.25rem;
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Navigation */
nav {
    margin: 1.5rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
}

nav li {
    margin: 0.5rem;
}

nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

nav a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

nav a.active {
    background-color: var(--secondary-color);
    color: white;
}

/* Main content sections */
main {
    padding: 1rem 0 3rem;
}

section {
    margin-bottom: 3rem;
}

/* Executive summary section */
.executive-summary {
    background-color: #f8f9fa;
    padding: 2rem;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 2rem;
}

/* Cards for navigation */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

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

/* Allegations section */
.allegation {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
}

.allegation h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

/* Legal tooltips */
.legal-tooltip {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    cursor: help;
    font-family: var(--font-sans);
    font-size: 14px;
}

.legal-tooltip-content {
    visibility: hidden;
    width: 300px;
    background-color: #fff;
    color: var(--text-color);
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 1;
    top: -10px;
    right: 30px;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: normal;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.legal-tooltip:hover .legal-tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Enhanced tooltip styles for accessibility */
.legal-tooltip:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.tooltip-active .legal-tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Allegation anchor links */
.allegation-anchor {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.3s;
    text-decoration: none;
}

.allegation:hover .allegation-anchor {
    opacity: 1;
}

/* Property cards */
.property-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.property-card h3, .property-card h4 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Tables */
.financial-table, .properties-table, .table-container {
    margin: 2rem 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Blockquotes */
blockquote {
    background-color: #f8f9fa;
    border-left: 5px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

/* Charts and visualizations */
.chart-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chart {
    display: flex;
    align-items: flex-end;
    height: 250px;
    gap: 2rem;
    padding: 1.5rem 0;
}

.chart-bar {
    flex: 1;
    background-color: var(--primary-color);
    position: relative;
    transition: height 1s ease-out;
}

.chart-bar:nth-child(3) {
    background-color: var(--secondary-color);
}

.chart-label {
    transform: rotate(-45deg);
    position: absolute;
    bottom: -40px;
    left: 0;
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--dark-color);
}

/* Org chart */
.org-chart {
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
}

.org-box {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 400px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.org-box.primary {
    background-color: var(--primary-color);
    color: white;
    position: relative;
}

.org-box.primary::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #ddd;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.org-connections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.org-connections::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: #ddd;
    top: -1rem;
    left: 10%;
}

.org-box.secondary {
    background-color: #f8f9fa;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    position: relative;
}

.org-box.secondary::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 1rem;
    background-color: #ddd;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.org-box.tertiary {
    background-color: #eee;
    width: 80%;
    max-width: 400px;
    margin-top: 2rem;
    position: relative;
}

.org-box.tertiary::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 1rem;
    background-color: #ddd;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Timeline */
.timeline {
    margin: 2rem 0;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    left: 0;
    top: 0;
}

.timeline li {
    margin-bottom: 1.5rem;
    position: relative;
    list-style: none;
}

.timeline li::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    left: -2.4rem;
    top: 0.5rem;
}

/* Question box */
.question-box {
    background-color: #f8f9fa;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.question-box h3 {
    color: var(--accent-color);
    margin-top: 0;
}

/* Document links */
.document-links ul {
    list-style: none;
}

.document-links li {
    margin-bottom: 0.75rem;
}

.document-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.document-link:hover {
    background-color: #e9ecef;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #ddd;
    margin-top: 3rem;
    color: #666;
}

/* Social Media Icons in Footer */
.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #666;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .social-links {
        gap: 0.75rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
    }
}

/* Formal Statement Page */
.formal-statement-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.formal-statement-section h1 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.formal-statement-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

.formal-statement-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.statement-point {
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.statement-point h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.statement-point p {
    margin-bottom: 1rem;
}

.statement-point p:last-child {
    margin-bottom: 0;
}

/* @media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .chart {
        height: 200px;
    }
    
    .org-connections {
        flex-direction: column;
        align-items: center;
    }
    
    .org-box.secondary {
        max-width: 100%;
    }

    .legal-tooltip-content {
        width: 250px;
        right: 0;
        font-size: 0.85rem;
    }

    .formal-statement-section {
        padding: 1.5rem;
    }
    
    .formal-statement-section h1 {
        font-size: 1.8rem;
    }
    
    .statement-point {
        padding: 1.2rem;
    }
} */

/* Mobile Optimization for screens less than 768px */
@media (max-width: 768px) {
    /* Improved Mobile Typography */
    h1 {
        font-size: 1.8rem;
        margin-top: 0.3rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p, li {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Navigation Enhancement */
    nav {
        margin: 1rem 0;
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.5rem;
    }
    
    nav li {
        margin: 0;
        width: 100%;
    }
    
    nav a {
        padding: 0.8rem;
        text-align: center;
        font-size: 1.1rem;
        width: 100%;
        display: block;
        border-radius: 6px;
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
    }
    
    nav a:hover, nav a.active {
        background-color: var(--primary-color);
        color: white;
    }
      /* Hamburger Menu */    .nav-toggle {
        display: block;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1.2rem;
        padding: 0.75rem 1.2rem;
        cursor: pointer;
        margin: 0.75rem auto;
        transition: background-color 0.3s;
        z-index: 100;
        position: relative;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: bold;
        font-family: var(--font-sans);
        letter-spacing: 0.5px;
        min-width: 110px;
    }
      .nav-toggle:hover, .nav-toggle[aria-expanded="true"] {
        background-color: var(--secondary-color);
    }
    
    .nav-toggle:focus {
        outline: 3px solid rgba(52, 73, 94, 0.4);
        outline-offset: 2px;
    }
    
    .nav-toggle::before {
        content: "";
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 8px;
        z-index: -1;
        animation: pulse 2s infinite;
        display: none;
    }
    
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(52, 73, 94, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(52, 73, 94, 0); }
        100% { box-shadow: 0 0 0 0 rgba(52, 73, 94, 0); }
    }
    
    /* Show pulsing animation only the first time the page loads for new visitors */
    .first-visit .nav-toggle::before {
        display: block;
    }

    .menu-icon {
        margin-right: 5px;
    }

    .menu-text {
        font-size: 1rem;
    }
    
    /* Mobile navigation states */
    nav ul.mobile-hidden {
        display: none !important;
    }    nav ul.mobile-visible {
        display: flex !important;
        position: absolute;
        z-index: 1000;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
        border: 1px solid #e9ecef;
        margin-top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        min-width: 280px;
        max-width: 380px;
        max-height: 90vh;
        overflow-y: scroll;
        overflow-x: hidden;
        flex-wrap: nowrap;
        flex-direction: column;
        padding: 0.75rem 0;
        animation: slideDown 0.3s ease-out;
    }
    
    /* Ensure mobile navigation items have proper spacing in scrollable container */
    nav ul.mobile-visible li {
        margin: 0.25rem 0.75rem;
        flex-shrink: 0;
        display: block;
        width: auto;
    }
    
    nav ul.mobile-visible a {
        padding: 0.75rem 0.5rem;
        margin: 0;
        white-space: nowrap;
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        line-height: 1.3;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }
      /* Hide nav toggle on larger screens */
    @media (min-width: 769px) {
        .nav-toggle {
            display: none !important;
        }
        
        nav ul {
            display: flex !important;
        }
    }

    /* Enhanced touch targets */
    .btn, .document-link, .allegation-anchor {
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Content containers adjustments */
    .executive-summary, 
    .allegation, 
    .property-card, 
    .question-box, 
    .statement-point {
        padding: 1.2rem;
    }
      /* Tables improvement for mobile */
    .table-container, .financial-table, .properties-table {
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    /* Tooltips for touch screens */
    .legal-tooltip {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    /* Timeline adjustments */
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline li::before {
        left: -2rem;
    }
    
    /* Charts height adjustment */
    .chart {
        height: 180px;
    }
    
    /* Form adjustments */
    .form-control, .form-select, .submit-btn {
        font-size: 16px; /* Prevent zoom on iOS devices */
        padding: 0.8rem;
    }
}

/* Sticky Navigation Styles */
.nav-toggle-sticky {
    position: fixed;
    top: 10px; /* Adjust as needed for spacing from the top */
    left: 50%; /* Center the button */
    transform: translateX(-50%); /* Ensure true centering */
    width: auto; /* Adjust if you want a specific width */
    z-index: 1001; /* Ensure it's above other elements, including the expanded menu */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Optional: add a shadow for better visibility */
    transition: background-color 0.3s; /* Only transition background color, not position/transform */
}

/* When nav-toggle is sticky, position the dropdown relative to the sticky button */
body.sticky-nav-active nav ul.mobile-visible {
    position: fixed;
    top: 84px; /* Position below the sticky button (10px top + ~50px button height + 8px spacing to match 0.5rem margin) */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    min-width: 280px;
    max-width: 380px;
    max-height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 0.75rem 0;
    z-index: 1000;
    margin-top: 0; /* Remove margin when using fixed top positioning */
}

/* Ensure sticky navigation items maintain proper spacing */
body.sticky-nav-active nav ul.mobile-visible li {
    margin: 0.25rem 0.75rem;
    flex-shrink: 0;
    display: block;
    width: auto;
}

body.sticky-nav-active nav ul.mobile-visible a {
    padding: 0.75rem 0.5rem;
    margin: 0;
    white-space: nowrap;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.3;
}

/* Adjust header padding when the sticky nav is active to prevent content overlap */
body.sticky-nav-active header {
    padding-top: 70px; /* Adjust this value based on the height of your sticky nav + desired spacing */
}

/* Print styles */
@media print {
    nav, .btn, footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Submission form */
.report-form-section {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.report-form-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.report-form {
    margin-top: 1.5rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: white;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #a52a2a;
}

.privacy-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Form validation styles */
.form-control:invalid,
.form-select:invalid {
    border-color: var(--secondary-color);
}

.error-message {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Form success and error message containers */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.success-message h3 {
    color: #155724;
    margin-top: 0;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-error h3 {
    color: #721c24;
    margin-top: 0;
}

/* Info icon */
.info-icon {
    background-color: var(--primary-color);
    color: white;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
}

/* Action links */
.action-links {
    margin: 1rem 0;
}

.action-links .btn {
    margin-right: 1rem;
}

/* Form navigation */
.form-navigation {
    background-color: #e2f0fb;
    border-left: 4px solid #3498db;
    padding: 12px 16px;
    margin: 1rem 0;
    border-radius: 4px;
}

.form-navigation p {
    margin: 0;
}

.form-navigation a {
    font-weight: bold;
    text-decoration: underline;
}

/* Report story page styles */
.report-options {
    margin-top: 2rem;
}

.report-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.report-card h3 {
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e1e1;
}

.report-card.financial h3 {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
}

.report-card.spiritual h3 {
    color: #8e44ad;
    border-bottom-color: #8e44ad;
}

.report-card ul {
    margin-bottom: 1.5rem;
}

.report-card .action-links {
    text-align: center;
    margin-top: 1.5rem;
}

.report-notes {
    margin-top: 3rem;
}

.important-note {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.important-note h4 {
    margin-top: 0;
    color: #495057;
}

.important-note p {
    margin-bottom: 0;
}

/* Indent bullet points in lists */
ul, ol {
    margin-left: 1rem;
    padding-left: 0.5rem;
}

li {
    margin-bottom: 0.1rem;
}

/* Checkbox groups for forms */
.checkbox-group {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.checkbox-item:last-child {
    margin-bottom: 0;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item label {
    cursor: pointer;
    font-weight: normal !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
    font-size: 0.95rem;
}

/* Mobile-friendly checkbox styling */
@media (max-width: 768px) {
    .checkbox-group {
        max-height: 180px;
        padding: 0.5rem;
    }
    
    .checkbox-item {
        padding: 0.4rem 0;
        margin-bottom: 0.6rem;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 0.8rem;
    }
    
    .checkbox-item label {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Error state for checkbox groups */
.checkbox-group.error {
    border-color: var(--secondary-color);
    background-color: #ffeaea;
}

.checkbox-group-error {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: none;
}

.checkbox-group-error.show {
    display: block;
}

/* Existing form styles */
/* Signature form section styling */
.signature-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.signature-section h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.signature-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #666;
    border-left: 4px solid var(--link-color);
}

/* JotForm styling overrides */
.form-all {
    font-family: var(--font-main) !important;
}

.form-label {
    font-family: var(--font-headings) !important;
    color: var(--dark-color) !important;
}

.form-submit-button {
    background-color: var(--primary-color) !important;
    font-family: var(--font-sans) !important;
}

.form-submit-button:hover {
    background-color: var(--secondary-color) !important;
}

.form-radio-item label, .form-checkbox-item label {
    font-family: var(--font-main) !important;
}

/* Mobile responsiveness for form section */
@media (max-width: 768px) {
    .signature-section {
        padding: 15px;
    }
    
    .signature-info {
        padding: 12px;
    }
}

/* Logo styling */
.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0rem;
}

.logo-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-logo h1 {
    margin: 0;
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .site-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .site-logo h1 {
        font-size: 1.8rem;
    }
}

/* Custom scrollbar styling for mobile navigation */
nav ul.mobile-visible::-webkit-scrollbar {
    width: 6px;
}

nav ul.mobile-visible::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

nav ul.mobile-visible::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

nav ul.mobile-visible::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}