/* ===== ESTILOS PERSONALIZADOS PARA SISTEMA DE GESTIÓN PAGOS ===== */

/* Variables CSS para consistencia */
:root {
    --primary-color: #13357b;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #13357b;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease-in-out;
}

/* ===== ESTILOS GENERALES ===== */
body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: #13357b;
}

/* ===== NAVBAR PERSONALIZADO ===== */
.navbar-brand {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-image {
    transition: var(--transition);
}

/* ===== CONTENT HEADER ===== */
.content-header {
    color: var(--light-color);
    margin-bottom: 0;
}

.content-header h1 {
    color: var(--light-color);
    text-shadow: 2px 2px 4px #00000090;
}

.content-header .lead {
    color: var(--light-color);
    text-shadow: 2px 2px 4px #00000090;
    font-size: 1.1rem;
}

/* ===== CARDS MEJORADAS ===== */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-primary.card-outline {
    border-top: 3px solid var(--primary-color);
}

.card-header {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-title {
    font-weight: 600;
    color: var(--dark-color);
}

/* ===== SECCIÓN DE BENEFICIOS ===== */
.topic__rows {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.topic__rows__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    min-width: 150px;
    flex: 1;
    max-width: 200px;
    position: relative;
    overflow: hidden;
}

.topic__rows__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.topic__rows__item:hover::before {
    left: 100%;
}

.topic__rows__item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.topic__rows__item i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.topic__rows__item:hover i {
    color: var(--info-color);
    transform: scale(1.2);
}

.topic__rows__item span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-color);
    transition: var(--transition);

}

.topic__rows__item:hover span {
    color: var(--primary-color);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.topic__rows__item {
    animation: fadeInUp 0.6s ease-out;
}

.topic__rows__item:nth-child(1) {
    animation-delay: 0.1s;
}

.topic__rows__item:nth-child(2) {
    animation-delay: 0.2s;
}

.topic__rows__item:nth-child(3) {
    animation-delay: 0.3s;
}

.topic__rows__item:nth-child(4) {
    animation-delay: 0.4s;
}

.topic__rows__item:nth-child(5) {
    animation-delay: 0.5s;
}

.topic__rows__item:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===== FOOTER ===== */
.main-footer {
    color: rgb(19, 53, 123);
    border-top: none;
}

.main-footer a {
    color: rgba(19, 53, 123, 0.902);
    text-decoration: none;
    transition: var(--transition);
}

.main-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .topic__rows {
        flex-direction: column;
        align-items: center;
    }

    .topic__rows__item {
        max-width: 100%;
        width: 100%;
        margin-bottom: 1rem;
    }

    .content-header h1 {
        font-size: 1.75rem;
    }

    .content-header .lead {
        font-size: 1rem;
    }

    .navbar-brand .brand-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .topic__rows__item {
        padding: 1rem 0.5rem;
    }

    .topic__rows__item i {
        font-size: 2rem;
    }

    .topic__rows__item span {
        font-size: 0.9rem;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ===== UTILIDADES ADICIONALES ===== */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary-color), var(--info-color)) 1;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
.topic__rows__item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ===== EFECTOS ADICIONALES ===== */
.content-wrapper {
    background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%),
        url("../../public/images/fondo-login.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.card-body {
    position: relative;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-body::before {
    opacity: 1;
}

/* ===== LOADING ANIMATIONS ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.topic__rows__item:hover {
    animation: pulse 2s infinite;
}



/* Botones */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #13357b 0%, #1e4a8c 100%);
    box-shadow: 0 4px 15px rgba(19, 53, 123, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 53, 123, 0.4);
    background: linear-gradient(135deg, #0f2a63 0%, #1a4078 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}









 
 label.required::after {
        content: " *";
        color: red;
        font-weight: bold;
        font-size: 16px;
    }

    .input-container {
        display: flex;
        align-items: center;
        max-width: 400px;
    }

    .input-container input {
        flex: 1;
        height: 40px;
        border: 1px solid #ccc;
        border-radius: 4px 0 0 4px;
        padding: 0 15px;
        outline: none;
        font-size: 14px;
    }

    .input-container button {
        height: 40px;
        width: 50px;
        border: none;
        background: linear-gradient(to right, rgb(28, 89, 211), #13357b);
        border-radius: 0 4px 4px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .input-container button i {
        color: white;
        font-size: 16px;
    }

    .input-container button:hover {
        background: linear-gradient(to right, rgb(28, 89, 211), #13357b);
    }

    .input-container button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .mensaje-resultado {
        margin-top: 5px;
        min-height: 20px;
    }

    /* Resto de estilos... */
    #formulario-pasos {
        display: none;
    }

    .step-indicator {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .step {
        display: flex;
        align-items: center;
        margin: 0 10px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #e9ecef;
        color: #6c757d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-right: 10px;
    }

    .step.active .step-number {
        background: #1c59d3;
        color: white;
    }

    .step.completed .step-number {
        background: #28a745;
        color: white;
    }

    .step-content {
        display: none;
    }

    .step-content.active {
        display: block;
    }

    .step-navigation {
        display: flex;
        justify-content: between;
        margin-top: 30px;
    }

    .file-upload-area {
        border: 2px dashed #ddd;
        border-radius: 8px;
        padding: 40px;
        text-align: center;
        background: #f8f9fa;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .file-upload-area:hover {
        border-color: #1c59d3;
        background: #f0f8ff;
    }

    .file-upload-area.dragover {
        border-color: #28a745;
        background: #f0fff0;
    }

    .radio-options {
        display: flex;
        gap: 20px;
        margin-bottom: 10px;
    }

    .swal-wide {
        width: 600px !important;
    }



    .security-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        color: #13357b;
        font-size: 10px;
        font-weight: 500;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .security-badge i {
        margin-right: 5px;
    }