/* =============================================
   Registration Page Specific Styles
============================================= */

.register-page {
    background: linear-gradient(135deg, #FFF5F5 0%, #F0F9FF 50%, #F5F3FF 100%);
    min-height: 100vh;
}

.register-section {
    padding: 100px 0 60px;
    min-height: 100vh;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 60px;
    align-items: start;
}

/* Left Side - Info Panel */
.register-info {
    position: sticky;
    top: 100px;
    padding: 40px;
    background: linear-gradient(135deg, #FF6B6B, #FF9F43);
    border-radius: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.info-content {
    position: relative;
    z-index: 10;
}

.info-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.register-info h1 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.register-info > p {
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 2rem;
}

.info-feature strong {
    display: block;
    font-size: 1rem;
}

.info-feature p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

.programs-preview h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.tag:hover {
    transform: scale(1.05);
}

/* Decorations */
.info-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dec-star {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
    opacity: 0.3;
}

.dec-star.dec-1 { top: 10%; right: 10%; animation-delay: 0s; }
.dec-star.dec-2 { bottom: 20%; left: 5%; animation-delay: 1s; }
.dec-star.dec-3 { top: 40%; right: 5%; animation-delay: 2s; }
.dec-star.dec-4 { bottom: 10%; right: 20%; animation-delay: 0.5s; }

/* Right Side - Form */
.register-form-wrapper {
    padding-top: 20px;
}

.form-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    padding: 30px 40px;
    text-align: center;
}

.form-header h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.register-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #E2E8F0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 20px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFE66D, #FF9F43);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #FF6B6B;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: #F8FAFC;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ECDC4;
    background: white;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #FF6B6B;
    background: #FFF5F5;
}

/* Radio & Checkbox Styles */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #F8FAFC;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: #4ECDC4;
    background: white;
}

.radio-option input,
.checkbox-option input {
    display: none;
}

.radio-custom,
.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #CBD5E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom {
    border-radius: 6px;
}

.radio-custom::after,
.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #4ECDC4;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.checkbox-custom::after {
    content: '✓';
    background: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0;
    transform: scale(0);
}

.radio-option input:checked + .radio-custom,
.checkbox-option input:checked + .checkbox-custom {
    border-color: #4ECDC4;
    background: #4ECDC4;
}

.radio-option input:checked + .radio-custom::after {
    background: white;
    transform: scale(1);
}

.checkbox-option input:checked + .checkbox-custom::after {
    transform: scale(1);
}

.radio-option input:checked ~ .radio-label,
.checkbox-option input:checked ~ .checkbox-label {
    color: #4ECDC4;
    font-weight: 700;
}

.radio-label,
.checkbox-label {
    font-weight: 600;
    color: #64748B;
    transition: all 0.3s ease;
}

.terms-checkbox {
    margin-bottom: 25px;
    background: #FFF5F5;
    border-color: #FFE66D;
}

.terms-checkbox .checkbox-label {
    font-size: 0.9rem;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #FF6B6B, #FF9F43);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Fredoka', cursive;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Google reCAPTCHA */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 2px dashed #E2E8F0;
}

.recaptcha-wrapper .g-recaptcha {
    transform-origin: center;
}

@media (max-width: 400px) {
    .recaptcha-wrapper {
        padding: 10px;
    }
    
    .recaptcha-wrapper .g-recaptcha {
        transform: scale(0.9);
        transform-origin: center;
    }
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

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

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.success-message h3 {
    color: #10B981;
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-message p {
    color: #64748B;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.registration-id {
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 20px;
}

.success-note {
    background: #F0FDF4;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #BBF7D0;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.success-message .btn-primary {
    display: inline-flex;
}

/* Error Message */
.error-message {
    background: #FEF2F2;
    border: 2px solid #FECACA;
    color: #DC2626;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* Footer */
.register-footer {
    background: transparent;
    padding: 20px 0;
}

.register-footer .footer-bottom {
    border-top: none;
    padding-top: 0;
    color: #64748B;
}

/* Active Nav Link */
.active-link {
    background: linear-gradient(135deg, #4ECDC4, #45B7D1) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .register-info {
        position: static;
    }
    
    .info-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-feature {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .register-section {
        padding: 80px 0 40px;
    }
    
    .register-info {
        padding: 30px;
    }
    
    .register-info h1 {
        font-size: 1.8rem;
    }
    
    .register-form {
        padding: 25px;
    }
    
    .form-row.two-col {
        grid-template-columns: 1fr;
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: column;
    }
    
    .radio-option,
    .checkbox-option {
        width: 100%;
    }
    
    .info-feature {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .register-container {
        padding: 0 15px;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.4rem;
    }
    
    .register-form {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}
