:root {
    --bg-color: #f3f6f9;
    --paper-color: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --primary: #fbb03b;
    --primary-hover: #e8a235;
    --secondary: #4b5563;
    --secondary-hover: #374151;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.3);

    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    background-image:
        linear-gradient(to right, #e2e8f0 1px, transparent 1px),
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Layout */
.container {
    width: 100%;
    padding: 2rem 5%;
}

/* Header */
.site-header {
    background-color: #ffffff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 4px solid #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.header-logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 60px;
    margin-right: 1.5rem;
}

.header-divider {
    width: 2px;
    height: 40px;
    background-color: #e5e7eb;
    margin-right: 1.5rem;
}

.header-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
    margin: 0;
}

.header-text p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(1px);
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: scale(1.1);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
}

/* Document Paper */
.document-viewer {
    perspective: 1000px;
}

.document-paper {
    background: var(--paper-color);
    padding: 4rem 5rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    font-family: 'Merriweather', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #111;
    margin-bottom: 4rem;
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.doc-number {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.doc-date {
    color: var(--text-secondary);
    font-style: italic;
}

.doc-recipient {
    margin-bottom: 3rem;
}

.doc-subject {
    margin-bottom: 3rem;
    padding-left: 2rem;
    border-left: 4px solid var(--primary);
}

.doc-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.doc-question {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.doc-question:hover {
    transform: translateX(5px);
    border-color: #cbd5e1;
}

.doc-question h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.doc-question ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.doc-question li {
    margin-bottom: 0.5rem;
}

.doc-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.doc-footer {
    margin-top: 5rem;
    text-align: center;
}

.signature-line {
    width: 300px;
    height: 1px;
    background-color: var(--text-primary);
    margin: 0 auto 0.5rem auto;
}

.signature-name {
    font-family: 'Inter', sans-serif;
}

.signature-title {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 3rem 1rem;
    background-color: transparent;
    margin-top: 2rem;
}

.copyright {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 45px;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-pic {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.whatsapp-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 2%;
    }

    .document-paper {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .doc-header {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .site-header {
        padding: 1rem;
        justify-content: center;
        text-align: center;
    }

    .header-logo-container {
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .header-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .header-divider {
        display: none;
    }
}