﻿.prestep .box {
    max-width: 600px !important;
    margin: auto;
}
#loadingpayment {
    max-width: 600px !important;
    margin: auto;
}
.is-info {
    background-color: #06384b;
    color: white;
    font-size: 14px;
}

.is-info:hover {
    background-color: #0d6080;
    color: white;
}

.is-light {
    font-size: 14px;
}

.is-success {
    background-color: #fd8a33;
    color: white;
    font-size: 14px;
}

    .is-success:hover {
        background-color: #e1843e;
        color: white;
    }

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    text-align: center;
    position: relative;
    flex: 1;
}

    /* Línea base */
    .step-item::before,
    .step-item::after {
        content: "";
        position: absolute;
        top: 18px;
        width: 50%;
        height: 3px;
        background: #deab9d;
        z-index: 1;
    }

    .step-item::before {
        left: 0;
    }

    .step-item::after {
        right: 0;
    }

    /* Quitar líneas externas */
    .step-item:first-child::before {
        display: none;
    }

    .step-item:last-child::after {
        display: none;
    }

/* Círculos */
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d59583;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* Texto */
.step-label {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #d59583;
}

/* Activo */
.step-item.active .step-circle {
    background: #ff851b;
    transform: scale(1.2);
}

.step-item.active .step-label {
    color: #ff851b;
    font-weight: bold;
}

.step-item.active::before,
.step-item.active::after {
    background: #ff851b;
}

/* Completado */
.step-item.completed .step-circle {
    background: #fab37d;
}

.step-item.completed .step-label {
    color: #fab37d;
}

.step-item.completed::before,
.step-item.completed::after {
    background: #fab37d;
}

/* Ocultar contenido */
.hidden {
    display: none !important;
}
/* tarjetas de monto: cursor y transición */
.card-monto {
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
}

    /* estado hover para dar respuesta rápida */
    .card-monto:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(18,52,86,0.06);
    }

    /* estado seleccionado (clase is-selected que usa tu JS) */
    .card-monto.is-selected {
        border-color: #3273dc; /* azul */
        background: linear-gradient(180deg, rgba(50,115,220,0.06), rgba(50,115,220,0.02));
        box-shadow: 0 8px 24px rgba(50,115,220,0.12);
        transform: translateY(-6px) scale(1.01);
    }

        /* si quieres una marca (check) dentro de la tarjeta seleccionada */
        .card-monto.is-selected::after {
            content: "✔";
            position: absolute;
            right: 12px;
            top: 8px;
            background: #fff;
            color: #3273dc;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }

#response_success {
    color: white;
}
