:root {
    --bg: #f4f7f6;
    --card-bg: #ffffff;
    --text: #333;
    --primary: #2563eb;
    --secondary: #4b5563;
    --border: #e5e7eb;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}

.field {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.field label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
}

.val {
    font-weight: 500;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    margin-bottom: 20px;
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    margin-top: 10px;
}

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.9;
}

.hidden {
    display: none;
}

#loader {
    text-align: center;
    padding: 20px;
    font-style: italic;
}
