@font-face {
    font-family: "negrita";
    src: url('../archivos/Fuente/ariblk.ttf') format("truetype");
}

@font-face {
    font-family: "comun";
    src: url('../archivos/Fuente/arial.ttf') format("truetype");
}

/* ------------------ FORMULARIO GENERAL ------------------ */ 
input,
.form-control {
    color: white;
    background-color: rgba(255, 255, 255, 0.1); /* Fondo ligeramente visible para buen contraste */
    border: 1px solid white;
    border-radius: 8px;
    text-align: center;
    margin: auto;
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 16px;
    caret-color: white; /* Asegura que el cursor sea visible */
}

/* Placeholder */
::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Corrección específica para el campo de email si necesitás reforzar */
#email {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    caret-color: white;
    border: 1px solid white;
}


.pass {
    width: 80%;
}

.ver {
    color: white;
    background-color: transparent;
    border: white solid 1px;
    border-radius: 50px;
    width: 18%;
    height: 30px;
}

::placeholder {
    color: white;
}

.contra {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.ingresar {
    width: 100%;
    border: solid 1px #18d26e;
}

/* ------------------ LOGO ------------------ */
.logo_index {
    margin-top: 5% !important;
    margin-bottom: 5% !important;
    width: 50%;
    margin: auto;
}

.olvidar {
    width: 200px;
    font-family: "comun";
}

/* ------------------ RESPONSIVE LOGO ------------------ */
@media (max-width: 576px) {
    .logo_index {
        margin-top: 10% !important;
        margin-bottom: 10% !important;
        width: 60%;
        margin: auto;
    }
    .olvidar {
        width: 200px;
    }
    .contra {
        width: 80%;
    }
}

@media (max-width: 425px) {
    .logo_index {
        margin-top: 15% !important;
        margin-bottom: 15% !important;
        width: 80%;
        margin: auto;
    }
}

@media (max-width: 340px) {
    .logo_index {
        width: 80%;
        margin: auto;
    }
    .contra {
        width: 100%;
    }
}

@media (min-width: 576px) {
    .logo_index {
        margin-top: 40%;
        margin-bottom: 40%;
        width: 80%;
        margin: auto;
    }
}

/* ------------------ INFO BOX DETALLES AFILIADO ------------------ */
.info-box {
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro translúcido */
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); /* Efecto elegante de desenfoque */
}

.afiliado-titulo {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.subtitulo {
    font-size: 18px;
    margin: 20px 0 10px;
}

/* ------------------ TABLAS ------------------ */
.tabla-detalle,
.tabla-contrato,
.tabla-importe {
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

.tabla-detalle th,
.tabla-detalle td,
.tabla-contrato td,
.tabla-importe th,
.tabla-importe td {
    padding: 10px;
    font-size: 16px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ------------------ FORMULARIO INTERNO ------------------ */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

/* ------------------ BOTÓN ------------------ */
.btn-get-started {
    display: inline-block;
    margin-top: 20px;
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-get-started:hover {
    background-color: #218838;
}

/* ------------------ RESPONSIVE INFO BOX ------------------ */
@media screen and (max-width: 768px) {
    .info-box {
        padding: 20px;
        max-width: 90%;
    }

    .afiliado-titulo {
        font-size: 20px;
    }

    .subtitulo {
        font-size: 16px;
    }

    .tabla-detalle th,
    .tabla-detalle td,
    .tabla-contrato td,
    .tabla-importe th,
    .tabla-importe td {
        font-size: 14px;
        padding: 8px;
    }

    .btn-get-started {
        padding: 10px 20px;
        font-size: 15px;
    }
}

#introCarousel {
  position: relative;
  z-index: 1;
}

.carousel-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.carousel-content,
.info-box,
#email {
  position: relative;
  z-index: 10;
}