body {
    background: url('../../img/body_login2.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* A la derecha en pantallas grandes */
    padding-right: 3%;

}

a {
    text-decoration: none;
    padding: 0;
    margin: 0;
}
/* Contenedor del formulario */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}
.login-subtitle {
        color: #f2dede;
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }


/* Tarjeta del formulario */
.card2 {
    border-radius: 10px;
    background: transparent;
    padding-inline: 2.5rem;
}

/* Estructura interna */
.car1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    
}
.boton{
    width: 20;
    border-radius: 5px;      /* Esquinas suaves */
    padding: 6px 10px;       /* Espaciado interno */
    font-size: 14px;
   
}
.btn-close{
    color: #ffffff; 
    padding: 0%;
}

.logo-img{
  display: block;
  margin: 0;
  padding: 0;
}

.color {
    color: rgb(0, 0, 0);
}

.color1 {
    background-color: #860101;
    border: 1px solid white;
    color: white;
}
.color3{
    color: #ffffff;
}
.color1:hover {
    background-color: #c50000;
}

.icon-twitter {
    color: #000000; /* Azul */
    background-color: #fff;
    border-radius: 4px;
    padding: 4px;
    transition: 0.3s;
}

.icon-twitter:hover {
    color: #fff;             /* Invertido */
    background-color: #000000;
}

/* ===== RESPONSIVE ===== */

/* TABLET Y CELULAR – DISEÑO EXACTO DE LA CAPTURA */
@media (max-width: 992px) {

    body {
        background: linear-gradient(to bottom, #0e0606 0%, #2b0303 30%, #7b0000 70%, #b40000 100%);
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 100vh;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 1.5rem 1rem 2rem;
        justify-content: center;
    }

    /* QUITAR TARJETA Y EXPANDIR */
    .login-container {
        width: 100%;
        max-width: 500px;
        padding-top: 2rem;
        padding-bottom: 3.5rem; /* evita que toque el footer */
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
        box-shadow: none;
    
    }

    .card2 {
        background: none;
        box-shadow: none;
        border: none;
        padding: 0;
        width: 100%;
        max-width: 340px;
    }

    /* LOGO SIN CÍRCULO */
    .login-container > .d-flex.align-items-center img {
        width: 100px;
        height: auto;
        border-radius: 0;
        background: none;
        padding: 0;
    }

    /* Títulos */
    .login-container h1 {
        color: #ffffff;
        margin-top: 1.2rem;
        font-size: 1.8rem;
    }

    .login-subtitle {
        color: #f2dede;
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    /* INPUTS */
    .input-group {
        border-radius: 12px;
        overflow: hidden;
        background: #dfe7ff;
        border: none;
    }

    .input-group-text {
        background: #ffffff;
        min-width: 52px;
        border: none;
    }

    .input-group .form-control {
        min-height: 40px;
        background: #dfe7ff;
        border: none;
        font-size: 0.95rem;
    }

    /* BOTÓN */
    .color1 {
        background: linear-gradient(90deg,#ae0202 0%, #330101 100%);
        /* border: none; */
        font-weight: 600;
        letter-spacing: 0.05em;
        border-radius: 12px;
        min-height: 42px;
    }
}



/* Celulares pequeños */
/* Celulares pequeños */
@media (max-width: 576px) {

    body {
        padding: 1.25rem 0.75rem;
    }

    .login-container {
        max-width: 360px;
    }

    .card2 {
        padding: 2rem 1.4rem 1.5rem;
        border-radius: 22px;
    }

    .login-container img {
        width: 68px;
        height: 68px;
    }

    .login-container h1 {
        font-size: 1.45rem;
    }

    .input-group .form-control {
        min-height: 36px;      /* un poco más baja en móviles muy pequeños */
        font-size: 0.9rem;
    }

    .boton {
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .footer-login {
        flex-direction: column;
        gap: 0.45rem;
        text-align: center;
        padding: 0.45rem 0.75rem;
    }

    .footer-login .footer-links {
        gap: 0.6rem;
    }
}


/* ================================
    FOOTER SENCILLO LOGIN
   ================================ */

.footer-login {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.footer-login p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-login a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-login a:hover {
    color: #fff;
}

.footer-login .footer-links {
    display: flex;
    gap: 1rem;
}

.footer-login .footer-links a {
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .footer-login {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem 1rem;
    }
    
    .footer-login .footer-links {
        gap: 0.75rem;
    }
}