/* WizeAI Labs - Legal Documents Stylesheet */
/* Modern, professional, and responsive design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --text-dark: #212529;
    --text-medium: #495057;
    --text-light: #6c757d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-top: 25px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 500;
    margin-bottom: 5px;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Sections */
section {
    margin-bottom: 30px;
}

/* Lists */
ul {
    margin: 15px 0 20px 30px;
}

ul li {
    margin-bottom: 10px;
    color: var(--text-medium);
    line-height: 1.6;
}

ul li strong {
    color: var(--text-dark);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 25px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    h3 {
        font-size: 1.15rem;
    }

    ul {
        margin-left: 20px;
    }

    .lang-toggle {
        top: 10px !important;
        right: 10px !important;
        padding: 8px 15px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        padding: 20px;
    }

    .lang-toggle {
        display: none !important;
    }

    a {
        color: var(--text-dark);
        text-decoration: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--text-light);
    }
}

/* Highlight important text */
strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Table support (if needed in future) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

/* Code blocks (if needed) */
code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: var(--text-dark);
}

/* Blockquote (if needed) */
blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    color: var(--text-medium);
    font-style: italic;
}

/* Accessibility improvements */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
