body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex; /* Activa Flexbox */
    align-items: center; /* Alinea verticalmente los elementos */
    justify-content: center; /* Centra el contenido horizontalmente */
    position: relative;
    padding: 10px;
    background-color: whitesmoke;
    color: rgb(4, 4, 71);
    width: 100%;
    box-sizing: border-box; /* Incluye padding y border en el ancho total */
}

.header img {
    flex-shrink: 0; /* Evita que la imagen se reduzca demasiado */
    width: 200px; /* Ajusta el tamaño para que encaje mejor */
    max-width: 20%; /* Se adapta al ancho del contenedor si es más pequeño */
    height: auto;
    margin-right: 20px; /* Espaciado entre la imagen y el texto */
}

.header h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center; /* Asegura que el texto esté centrado */
    flex: 1; /* El texto ocupa el espacio restante de manera flexible */
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

.login-box, .services {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-box h2, .services h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.login-box form {
    display: flex;
    flex-direction: column;
}

.login-box label {
    margin-bottom: 5px;
    font-weight: bold;
}

.login-box input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box button {
    padding: 10px;
    background-color: #008000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #005700;
}

.links {
    margin-top: 10px;
}

.links a {
    color: #008000;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.services ul {
    list-style-type: none;
    padding: 0;
}

.services ul li {
    margin-bottom: 10px;
}

.services ul li a {
    color: #008000;
    text-decoration: none;
}

.services ul li a:hover {
    text-decoration: underline;
}

.contact-info a {
    color: #008000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: rgb(15, 15, 128);
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Navbar Styles */
.navbar {
    background-color: #092901;
    overflow: hidden;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    float: left;
}

.navbar li a,
.dropdown .dropbtn {
    display: block;
    color: white; 
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.navbar li a:hover,
.dropdown:hover .dropbtn {
    background-color: #575757;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown-content {
    display: none;
    position: absolute;
    /* background-color: #f9f9f9; */
    background-color: #092901;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Estilos generales */
.container {
    padding: 20px;
}

.welcome-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

.profile-box p {
    text-align: left;
    margin: 10px 0;
}

/* Registro */
.login-box_registro {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-box_registro h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.login-box_registro form {
    display: flex;
    flex-direction: column;
}

.login-box_registro label {
    margin-bottom: 5px;
    font-weight: bold;
}

.login-box_registro input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box_registro button {
    padding: 10px;
    background-color: #008000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-box_registro button:hover {
    background-color: #005700;
}

.main-content_registro {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

/* Estilos para la imagen centrada */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

/* Estilos Tablas */
.text-numerocons {
    text-align: center;
    vertical-align: middle;
}

.text-textocons {
    text-align: center;
    vertical-align: middle;
}

.text-texto {
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}

.text-numero {
    text-align: right;
    font-size: 14px;
    vertical-align: middle;
}

.text-fecha {
    text-align: center;
    font-size: 14px;
    vertical-align: middle;
}

/* Botones */

.btn-primario {
    background-color: #007bff;
    color: white;
    font-size: 12px;
    padding: 5px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-primario:hover {
    background-color: white;
    color: #007bff;
    /* border: 2px solid #007bff; */
}

.btn-descargar {
    background-color: #007bff;
    color: white;
    font-size: 12px;
    padding: 5px 34px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-descargar:hover {
    background-color: white;
    color: #007bff;
    /* border: 2px solid #007bff; */
}

.btn-transferencia {
    background-color: #007bff;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-transferencia:hover {
    background-color: white;
    color: #007bff;
    /* border: 2px solid #007bff; */
}

.btn-secundario {
    background-color: #6c757d;
    color: white;
    font-size: 12px;
    padding: 5px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-secundario:hover {
    background-color: white;
    color: #6c757d;
    /* border: 2px solid #6c757d; */
}

.btn-peligro {
    background-color: #ff0000;
    color: white;
    font-size: 12px;
    padding: 5px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-peligro:hover {
    background-color: white;
    color: #ff0000;
    /* border: 2px solid #6c757d; */
}

.btn-quitar {
    background-color: #ff0000;
    color: white;
    font-size: 12px;
    padding: 5px 36px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-quitar:hover {
    background-color: white;
    color: #ff0000;
    /* border: 2px solid #6c757d; */
}

.btn-correcto {
    background-color: #009c1a;
    color: white;
    font-size: 12px;
    padding: 5px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-correcto:hover {
    background-color: white;
    color: #6c757d;
    /* border: 2px solid #6c757d; */
}

.btn-secundario1 {
    background-color: #6c757d;
    color: white;
    font-size: 12px;
    padding: 5px 7px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-secundario1:hover {
    background-color: white;
    color: #6c757d;
    /* border: 2px solid #6c757d; */
}

.btn-secundario2 {
    background-color: #6c757d;
    color: white;
    font-size: 14px;
    padding: 10px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-secundario2:hover {
    background-color: white;
    color: #6c757d;
    /* border: 2px solid #6c757d; */
}

.btn-banbajio {
    background-color: rgba(87, 59, 149, 0.7);
    color: white;
    font-size: 12px;
    padding: 5px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;

    /* text-decoration: line-through; */
}

.btn-banbajio:hover {
    background-color: white;
    color: rgba(87, 59, 149, 0.7);
    /* border: 2px solid #6c757d; */
}

.btn-bbva {
    background-color: #004481;
    color: white;
    font-size: 12px;
    padding: 5px 31px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    margin-top: 2px;
    margin-bottom: 2px;

    text-decoration: line-through;
}

.btn-bbva:hover {
    background-color: white;
    color: #004481;
    /* border: 2px solid #6c757d; */
}

iframe {
    width: 100%;
    height: 60vh; /* Ocupa el 80% de la altura de la ventana */
    border: none;
}
.back-button-vercomp, .download-button-vercomp {
    margin-top: 20px;
}

/*GEMINI*/
.pymnt-itm {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.pymnt-itm h2 {
    font-size: 1.5em;
    margin-top: 0;
}
.sctn-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.sctn-col {
    flex: 1;
}
.sctn-col label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.sctn-col input[type="text"],
.sctn-col input[type="email"],
.sctn-col input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.card-expl {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-around;
}
.credit h4, .debit h4 {
    margin: 0;
    font-size: 1em;
}
.cvv {
    max-width: 200px;
}
.half {
    max-width: 15%;
}
.l {
    margin-right: 10px;
}

.input-with-icon {
    display: flex;
    align-items: center;
}

.input-with-icon img {
    flex-shrink: 0; /* Evita que la imagen se redimensione */
}

.input-with-icon input {
    flex: 1; /* Permite que el input ocupe el espacio restante */
}

/* Estilos para inputs pequeños (Mes y Año) */
.small-input {
    width: 60px; /* Ajusta este valor según el ancho que desees */
    display: inline-block; /* Para que se puedan alinear en la misma fila */
    margin-right: 10px; /* Opcional: espacio entre los campos */
}

.contact-section {
    background: #0b111d;
    padding: 38px 0 28px 0;
    margin-top: 45px;
}
.contact-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-col {
    flex: 1 1 260px;
    min-width: 210px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    margin-bottom: 18px;
}
.contact-icon {
    margin-bottom: 16px;
}
.contact-data {
    font-size: 1.0rem;
    text-align: center;
}
.contact-data a {
    color: #e6f2ff;
    text-decoration: underline;
    font-size: 1.0rem;
    word-break: break-all;
    transition: color 0.15s;
}
.contact-data a:hover {
    color: #35e15a;
}
@media (max-width: 800px) {
    .contact-row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}