/* Event Registration Page Styling */
.registration-section {
    background-color: #FDD100;
    background: linear-gradient(135deg, #C9A961 0%, #B8935F 100%);
    min-height: 90vh;
    padding: 60px 0;
}

.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 30px;
}

.event-info-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.event-info-header h2 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.event-info-header .event-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.event-info-header .event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
}

.registration-body {
    padding: 40px;
}

.member-section,
.guest-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.member-section:hover,
.guest-section:hover {
    border-color: #FDD100;
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.15);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #FDD100;
    font-weight: 700;
    font-size: 1.3rem;
}

.section-title i {
    font-size: 1.5rem;
}

.member-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #FDD100;
}

.member-info .info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.member-info .info-row:last-child {
    margin-bottom: 0;
}

.member-info .info-label {
    font-weight: 600;
    color: #6c757d;
    min-width: 100px;
}

.member-info .info-value {
    color: #333;
}

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

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.form-label .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #FDD100;
    box-shadow: 0 0 0 0.2rem rgba(155, 89, 182, 0.15);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback,
.valid-feedback {
    font-size: 0.875rem;
    margin-top: 5px;
}

.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(102, 126, 234, 0.6);
    color: white;
}

.btn-register:active {
    transform: translateY(0);
}

.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-back {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-2px);
}

.loading-spinner {
    display: none;
    margin-left: 10px;
}

.btn-register.loading .loading-spinner {
    display: inline-block;
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #0d47a1;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    background: white;
    padding: 0 20px;
    position: relative;
    color: #6c757d;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .registration-body {
        padding: 20px;
    }

    .member-section,
    .guest-section {
        padding: 20px;
    }

    .event-info-header h2 {
        font-size: 1.4rem;
    }

    .event-info-header .event-meta {
        gap: 10px;
    }

    .event-info-header .event-meta-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .btn-register {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    .btn-back {
        width: 100%;
        margin-bottom: 10px;
    }
}
