:root {
    --primary-gold: #c5a059;
    --primary-gold-dark: #a38245;
    --dark-anthracite: #1a1a1a;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --accent-font: 'Playfair Display', serif;
    --main-font: 'Inter', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    background-color: #f5f5f7;
    font-family: var(--main-font);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* Page A4 Style */
.a4-page {
    background: var(--bg-white);
    width: 210mm;
    min-height: 297mm;
    padding: 15mm 20mm;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: var(--accent-font);
    font-weight: 700;
}

.gold-accent {
    color: var(--primary-gold);
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
    margin: 15px 0;
}

/* Logo Styling */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.logo-img {
    max-height: 100px;
    width: auto;
}

/* Field Styling */
.field {
    margin-bottom: 8px;
}
.field-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}
.field-value {
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px transparent solid;
    transition: border-bottom 0.2s;
}
.field-value:hover {
    border-bottom: 1px solid var(--primary-gold);
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
}
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}
.custom-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-gold);
}

/* Sections */
section h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 1px;
}

/* Print Optimization */
@media print {
    body {
        background: none;
        padding: 0;
    }
    .a4-page {
        box-shadow: none;
        margin: 0;
        width: 100%;
        padding: 15mm 20mm;
    }
    .no-print {
        display: none;
    }
}

/* Interface Elements */
.print-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark-anthracite);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
    z-index: 100;
}

.print-btn:hover {
    transform: scale(1.05);
    background: var(--primary-gold-dark);
}

/* Lockscreen Styling */
#lockscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.lock-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.lock-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

.lock-card h3 {
    font-family: var(--accent-font);
    font-size: 1.5rem;
    color: var(--dark-anthracite);
    margin-bottom: 10px;
}

.lock-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

#password-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

#password-input:focus {
    border-color: var(--primary-gold);
}

#unlock-btn {
    width: 100%;
    padding: 14px;
    background: var(--dark-anthracite);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#unlock-btn:hover {
    background: var(--primary-gold-dark);
}
