* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.page-wrapper {
    width: 100%;
    max-width: 520px;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

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

.form-header .event-badge {
    display: inline-block;
    background: #e8f4fd;
    color: #0077b6;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.form-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    height: 44px;
    border: 1.5px solid #dde1e6;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s;
    background: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #0077b6;
    background: #fff;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 6px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    accent-color: #0077b6;
    width: 16px;
    height: 16px;
}

.radio-option span {
    font-size: 14px;
    color: #333;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: #0077b6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #005f8a;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

/* Success page */
.success-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 50px 40px;
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #28a745;
}

.success-card h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.success-card p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 8px;
}

.success-card .note {
    font-size: 13px;
    color: #999;
    margin-top: 20px;
    margin-bottom: 8px;
}

.success-card .note.alert {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 24px;
}

.cta-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 14px 36px;
    background: #0077b6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #005f8a;
}

/* Error styling */
.error-msg {
    background: #fef2f2;
    color: #dc3545;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
}

@media (max-width: 560px) {
    .form-card, .success-card {
        padding: 28px 20px;
    }

    .form-header h1 {
        font-size: 22px;
    }
}