:root {
    --accent: #00529b;
    --bg: #ffffff;
    --text: #212529;
    --text-light: #555;
    --border: #dee2e6;
    --card-bg: #f8f9fa;
    --header-border: #dee2e6;
    --success-color: #198754;
    --error-bg: #ffe6e6;
    --error-border: #ffcccc;
    --error-text: #cc0000;
    --option-bg: #e9ecef;
    --input-bg: #ffffff;
    --button-text: #ffffff;
    --info-bg: #e7f1ff;
    --info-border: #b6d4fe;
    --info-text: #004085;
}

@media (prefers-color-scheme: dark) {
    :root {
        --accent: #6ea8fe;
        --bg: #121212;
        --text: #e0e0e0;
        --text-light: #a0a0a0;
        --border: #333;
        --card-bg: #1e1e1e;
        --header-border: #333;
        --success-color: #75b798;
        --error-bg: #2c0b0e;
        --error-border: #842029;
        --error-text: #ea868f;
        --option-bg: #2c2c2c;
        --input-bg: #1e1e1e;
        --button-text: #000000;
        --info-bg: #0c2748;
        --info-border: #18447e;
        --info-text: #b6d4fe;
    }
}

/* Basic Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    display: grid;
    grid-template-columns: 1fr min(65rem, 90%) 1fr;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    line-height: 1.6;
}

body > * {
    grid-column: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

a:hover {
    text-decoration: underline;
}

p {
    margin-bottom: 1.5rem;
}

/* Header */
header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--header-border);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
}

.header-title:hover {
    text-decoration: none;
    opacity: 0.9;
}

.lang-switch a {
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    color: var(--text-light);
    border-radius: 4px;
    transition: all 0.2s;
    margin-left: 0.2rem;
}

.lang-switch a.active {
    background-color: var(--accent);
    color: var(--button-text);
    font-weight: bold;
}

.lang-switch a:hover:not(.active) {
    background-color: var(--option-bg);
}

/* Buttons */
button {
    background-color: var(--accent);
    color: var(--button-text);
    border: 1px solid var(--accent);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

button:hover {
    opacity: 0.9;
    text-decoration: none;
}

.btn-outline {
    background: transparent; 
    color: var(--accent); 
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background-color: var(--option-bg);
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Forms */
form p {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"], 
input[type="email"], 
input[type="number"], 
select {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem;
    border: 1px solid var(--border);
    background-color: var(--input-bg);
    color: var(--text);
    border-radius: 4px;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: 2px solid var(--accent);
    border-color: var(--accent);
}

/* Verification Specifics */
.verified-badge {
    color: var(--success-color);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.detail-row {
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .detail-row {
        flex-direction: row;
        align-items: baseline;
    }
    .detail-label {
        width: 140px;
        flex-shrink: 0;
    }
}

.detail-label {
    font-weight: 600;
    color: var(--text-light);
    margin-right: 1rem;
}

.detail-value {
    font-weight: 500;
}

/* Language Options inside Form */
.language-options {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--option-bg);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    margin-bottom: 0;
}

/* Error Box */
.error-box {
    margin-top: 1.5rem; 
    padding: 1rem; 
    background: var(--error-bg); 
    border: 1px solid var(--error-border); 
    border-radius: 6px; 
    color: var(--error-text);
}

/* Info Box */
.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: 6px;
    color: var(--info-text);
    font-size: 0.95rem;
}

.info-box h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: inherit;
    font-size: 1.1rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box a {
    font-weight: 600;
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-bottom: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}
