/* =============================================================================
   VARIABLES.CSS - CSS Variables, Reset, Base Elements, Forms
   =============================================================================
   Contains: CSS Custom Properties, Global Reset, Typography, Form Styles
   
   LOAD ORDER: This file MUST be loaded FIRST before all other CSS
   ============================================================================= */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #13131a;
    --accent-gold: #d4af37;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Roboto', sans-serif;
    --positive-green: #4CAF50;
    --negative-red: #F44336;
    --neutral-gray: #555;

    /* Element Colors */
    --color-kim: #E0E0E0;
    --color-moc: #4CAF50;
    --color-thuy: #2196F3;
    --color-hoa: #F44336;
    --color-tho: #FFC107;
}

/* ============================================================================
   USER BANNER - Personalized Name Display
   ============================================================================ */
.user-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: center;
}

.user-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.user-banner-icon {
    font-size: 1.2rem;
}

.user-banner-text {
    font-size: 1.1rem;
    color: var(--text-primary, #e0e0e0);
}

.user-banner-text strong {
    color: var(--accent-gold, #d4af37);
    font-family: var(--font-heading, 'Playfair Display', serif);
}

/* Text Input Placeholder Styling */
input::placeholder {
    color: var(--text-secondary, #b0b0b0);
    opacity: 0.7;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1f 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 20px 0 40px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    /* Refined: Subtle glow + elegant text shadow for premium feel */
    text-shadow:
        0 0 8px rgba(212, 175, 55, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.subtitle {
    font-style: italic;
    color: var(--text-secondary);
}

.input-section {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

h2,
h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-weight: bold;
}

select,
input {
    width: 100%;
    padding: 10px;
    background-color: #1a1a24;
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
}

select:focus,
input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

.radio-group {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
}

.radio-label input {
    width: auto;
    margin-right: 8px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #b5952f;
}

.hidden {
    display: none;
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}