/* Estilos para el formulario de pagos Garantías MD */

/* Estilos para mensaje de pago completado */
.pago-completado-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.pago-completado-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.icono-pago-completado {
    margin-bottom: 20px;
}

.pago-completado-titulo {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
}

.pago-completado-mensaje {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.pago-completado-detalles {
    padding: 25px;
    background: #f8f9fa;
}

.detalle-pago {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #28a745;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detalle-pago:last-child {
    margin-bottom: 0;
}

.detalle-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.detalle-valor {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.estado-pagado {
    color: #28a745;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    background: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
}

.monto-pagado {
    color: #28a745;
    font-weight: 700;
    font-size: 16px;
}

.fecha-pago {
    color: #6c757d;
    font-family: monospace;
}

.pago-completado-info {
    padding: 20px 25px;
    background: #e8f5e8;
    border-top: 1px solid #c3e6cb;
}

.info-adicional {
    margin: 8px 0;
    color: #155724;
    font-size: 14px;
    line-height: 1.4;
}

.info-adicional:first-child {
    margin-top: 0;
}

.info-adicional:last-child {
    margin-bottom: 0;
}

/* Responsive para pago completado */
@media (max-width: 768px) {
    .pago-completado-header {
        padding: 20px;
    }
    
    .pago-completado-titulo {
        font-size: 24px;
    }
    
    .pago-completado-detalles {
        padding: 20px;
    }
    
    .detalle-pago {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detalle-valor {
        font-size: 13px;
    }
    
    .pago-completado-info {
        padding: 15px 20px;
    }
}

/* Estilos para información del estudiante */
.usuario-nombre {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.usuario-datos p {
    margin: 8px 0;
    color: #34495e;
    font-size: 14px;
}

.usuario-datos strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Estilos para información académica */
.info-academica {
    padding: 10px;
}

.info-academica > div {
    margin: 12px 0;
 
    border-bottom: 1px solid #ecf0f1;
}

.info-academica > div:last-child {
    border-bottom: none;
}
#walletBrick_container{
    padding:10px !important
}

.wallet-button-3LYvBZ.svelte-ryy69b{
    padding:10px;
    background:#f8f8f8;
    border-radius:8px
}

.programa-destacado {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.programa-destacado > strong{
    display:block;
}

.institucion, .modalidad, .valor-estudiante {
    color: #2c3e50;
    font-size: 14px;
}

.institucion strong, .modalidad strong, .valor-estudiante strong {
    color: #34495e;
    font-weight: 600;
}

.valor-estudiante {
    font-size: 16px;
    font-weight: bold;
    color: #27ae60;
    background: #ecf0f1;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Estilos para el pago simplificado */
.resumen-pago {
    background: #f8f9fa;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
}

.valor-total {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.descripcion-pago {
    color: #7f8c8d;
    font-size: 14px;
    font-style: italic;
}

.boton-pagar {
    text-align: center;
    margin-top: 20px;
}

.btn-pagar {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.btn-pagar:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.4);
}

.btn-pagar:active {
    transform: translateY(0);
}

/* Estilos para el contenedor de MercadoPago Wallet Brick */
#walletBrick_container {
    margin: 0px 0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* Estilos para el botón de pago */
.boton-pago-container {
    margin: 20px 0;
    text-align: center;
}

.boton-pago-container .boton-pagar {
    margin: 0;
}

.boton-pago-container .btn-pagar {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
    min-width: 200px;
}

.boton-pago-container .btn-pagar:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.4);
}

.boton-pago-container .btn-pagar:active {
    transform: translateY(0);
}

#walletBrick_container .mercadopago-button {
    background: linear-gradient(135deg, #009ee3, #0070ba);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 158, 227, 0.3);
}

#walletBrick_container .mercadopago-button:hover {
    background: linear-gradient(135deg, #0070ba, #009ee3);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 158, 227, 0.4);
}

#walletBrick_container .mercadopago-button:active {
    transform: translateY(0);
}

/* Estilos para el loading del Wallet Brick */
#walletBrick_container .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}

#walletBrick_container .loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Placeholder para editor de Elementor */
.garantias-md-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 8px;
    margin: 10px 0;
}

/* Estilos para opciones de pago adicionales */
.opciones-pago {
    margin-top: 20px;
    padding: 0px;
         

}

.opciones-pago h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
}

.opcion-pago {
    margin-bottom: 15px;
    position: relative;
}

.opcion-pago input[type="radio"] {
    display: none;
}

.opcion-label {
    display: block;
    padding: 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.opcion-label:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.opcion-pago input[type="radio"]:checked + .opcion-label {
    border-color: #007bff !important;
    background: #e3f2fd !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
}

/* Estilos adicionales para asegurar que se apliquen */
.opcion-pago input[type="radio"]:checked + .opcion-label .opcion-titulo {
    color: #007bff !important;
    font-weight: 700 !important;
}

.opcion-pago input[type="radio"]:checked + .opcion-label .opcion-pago-valor {
    color: #28a745 !important;
    font-weight: 700 !important;
}

.opcion-titulo {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.opcion-descripcion {
    display: block;
    color: #666;
    font-size: 14px;
}

.otro-valor-input {
    margin-top: 10px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    animation: slideDown 0.3s ease;
}

.otro-valor-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 5px;
}

.otro-valor-input small {
    color: #666;
    font-size: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para selector de crÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©ditos */
.creditos-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.creditos-section h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
}

.creditos-container {
    display: grid;
    gap: 15px;
}

.credito-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.credito-item:hover {
    border-color: #007bff;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.credito-item.selected {
    border-color: #007bff;
    background: #e3f2fd;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.credito-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.credito-nombre {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.credito-tipo {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.credito-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.credito-dato {
    display: flex;
    flex-direction: column;
}

.credito-dato-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.credito-dato-valor {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.credito-saldo {
    color: #dc3545;
}

.credito-total {
    color: #28a745;
}

/* Responsive para crÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©ditos */
@media (max-width: 768px) {
    .credito-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .credito-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.garantias-md-title{
    text-align:center;
    font-size:25px;
    font-weight:700;
    margin:0;
    color:#0f3667;
    width:100%;
}

#step-cedula, #step-verificacion{
    margin:auto
}

.garantias-md-container {
    padding: 20px;
    flex-wrap: wrap;
}

.garantias-md-form {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px 30px 20px;
    margin-bottom: 20px;
}

.garantias-md-form h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.garantias-md-titulo{
    font-size:1.5em;
    font-weight:600;
    color:#1f2937;
    text-align:center
}

.garantias-md-form p{
    text-align:center;
    color:#69727d
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: none
}

.form-group input {
    width: 100%;
    padding: 8px 30px !important;
    border-style:none none solid none !important;
    border-bottom: 1px solid #2C2A29 !important;
    color: #2C2A29;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fff url('https://garantiasmd.com/wp-content/uploads/2025/10/Iconos-User-gratis-Flaticon-13.svg') 1% 50%/20px no-repeat !important
}

.form-group input:focus {
    outline: none;
    border-color: #007cba;
}

.btn {
    background: #0f3667;
    color: white;
    border-radius: 3em !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width:100%;
    position:relative
}

.btn::before{
    content: '';
    background: linear-gradient(45deg, #19365E, #007BFF, #19365E, #007BFF, #19365E, #007BFF, #19365E, #007BFF, #19365E);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: 800%;
    z-index: 1;
    filter: blur(5px);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    animation: glowing 60s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

@keyframes glowing{
    0%{
        background-position: 0 0;
    }
    50%{
        background-position: 300% 0
    }
    100%{
        background-position: 0 0;
    }
}

.btn:hover::before{
    backdrop-filter:blur(10px)
}

.btn-text, .btn-loading{
    position:relative;
    z-index:5
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ===== DISEÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œO PRINCIPAL - DOS PANELES ===== */
.garantias-md-container {
    display: flex;
    margin: 0 auto;
    align-content:center;
    max-width:700px;
    background:#fff;
    padding: 40px 36px 36px;
    border-radius:8px;
    transition: box-shadow .5s;
    box-shadow: 0 3px 12px 0 rgba(44, 42, 41, .08);
}

#step-informacion{
    margin: auto;
}

/* Panel Izquierdo - InformaciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n del Usuario */
.panel-usuario {
    flex: 0 0 100%x;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 10px 0px 10px;
    height: fit-content;
    width: 100%;
}

div#step-informacion .garantias-md-container{
    box-shadow:none
}

.panel-usuario h3 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.usuario-nombre {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.usuario-datos {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.usuario-datos p {
    margin: 5px 0;
}

.resumen-financiero {
    border-top: 1px solid #e5e7eb;
    padding-top: 15px;
    margin-top: 40px;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.resumen-label {
    color: #6b7280;
    font-size: 14px;
}

.resumen-valor {
    font-weight: 700;
    font-size: 16px;
}

.resumen-valor.total {
    color: #1f2937;
}

.total-info{
    color:#1f2937;
    text-align:right
}

.total-section{
    display:flex;
    flex-direction:column;
    width:100%;
}

.total-info{
    padding:15px 20px;
    border: 1px solid #ccc;
    border-style: solid none solid none;
    width: 100%;
}
.total-amount{
    font-size:17px;
    font-weight:bold
}

.resumen-valor.pendiente {
    color: #f59e0b;
}

/* Panel Derecho - Opciones de Pago */
.panel-pago {
    flex: 1;
    background: white;
    border-radius: 12px;
}

.panel-pago h3 {
    color: #1f2937;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 25px 0;
}

/* Selector de CrÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©dito */
.selector-credito {
    margin-bottom: 30px;
}

.selector-credito label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.selector-credito select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 3em;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.selector-credito select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Lista de Cuotas */
.cuotas-lista {
    margin-bottom: 30px;
}

.cuota-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cuota-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.cuota-item.selected {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.cuota-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cuota-numero {
    font-weight: 600;
    color: #1f2937;
    min-width: 80px;
}

.cuota-fecha {
    color: #6b7280;
    min-width: 120px;
}

.cuota-valor {
    font-weight: 600;
    color: #1f2937;
    min-width: 100px;
}

.cuota-estado {
    min-width: 100px;
}

.cuota-checkbox {
    margin-left: 15px;
}

.estado-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.estado-vencida {
    background: #fee2e2;
    color: #dc2626;
}

.estado-proxima {
    background: #fef3c7;
    color: #d97706;
}

/* Otras Opciones de Pago */

.opciones-pago h4 {
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.opcion-pago-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #ccc;
}

.opcion-pago-item:last-child {
    border-bottom: none;
}

.opcion-pago-label {
    color: #374151;
    font-weight: 500;
}

.opcion-pago-valor {
    font-weight: 600;
    color: #0c0d0e;
    font-size: 16px;
}

.input-personalizado {
    width: 150px;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    text-align: right;
}

.input-personalizado{
    border: 2px solid #e5e7eb !important;
    background:#fff !important;
    border-radius:30px !important;
    padding: 7px 15px !important
}

.input-personalizado:focus {
    outline: none;
    border-color: #3b82f6;
}

/* BotÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n de Pagar */
.boton-pagar {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
}

.boton-pagar:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.boton-pagar:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .garantias-md-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .panel-usuario {
        flex: none;
    }
    
    .tabla-cuotas {
        font-size: 12px;
    }
    
    .tabla-cuotas th,
    .tabla-cuotas td {
        padding: 10px 8px;
    }
}

/* Estilos para el botÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n de Mercado Pago */
#mercadopago-container {
    margin-top: 20px;
    text-align: center;
}

#mercadopago-container .mercadopago-button {
    background: #009ee3 !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#mercadopago-container .mercadopago-button:hover {
    background: #007bb3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.3) !important;
}

.loading-mercadopago {
    text-align: center;
    margin-top: 20px;
}

.loading-mercadopago .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step-indicator .step-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.step-indicator .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 8px;
}

.step-indicator .step-item.active .step-number {
    background: #007cba;
    color: white;
}

.step-indicator .step-item.completed .step-number {
    background: #28a745;
    color: white;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-info strong {
    font-size: 18px;
    color: #007cba;
}

.loading {
    text-align: center;
    padding: 20px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.creditos-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.creditos-info h4 {
    margin-bottom: 15px;
    color: #333;
}

.creditos-info .user-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.creditos-info .user-info strong {
    color: #007cba;
}

.cuotas-section {
    margin-bottom: 20px;
}

.cuotas-section h5 {
    color: #555;
    margin-bottom: 10px;
    font-size: 16px;
}

.cuota-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #fff;
}

.cuota-item.vencida {
    border-left: 4px solid #dc3545;
}

.cuota-item.pendiente {
    border-left: 4px solid #ffc107;
}

.cuota-item input[type="checkbox"] {
    margin-right: 10px;
}

.cuota-item .cuota-info {
    flex: 1;
}

.cuota-item .cuota-monto {
    font-weight: bold;
    color: #007cba;
}



.total-section h4 {
    margin-bottom: 10px;
}


.otp-input {
    text-align: center;
}

.otp-input input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 5px;
    border: 2px solid #ddd;
    border-radius: 6px;
}

.otp-input input:focus {
    border-color: #007cba;
    outline: none;
}

.resend-otp {
    text-align: center;
    margin-top: 15px;
}

.resend-otp a {
    color: #007cba;
    text-decoration: none;
}

.resend-otp a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

/* Estilos para el paso de verificaciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n */
.verificacion-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0px 20px 0px;
    text-align: center;
}

.verificacion-info .email-masked {
    font-weight: 600;
    color: #1976d2;
    font-size: 16px;
}

.verificacion-actions {
    margin-top: 20px;
    text-align: center;
}

.verificacion-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.verificacion-actions .btn-secondary:hover {
    background: #545b62;
}

.verificacion-actions .btn-secondary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Estilos para el input de cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³digo */
#codigo-input {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#codigo-input:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 123, 186, 0.1);
}

/* Estilos para el spinner de carga */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-container {
    text-align: center;
    padding: 40px 20px;
}

.loading-container p {
    margin-top: 20px;
    color: #666;
    font-size: 16px;
}

/* Estilos para el formulario de verificaciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n */
#verificacion-codigo-form {
    max-width: 400px;
    margin: 0 auto;
}

#verificacion-codigo-form .form-group {
    margin-bottom: 25px;
}

#verificacion-codigo-form .form-help {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .garantias-md-container {
        padding: 10px;
    }
    
    .garantias-md-form {
        padding: 20px;
    }
    
    .step-indicator {
        flex-direction: column;
        align-items: center;
    }
    
    .step-indicator .step-item {
        margin: 5px 0;
    }
    
    .creditos-info .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .cuota-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cuota-item input[type="checkbox"] {
        margin-bottom: 10px;
    }
    
    #verificacion-codigo-form {
        max-width: 100%;
    }
    
    #codigo-input {
        font-size: 18px;
        letter-spacing: 1px;
    }
}


#verificacion-info p{
    margin: 0 0 10px 0
}

/* ===== ESTILOS PARA CÃƒÆ’Ã¢â‚¬Å“DIGO DE VERIFICACIÃƒÆ’Ã¢â‚¬Å“N ===== */
.verificacion-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.verificacion-title {
    font-size: 28px;
    font-weight: 700;
    color: #202328;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.verificacion-subtitle {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    margin: 0 0 40px 0;
    line-height: 1.4;
}

.verificacion-inputs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.verificacion-input {
    width: 50px;
    height: 50px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
    outline: none;
}

.verificacion-input:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.verificacion-input.filled {
    border-color: #1e3a8a;
    background: #f8fafc;
}

.verificacion-button {
    width: 100%;
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.verificacion-button:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.verificacion-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.verificacion-resend {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.verificacion-resend-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.verificacion-resend-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.verificacion-resend-link:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

/* Animaciones para los inputs */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.verificacion-input.error {
    border-color: #dc2626;
    animation: shake 0.5s ease-in-out;
}

.verificacion-input.success {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Responsive para verificaciÃƒÆ’Ã‚Â³n */
@media (max-width: 480px) {
    .verificacion-container {
        padding: 20px 15px;
    }
    
    .verificacion-title {
        font-size: 24px;
    }
    
    .verificacion-subtitle {
        font-size: 14px;
    }
    
    .verificacion-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .verificacion-inputs-container {
        gap: 8px;
    }
    
    .verificacion-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* ===== ESTILOS PARA MONTO PERSONALIZADO ===== */
.monto-personalizado-section {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.monto-personalizado-label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.monto-personalizado-label .opcion-titulo {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.monto-personalizado-label .opcion-descripcion {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.otro-valor-input {
    margin-top: 10px;
}

.input-personalizado {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.input-personalizado:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.input-personalizado::placeholder {
    color: #adb5bd;
}

.otro-valor-input small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
}

/* div#alert-container {
    margin-top: 10px;
    padding: 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
    border-left: 4px solid #dc3545;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 14px;
    color: #721c24;
} */

div#alert-container.success {
    border-left-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

div#alert-container.warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

/* ===== ANIMACIÓN DE CARGA PROFESIONAL ===== */

/* Spinner animado para botones de carga */
.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position:relative
}
.loading-text{
    visibility:hidden
}
.btn-loading .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;

    position:absolute;
    margin:auto
}

/* Animación de rotación */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animación de pulso para el texto */
.btn-loading .loading-text {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Estilo mejorado para botones en estado de carga */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Animación de fade para transiciones suaves */
.btn-text, .btn-loading {
    transition: opacity 0.3s ease-in-out;
}

/* Spinner alternativo con puntos animados */
.btn-loading .dots {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
}

.btn-loading .dots div {
    position: absolute;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
    animation: dots 1.4s linear infinite both;
}
.retorno-header{
    color:#000
}

button#btn-descargar-comprobante {
    justify-content:center
}
button.mercadopago-button--yellow-blue-light {
    width:100% !important
}
button#btn-descargar-comprobante svg{
    z-index:5
}

a.btn.btn-secondary {
    color:#fff
}

.retorno-acciones{
    flex-wrap:nowrap !important
}

.btn-loading .dots div:nth-child(1) { left: 2px; animation-delay: -0.32s; }
.btn-loading .dots div:nth-child(2) { left: 8px; animation-delay: -0.16s; }
.btn-loading .dots div:nth-child(3) { left: 14px; animation-delay: 0s; }

@keyframes dots {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}