:root {
    --primary:    #c0392b;
    --primary-dk: #96281b;
    --accent:     #f39c12;
    --text-dark:  #2c3e50;
    --text-mid:   #555;
    --text-light: #888;
    --bg-light:   #f8f4f0;
    --bg-white:   #fff;
    --border:     #e0d5cc;
    --radius:     10px;
    --shadow:     0 2px 16px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; color: var(--text-dark); background: var(--bg-light); }

/* --- HEADER --- */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; }
nav a { color: var(--text-dark); text-decoration: none; margin-left: 20px; font-size: 0.95rem; }
nav a:hover { color: var(--primary); }

/* --- CONTAINER --- */
.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* --- REGISTER SECTION --- */
.register-section { padding: 40px 0 60px; }
.register-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 48px;
    max-width: 680px;
    margin: 0 auto;
}
.reg-header { text-align: center; margin-bottom: 28px; }
.reg-header h1 { font-size: 1.8rem; color: var(--primary); }
.reg-header p  { color: var(--text-light); margin-top: 6px; }

/* --- PROGRESS BAR --- */
.progress-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    position: relative;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-size: 13px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}
.step::before {
    content: attr(data-num);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 6px;
}
.step:nth-child(1)::before { content: '1'; }
.step:nth-child(2)::before { content: '2'; }
.step:nth-child(3)::before { content: '3'; }
.step.active::before {
    background: var(--primary);
    color: #fff;
}
.step span { font-size: 12px; }

/* --- FORMS --- */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 0.87rem; font-weight: 600; color: var(--text-mid); display: block; margin-bottom: 6px; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    transition: border 0.2s;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

/* --- RADIO CARDS (Profile For) --- */
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.radio-card { cursor: pointer; }
.radio-card input { display: none; }
.radio-card span {
    display: inline-block;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 0.87rem;
    color: var(--text-mid);
    transition: all 0.2s;
}
.radio-card input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* --- PASSWORD EYE --- */
.input-eye { position: relative; }
.input-eye input { padding-right: 40px; }
.eye-icon {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    opacity: 0.5;
}

/* --- PASSWORD STRENGTH --- */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 6px;
    background: var(--border);
    transition: all 0.3s;
}
.strength-weak   { background: #e74c3c; width: 33%; }
.strength-medium { background: #f39c12; width: 66%; }
.strength-strong { background: #27ae60; width: 100%; }

/* --- CHECKBOX --- */
.checkbox-group label { font-weight: 400; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }
.checkbox-inline { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; cursor: pointer; }
.space-between { justify-content: space-between; align-items: center; }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dk); }
.btn-full { width: 100%; margin-top: 8px; }

/* --- ALERTS --- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.alert-error { background: #fdf0f0; border: 1px solid #f5c6c6; color: #c0392b; }
.alert-error ul { padding-left: 18px; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* --- LOGIN --- */
.login-section { padding: 60px 0; }
.login-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 48px;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}
.login-box h2 { font-size: 1.6rem; color: var(--primary); margin-bottom: 6px; }
.login-box p  { color: var(--text-light); margin-bottom: 24px; }
.login-box .form-group { text-align: left; }

/* --- LINKS --- */
a { color: var(--primary); }
.login-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-mid); }

/* --- FOOTER --- */
footer {
    background: var(--text-dark);
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    margin-top: 60px;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
    .register-box, .login-box { padding: 24px 16px; }
    .form-row { grid-template-columns: 1fr; }
}
/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../../assets/images/hero-bg.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 32px;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}
.btn-outline {
    padding: 13px 32px;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* ---- QUICK SEARCH ---- */
.quick-search {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
}
.quick-search h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--primary);
}
.search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.search-row select {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
}
.btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

/* ---- STATS ---- */
.stats {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}
.stat-item h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}
.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}