:root {
    --primary-red: #8B0000;
    --primary-gold: #d4af37;
    --gold-light: #fef9c3;
    --bg-cream: #fffcf5;
    --border-color: #f1e5d1;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 10px 30px rgba(139, 0, 0, 0.08);
}

body {
    background: #f8fafc;
    color: var(--text-dark);
}

.reg-container {
    max-width: 950px;
    margin: 30px auto;
    padding: 0 15px 50px 15px;
}

.reg-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.section-box {
    padding: 25px 30px;
    border-bottom: 1px dashed #e2e8f0;
}

.section-box:last-child {
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fecdd3;
}

.section-badge {
    background: var(--primary-red);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
}

.form-group label .req {
    color: #e11d48;
    margin-left: 2px;
}

.form-control {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    background: #fff;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.12);
}

.gender-toggle {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 4px;
}

.gender-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.gender-radio {
    display: none;
}

.gender-radio:checked + .gender-label {
    border-color: var(--primary-red);
    background: #fff1f2;
    color: var(--primary-red);
}

.photo-preview-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.photo-preview-box {
    width: 90px;
    height: 105px;
    border-radius: 8px;
    border: 2px solid var(--primary-gold);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.photo-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.submit-btn {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.success-card {
    text-align: center;
    padding: 50px 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 2px solid #86efac;
    max-width: 650px;
    margin: 40px auto;
}

.success-badge-id {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-red);
    background: #fef08a;
    border: 2px dashed #b45309;
    padding: 10px 25px;
    border-radius: 10px;
    display: inline-block;
    margin: 15px 0;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .section-box {
        padding: 20px 15px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.terms-disclaimer-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #d97706;
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

.terms-disclaimer-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-disclaimer-list {
    margin: 0;
    padding-left: 20px;
    color: #451a03;
    font-size: 13.5px;
    line-height: 1.65;
}

.terms-disclaimer-list li {
    margin-bottom: 5px;
}

