
/* Línea de pasos */
.step-wrapper {
    position: relative;
}
.step-wrapper::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e9ecef;
    z-index: 0;
}
.step {
    position: relative;
    z-index: 1;
}
.step .badge {
    width: 35px;
    height: 35px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card más moderna */
.card {
    border: none;
    border-radius: 12px;
}

/* Radios como tarjetas */
.payment-option {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.payment-option:hover {
    border-color: #0d6efd;
    background: #f8f9fa;
}
.payment-option input {
    display: none;
}
.payment-option.active {
    border-color: #0d6efd;
    background: #e7f1ff;
}

/* Animación */
.step-content {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px);}
    to { opacity: 1; transform: translateY(0);}
}






:root {
            --primary-dark: #1e293b;
            --accent-blue: #3b82f6;
            --bg-light: #f8fafc;
            --border-color: #e2e8f0;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f1f5f9;
        }

        /* Contenedor de Pasos (Stepper) */
        .step-wrapper {
            position: relative;
            display: flex;
            justify-content: space-between;
            margin-bottom: 3rem;
        }

        /* Línea conectora de fondo */
        .step-wrapper::before {
            content: "";
            position: absolute;
            top: 20px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--border-color);
            z-index: 1;
        }

        .step {
            position: relative;
            z-index: 2;
            background: transparent;
        }

        .step .badge {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            font-weight: 700;
            transition: all 0.3s ease;
            border: 2px solid var(--border-color);
        }

        .step-active .badge {
            background-color: var(--accent-blue) !important;
            border-color: var(--accent-blue) !important;
            box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.2);
        }

        .step-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #64748b;
            margin-top: 0.75rem;
        }

        .step-active .step-label {
            color: var(--primary-dark);
        }

        /* Tarjeta de Contenido */
        .main-card {
            border: none;
            border-radius: 12px;
            background: #ffffff;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        /* Estilo para Opciones de Pago */
        .payment-card {
            cursor: pointer;
            border: 2px solid var(--border-color);
            border-radius: 10px;
            padding: 1.5rem;
            transition: all 0.2s;
            display: block;
            margin-bottom: 1rem;
            position: relative;
        }

        .payment-card:hover {
            border-color: var(--accent-blue);
            background-color: rgba(59, 130, 246, 0.02);
        }

        .payment-card input[type="radio"] {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
        }

        .payment-card.active {
            border-color: var(--accent-blue);
            background-color: rgba(59, 130, 246, 0.05);
        }

        /* Input de Total */
        .txtTotal {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary-dark);
            border: none;
            background: transparent;
            width: 200px;
            outline: none;
        }

        /* Alerta de Importante */
        .alert-custom {
            background-color: #fff1f2;
            border-left: 4px solid #f43f5e;
            padding: 1rem;
            color: #9f1239;
            border-radius: 6px;
        }

        /* Botones */
        .btn-next {
            background-color: var(--primary-dark);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            font-weight: 600;
            border-radius: 8px;
        }
        .btn-next:hover {
            background-color: #0f172a;
            color: white;
        }