/* Student Registration Styles */
.registration-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 1rem;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.progress-step.active .step-number {
    background: #6366f1;
    color: white;
}

.progress-step.active .step-label {
    color: #6366f1;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
}

.progress-step.completed .step-label {
    color: #10b981;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-content {
    padding: 1rem 0;
}

.step-content h2 {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-content > p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group small {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

/* Club Info Card */
.club-info-card {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.club-info-card h3 {
    color: #0c4a6e;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.club-info-card p {
    margin-bottom: 0.5rem;
    color: #0c4a6e;
    font-size: 0.875rem;
}

.club-info-card strong {
    color: #075985;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #5b21b6;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-message p {
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Club Questions */
#club-questions-container .form-group {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #6366f1;
}

#club-questions-container .form-group label {
    color: #374151;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        padding: 0;
    }
    
    .progress-bar::before {
        display: none;
    }
    
    .progress-step {
        margin: 0.25rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
    
    .step-label {
        font-size: 0.625rem;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .step-content h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .registration-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .progress-step {
        margin: 0.125rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.6rem;
        max-width: 60px;
        line-height: 1.1;
    }
}
