/* registro.css - Estilos para el registro multi-step */

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
}

/* Steps header */
.steps-header {
    background: linear-gradient(135deg, #2A5C82 0%, #1f4a6b 100%);
}

.step-item {
    position: relative;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
    transform: translateY(-2px);
}

.step-item.completed {
    opacity: 0.9;
}

.step-item.completed .step-circle {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.active .step-circle {
    background: white;
    color: #2A5C82;
    border-color: white;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Formulario */
.form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #2A5C82;
    box-shadow: 0 0 0 0.2rem rgba(42, 92, 130, 0.25);
}

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

.input-group-text {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Botones */
.btn-primary {
    background-color: #2A5C82;
    border-color: #2A5C82;
}

.btn-primary:hover {
    background-color: #1f4a6b;
    border-color: #1f4a6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 92, 130, 0.3);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-outline-secondary {
    border-color: #e2e8f0;
}

.btn-outline-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e0;
    color: #1e293b;
}

/* Card */
.card {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Animaciones */
.step-content {
    animation: fadeIn 0.5s ease;
}

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

/* Password strength indicator */
.password-strength {
    height: 5px;
    margin-top: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Tooltips personalizados */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #1e293b;
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    display: none;
    z-index: 1000;
}

[data-tooltip]:hover:before {
    display: block;
}

/* Loading spinner */
.spinner-border {
    vertical-align: middle;
}