/* registro.css */
/* Contenedor wizard */
.wizard-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-card, 0 4px 15px rgba(0,0,0,0.2));
    background-color: var(--bg-panel, #1f1f1f);
    color: var(--text-light, #eee);
}

/* Barra de progreso con íconos y etiquetas */
.progress-wizard {
    display: flex;
    justify-content: space-around;
    position: relative;
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.progress-wizard::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 4px;
    background-color: var(--border-color, #444);
    border-radius: 2px;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    width: 36px;
    height: 36px;
    background-color: var(--bg-panel, #1f1f1f);
    border: 2px solid var(--border-color, #444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light, #eee);
    font-weight: bold;
    transition: all 0.3s ease;
}

.progress-step.completed {
    background-color: var(--primary, #caa24d);
    border-color: var(--primary, #caa24d);
    color: #fff;
}

.progress-step.active-step {
    border-width: 3px;
    transform: scale(1.1);
}

/* Etiquetas de pasos */
.progress-step-label {
    position: absolute;
    top: 45px;
    width: max-content;
    text-align: center;
    color: var(--text-light, #eee);
    font-size: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Step-form */
.step-form {
    min-height: 320px;
    background-color: var(--bg-panel, #1f1f1f);
    color: var(--text-light, #eee);
    padding: 1.5rem;
    border-radius: 12px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateX(100%);
}

.step-form.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.step-form.inactive-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}

.step-form.inactive-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

/* Inputs */
.step-form .form-control, .step-form .form-select, .step-form textarea {
    background-color: var(--input-bg, #2a2a2a);
    color: var(--text-light, #eee);
    border: 1px solid var(--border-color, #444);
    border-radius: 8px;
}

.step-form .form-control::placeholder, .step-form textarea::placeholder {
    color: #aaa;
}

.step-form .form-control:focus, .step-form .form-select:focus, .step-form textarea:focus {
    border-color: var(--primary, #caa24d);
    box-shadow: 0 0 0 2px rgba(202,162,77,0.2);
}

/* Botones */
.step-form .btn {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

.step-form .btn-primary {
    background-color: var(--primary, #caa24d);
    color: #fff;
    border: none;
}

.step-form .btn-primary:hover {
    background-color: #b38f45;
}

.step-form .btn-secondary {
    background-color: var(--secondary, #555);
    color: #fff;
    border: none;
}

.step-form .btn-secondary:hover {
    background-color: #444;
}

/* Lista de confirmación */
.step-form ul.list-group {
    background-color: var(--bg-panel, #1f1f1f);
    border-radius: 8px;
    padding: 0;
    border: 1px solid var(--border-color, #444);
}

.step-form ul.list-group li {
    background-color: var(--bg-panel, #1f1f1f);
    color: var(--text-light, #eee);
    border-bottom: 1px solid var(--border-color, #444);
    padding: 0.5rem 1rem;
}

/* Card general */
.card.wizard-container {
    border: 1px solid var(--border-color, #444);
}

/* Responsive */
@media (max-width: 768px) {
    .progress-step-label {
        font-size: 0.75rem;
    }
    .progress-wizard::before {
        left: 10%;
        right: 10%;
    }
    .step-form {
        padding: 1rem;
    }
}
