* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}

a {
    text-decoration: none;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
    z-index: 1000;
    cursor: pointer;
    border-radius: 50%;
    background-color: #3A63A1;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#scrollToTopBtn:hover {
    background-color: #B60C4D;
}


.popup {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    width: 300px;
    max-width: 80%;
    margin: auto;
    margin-top: 100px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}


.navbar-custom {
    background-color: #3A63A1;
}

.navbar {
    display: flex;
    align-items: center;
    /* Centra verticalmente */
    justify-content: space-between;
    /* Asegura que el contenido esté distribuido adecuadamente */
}

.navbar-toggler {
    margin: 0 auto;
    /* Esto puede ayudar a centrar horizontalmente el botón si el espacio lo permite */
}

/* Elementos del menú */
.navbar-nav .nav-item {
    position: relative;
}

/* Fondo transparente y degradado en el lado derecho */
.navbar-nav .nav-item .nav-link {
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    display: block;
    background-color: transparent;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    top: 10%;
    /* Esto centra verticalmente el degradado */
    right: 0;
    width: 5px;
    height: 75%;
    /* Hace que el degradado ocupe solo el 80% de la altura */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
    transition: opacity 0.3s ease;
}

.navbar-nav .nav-item:hover .nav-link {
    background-color: #B60C4D;
    color: white;
}

.navbar-nav .nav-item:hover::after {
    opacity: 0;
}

.carousel-item {
    height: 100vh;
    /* Altura total de la vista */
}

.carousel-item img {
    object-fit: cover;
    /* Asegura que la imagen cubra el área */
    height: 100%;
}

.titan {
    font-family: sans-serif;
    font-size: 30px;
    color: #3C63AB; /* Color original */
    font-weight: 900;
    font-style: normal;
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Suaviza la transición */
}

.titan:hover {
    color: #B60C4D; /* Cambia a tu color deseado al pasar el mouse */
    text-decoration: underline; /* Añade una línea debajo del texto */
    cursor: pointer;
}

.aura {
    font-size: 17px;
    color: #000000;
}

.link-titulo {
    color: #3C63AB;
    font-weight: bold;
    margin-bottom: 11px;
}

/* Estilo para el enlace específico como un botón */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Esto asegura que el contenido de la card se distribuya correctamente */
    height: 100%; /* Asegura que el contenido ocupe toda la altura disponible */
}

.btn-custom {
    display: inline-block;
    color: #fff;
    background-color: #3C63AB;
    padding: 10px 24px; /* Ajuste en padding para mayor flexibilidad */
    border-radius: 21px;
    font-weight: 600;
    text-align: center; /* Centra el texto del botón */
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
    margin-top: 10px; /* Asegura que el botón tenga un pequeño espacio con el contenido superior */
    -webkit-transition: all .2s;
    transition: all .2s;
    align-self: flex-start; /* El botón se alinea al inicio de la card */
}

.btn-custom:hover {
    background-color: #B60C4D;
    transform: translateY(-2px);
}



.login {
    width: 100%;
    max-width: 450px;
    /* Aumenta el tamaño máximo del contenedor de encabezado */
    padding: 20px;
    background: #394263;
    color: #ffffff;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

/* Estilo para desactivar el enlace */
.disabled-link,
#loginButton {
    color: gray;
    cursor: not-allowed;
}

.ing {
    width: 100%;
    max-width: 450px;
    /* Aumenta el tamaño máximo del contenedor */
    padding: 30px;
    /* Aumenta el padding para darle más espacio interno */
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    /* Añadir un margen inferior entre campos */
}

.input-group-text {
    background-color: #f0f0f0;
    border: 1px solid #ced4da;
    color: #6c757d;
    border-radius: 4px 0 0 4px;
    padding: 10px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    height: 45px;
}

.btn-primary {
    background-color: #00b0f0;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #0090d0;
}

.footer-links {
    margin-top: 10px;
}

.footer-links .link {
    color: #394263;
    font-size: 14px;
    text-decoration: none;
}

.footer-links .link:hover {
    text-decoration: underline;
}

.verificar {
    width: 45%;
}

.not {
    width: 100%;
    height: 354px;
    background-position-y: bottom, top;
    background-position-x: left, right;
    background-color: #EFEFEF;
    box-shadow: 2px 2px 15px 2px #0000002e;
}

.usuario {
    width: 100%;
    height: 354px;
    background-image: url(../imagenes/channels-12_bg_01.png), url(../imagenes/channels-17_bg_02.png);
    background-repeat: no-repeat;
    background-position-y: bottom, top;
    background-position-x: left, right;
    background-color: #DAE4F5;
    box-shadow: 2px 2px 15px 2px #0000002e;
}

.btn-verificacion {
    display: inline-block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #0033a0; /* Azul Gobierno */
    border: 1px solid #002970;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.btn-verificacion:hover {
    background-color: #3b65ad;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

footer .bg-secondary {
    border-top: 100px solid #ffffff;
    margin-top: 3rem;
    background-color: #b43737 !important;
}

footer .h3 {
    font-size: 1.8rem;
}

footer p {
    font-family: 'Work Sans', sans-serif;
}

footer .small p {
    margin-bottom: .5rem;
}

footer .h3, footer .h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    color: #004884;
}

footer .card {
    margin-top: -100px;
}

footer .small {
    font-size: 91%;
}

footer a {
    color: #004884;
    text-decoration: underline;
}

footer a:hover {
    color: #B60C4D;
}

footer .bg-info {
    background-color: #3366CC !important;
}

.border-left {
    border-left: 1px solid #dee2e6 !important;
}

.ml-4, .mx-4 {
    margin-left: 1.5rem !important;
}

.pl-4, .px-4 {
    padding-left: 1.5rem !important;
}

.list-group-item.border-0 {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.list-group-item.border-0 a {
    display: flex;
    align-items: center;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; /* Tamaño del círculo */
    height: 28px; /* Tamaño del círculo */
    border-radius: 50%; /* Hace el círculo completamente redondo */
    background-color: #004884; /* Color de fondo */
    color: white; /* Color del texto */
    margin-right: 5px; /* Espacio entre el icono y el nombre de usuario */
    font-size: 0.9rem; /* Tamaño del texto del ícono */
}

.font-weight-bold {
    font-weight: 700 !important;
}

.mr-3, .mx-3 {
    margin-right: 1rem !important;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.list-group-horizontal .list-group-item {
    display: inline-flex; /* Para alinear los elementos de cada ítem en línea */
    align-items: center; /* Centrar verticalmente el contenido dentro de cada ítem */
    padding: 0 10px; /* Espacio entre los ítems */
    border: none; /* Quitar bordes si es necesario */
}

.list-group-item a {
    display: flex;
    align-items: center;
}

.login-background {
    background-image: url('tu-imagen.jpg'); /* Reemplaza 'tu-imagen.jpg' con el URL de tu imagen */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-form {
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px; /* Ajusta el ancho máximo */
}

.veridicacionpka {
    background-image: url('../imagenes/articles-pka_foto_g.jpg'); /* Cambia la ruta si es necesario */
    background-size: cover; /* La imagen cubre todo el contenedor */
    background-position: center; /* La imagen está centrada */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: flex; /* Flexbox para centrar el contenido */
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
}

/* Estilos generales para el contenedor */
.info-usuario {
    max-width: 100%;
    margin: 0 !important;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 2px 2px 15px 2px #0000002e;
}

.infotitulo {
    margin: 5px 0 50px 0;
    color: #3C63AB;
    font-weight: 700;
}

/* Estilos personalizados para la tabla */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

/* Encabezado de la tabla */
.table-header th {
    background-color: #8f8f8f; /* Fondo del encabezado */
    color: #ffffff; /* Color del texto */
    padding: 10px;
    font-weight: 700;
    border: 1px solid #dee2e6; /* Bordes de las celdas del encabezado */
}

/* Cuerpo de la tabla */
.table-body td {
    background-color: #f8f9fc; /* Fondo de las filas */
    color: #5a5c69;
    padding: 8px;
    border: 1px solid #dee2e6;
}

/* Colores alternados para filas pares en el cuerpo de la tabla */
.table-body tr:nth-child(even) td {
    background-color: #e9eaeb;
}

/* Ajuste del botón para descargar PDF */
.btn-secondary {
    background-color: #3C63AB;
    color: #ffffff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
}

.legal { 
    color: #0090d0;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: #B60C4D;
}

@media (min-width: 1200px) {
    .container {
        max-width: calc(100% - 100px);
    }
}

@media (max-width: 1010px) {
    .logo {
        padding: 40px 10px;
    }

    .carousel-item {
        height: 150vh;
        /* Altura específica para pantallas pequeñas */
    }

    .carousel-item img {
        height: 357px;
        /* Permitir que la altura de la imagen se ajuste */
        object-fit: cover;
    }

    .text-left {
        padding: 20px;
        /* Ajustar padding para mejor presentación en móviles */
        text-align: center;
        /* Centrar el texto para mejor legibilidad */
    }

    .verificar {
        width: 80%;
        font-weight: 500;
    }

    .not {
        height: auto;
    }

    .usuario {
        height: auto;
        /* Permitir que la altura se ajuste automáticamente */
        padding: 20px;
        /* Espacio alrededor del contenido */
        text-align: center;
        /* Centrar el texto en pantallas pequeñas */
    }

    .content {
        width: 80%;
        /* Ancho en pantallas pequeñas */
        flex-direction: column;
        /* Cambiar la dirección del flex a columna */
        align-items: stretch;
        /* Alinear elementos para ocupar el ancho completo */
    }

    .icon-container {
        margin-bottom: 15px;
        /* Añadir espacio entre icono y texto */
    }

    .text-container {
        margin-left: 15px;
        /* Añadir margen izquierdo */
        margin-right: 15px;
        /* Añadir margen derecho */
        text-align: left;
        /* Alinear texto a la izquierda */
    }

    .vertical-line {
        display: none;
        /* Ocultar la línea vertical en pantallas pequeñas */
    }

    .txt-men {
        text-align: center;
    }

    .txn-man {
        text-align: center;
    }

}

