/* Custom Wizard Styles */
.wizard-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Logo Idoo Tienda */
.wizard-logo {
    max-height: 50px;
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.wizard-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.wizard-progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    z-index: 0;
    overflow: hidden;
}

.wizard-progress-line .progress-fill {
    height: 100%;
    width: 0%;
    background: #7cc027;
    background: -moz-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: -webkit-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: linear-gradient(to right, #7cc027 2%, #90d429 82%);
    transition: width 0.6s ease-out;
    border-radius: 2px;
}

.wizard-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    flex: 1;
    padding: 0 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wizard-step:hover {
    transform: translateY(-3px);
}


.wizard-step .step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #6c757d;
    transition: all 0.3s ease, background 0.5s ease;
    margin-bottom: 8px;
    border: 2px solid #e0e0e0;
    transform: scale(1) rotate(0deg);
    opacity: 1;
    position: relative;
}

.wizard-step .step-icon i.fa {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        opacity 0.3s ease;
}

.wizard-step .step-label {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-bottom: 4px;
}

.wizard-step .step-number-label {
    font-size: 0.75em;
    font-weight: bold;
    color: #6c757d;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
    position: relative;
    z-index: 2;
}

/* Active Step Styles */
.wizard-step.active .step-icon {
    background: #7cc027;
    background: -moz-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: -webkit-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: linear-gradient(to right, #7cc027 2%, #90d429 82%);
    color: #fff;
    border-color: #7cc027;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(124, 192, 39, 0.6);
}

.wizard-step.active .step-icon i.fa {
    transform: scale(1.2);
    opacity: 1;
    color: #fff;
}

.wizard-step.active .step-number-label {
    opacity: 0;
    transform: translateY(10px);
}

.wizard-step.active .step-label {
    color: #333;
    font-weight: 600;
}

/* Completed Step Styles */
.wizard-step.completed .step-icon {
    background-color: #3d730b;
    color: #fff;
    border-color: #3d730b;
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 0 10px #3d730bab;
}

.wizard-step.completed .step-icon i.fa {
    transform: scale(1);
    opacity: 1;
    color: #fff;
}

.wizard-step.completed .step-number-label {
    opacity: 0;
}

.wizard-step.completed .step-label {
    color: #666;
}

/* Wizard Content */
.wizard-content {
    display: none;
    padding: 20px 0;
    animation: fadeIn 0.5s ease-out;
}

.wizard-content.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress bar inside step 6 */
.wizard-content[data-step="6"] .progress-bar {
    height: 100%;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(124, 192, 39, 0.4);
}

/* Custom styles for gradient buttons */
.btn-gradient {
    background: #7cc027;
    background: -moz-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: -webkit-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: linear-gradient(to right, #7cc027 0%, #90d429 100%);
    border-color: #7cc027;
    color: #fff;
    transition: all 0.3s ease;
    padding: 10px 30px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #90d429;
    background: -moz-linear-gradient(left, #90d429 0%, #7cc027 100%);
    background: -webkit-linear-gradient(left, #90d429 0%, #7cc027 100%);
    background: linear-gradient(to left, #90d429 0%, #7cc027 100%);
    border-color: #90d429;
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    transform: skewX(-20deg);
    z-index: -1;
}

.btn-gradient:hover::after {
    left: 100%;
}

/* Texto gradiente para iconos o títulos */
.gradient-text1 {
    background: #7cc027;
    background: -moz-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: -webkit-linear-gradient(left, #7cc027 2%, #90d429 82%);
    background: linear-gradient(to right, #7cc027 2%, #90d429 82%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Media Queries para Responsividad Móvil --- */

/* Ajustes Generales para Dispositivos Pequeños (hasta 768px - md en Bootstrap) */
@media (max-width: 768px) {
    .wizard-card {
        margin: 20px 15px;
        /* Más margen en los lados para evitar que se pegue a los bordes */
        padding: 15px;
        /* Reducir padding general de la tarjeta */
    }

    .wizard-logo {
        max-height: 40px;
        /* Logo un poco más pequeño */
        margin-bottom: 15px;
    }

    .wizard-steps-container {
        padding-bottom: 15px;
        /* Reducir espacio debajo de la línea */
        margin-bottom: 20px;
        /* Reducir margen inferior */
    }

    .wizard-step .step-icon {
        width: 35px;
        /* Iconos más pequeños */
        height: 35px;
        font-size: 16px;
        /* Tamaño de fuente del icono */
        margin-bottom: 5px;
        /* Reducir margen */
    }

    .wizard-step .step-label {
        font-size: 0.75em;
        /* Etiqueta más pequeña */
        white-space: nowrap;
        /* Evita que el texto se rompa en varias líneas */
        overflow: hidden;
        text-overflow: ellipsis;
        /* Añade puntos suspensivos si el texto es muy largo */
        max-width: 100%;
        /* Asegura que no se desborde */
    }

    .wizard-step .step-number-label {
        font-size: 0.65em;
        /* Número más pequeño */
    }

    /* Contenido de los pasos */
    .wizard-content {
        padding: 15px 0;
        /* Reducir padding del contenido de los pasos */
    }

    /* Botones de navegación */
    .btn-gradient,
    .btn-secondary {
        padding: 8px 20px;
        /* Botones más pequeños */
        font-size: 1rem;
    }
}

/* Ajustes para Dispositivos Extra Pequeños (hasta 576px - sm en Bootstrap) */
@media (max-width: 576px) {
    .wizard-card {
        margin: 10px;
        /* Margen aún más pequeño */
        padding: 10px;
    }

    .wizard-steps-container {
        padding-bottom: 10px;
        margin-bottom: 15px;
        /* Permitir que los pasos se envuelvan si es necesario */
        flex-wrap: wrap;
    }

    .wizard-step {
        flex: 0 0 10%;
        /* Limitar el ancho de cada paso para 3 por línea (aprox) */
        margin-bottom: 10px;
        /* Margen si se envuelven */
    }

    .wizard-step .step-label,
    .wizard-step .step-number-label {
        display: none;
        /* Ocultar labels y números para ahorrar espacio */
    }

    .wizard-step .step-icon {
        width: 30px;
        /* Iconos aún más pequeños */
        height: 30px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .card-header h3 {
        font-size: 1.25rem;
        /* Título del wizard más pequeño */
    }

    .wizard-logo {
        max-height: 35px;
    }

    /* Botones de navegación */
    .btn-gradient,
    .btn-secondary {
        width: 100%;
        /* Botones ocupan todo el ancho */
        margin-left: 0 !important;
        /* Eliminar ms-auto de Bootstrap */
        margin-right: 0 !important;
        margin-top: 10px;
        /* Espacio entre botones si se apilan */
    }

    .d-flex.justify-content-between.mt-4 {
        flex-direction: column;
        /* Apilar botones verticalmente */
        align-items: center;
        /* Centrar botones apilados */
    }
}
.text-success {
    color: #7cc027 !important;
}
 #user-status {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 9999;
  }
  #user-status img {
    border: 2px solid #fff;
  }