/**
 * REGISTRARSE.CSS - Estilos para el formulario de registro
 */

.main-content {
    padding-top: var(--header-height);
    background: var(--light-bg);
}

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

.register-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle::after {
    content: '✓';
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-line {
    height: 2px;
    background: var(--border-color);
    flex: 1;
    margin: 0 16px;
}

.step.completed + .step-line {
    background: var(--primary-color);
}

/* Form Container */
.form-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.plan-option {
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.plan-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.plan-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.plan-option.featured {
    border-color: var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.plan-price .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.plan-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

.savings {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-select-plan {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-select-plan:hover {
    background: var(--primary-hover);
}

/* Payment Summary */
.payment-summary {
    background: var(--light-bg);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 32px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
}

/* Forms */
.register-form,
.payment-form {
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

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

.form-group small {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Secure Payment */
.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.secure-payment svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    stroke-width: 2;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    flex: 1;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: var(--text-secondary);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 768px) {
    .register-section {
        padding: 40px 0 60px;
    }
    
    .progress-steps {
        padding: 24px 16px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .step-line {
        margin: 0 8px;
    }
    
    .form-container {
        padding: 32px 24px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        padding: 16px 12px;
    }
    
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .step-label {
        display: none;
    }
    
    .form-container {
        padding: 24px 16px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .plan-price .price {
        font-size: 28px;
    }
}