/* ==========================================================================
   1. CONTENEDORES Y ESTRUCTURA GENERAL
   ========================================================================== */

.login-wrapper {
    display: flex; /* Activa el motor de posicionamiento */
    justify-content: center; /* Mueve todo horizontalmente (centro, flex-start, flex-end) */
    align-items: center; /* Mueve todo verticalmente (centro, flex-start, flex-end) */
}


/* ==========================================================================
   2. LOGIN TRADICIONAL
   ========================================================================== */

/* Contenedor adaptativo para Mobile */
.login-card {
    width: 92%;
    max-width: 340px;
    border-radius: 20px !important;
    background-color: #ffffff !important; /* Fondo blanco tipo tarjeta */
    border: none !important;
    padding: 24px !important;
}

.login-title {
    letter-spacing: 0.5px;
    font-size: 29px; /* ¡Agrandado! Antes 17px */
    font-weight: 700;
}

/* Campos de entrada estilizados más delgados (flacos) */
.login-custom-group {
    background-color: #f0f0f0 !important; /* Gris claro de los inputs */
    border-radius: 10px;
    padding: 8px 14px; /* Un toque más de aire por el texto grande */
    text-align: left;
    margin-bottom: 14px !important;
}

    .login-custom-group label {
        font-size: 18px; /* ¡Agrandado! Antes 11px */
        font-weight: 600;
        color: #6c757d;
        display: block;
        margin-bottom: 0px;
        letter-spacing: 0.3px;
    }

    /* Input nativo ultra compacto */
    .login-custom-group .form-control {
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        color: #212529 !important;
        box-shadow: none !important;
        height: 28px; /* Un toque más alto para contener la nueva fuente */
        font-size: 17px; /* ¡Agrandado! Antes 15px */
    }

/* Switch compacto */
.login-switch {
    cursor: pointer;
    width: 35px !important;
    height: 18px !important;
    margin-left: 0 !important;
    margin-right: 8px !important;
}

.login-switch-label {
    cursor: pointer;
    font-weight: 500;
    font-size: 15px; /* ¡Agrandado! */
    user-select: none;
}


/* ==========================================================================
   3. LOGIN MARCACION REMOTA (CON ID)
   ========================================================================== */

/* Contenedor de la tarjeta */
.login-card-id {
    width: 92%;
    max-width: 380px;
    border-radius: 20px !important;
    padding: 32px !important;
    margin: 0 auto;
}

.login-remote-card-id {
    width: 92%;
    max-width: 480px;
}

/* Estilo de los subtítulos de los grupos */
.login-subtitle {
    font-size: 16px; /* ¡Agrandado! Antes 13px */
    font-weight: 700;
    color: #5c636a;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    text-align: center;
}

/* Contenedor de los 4 bloques */
.login-org-container {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding-bottom: 5px;
    width: 100%;
}

/* Cajas de ID adaptadas */
.login-org-input {
    width: 109px;
    height: 48px;
    border-radius: 10px !important;
    border: 1px solid #e0e0e0 !important;
    text-align: center;
    font-size: 20px !important; /* ¡Agrandado! Antes 18px */
    font-weight: 700; /* Más grueso para que resalte más */
    text-transform: uppercase;
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
}

    .login-org-input:focus {
        border-color: #cc3e3a !important;
        box-shadow: 0 0 0 2.4px rgba(204, 62, 58, 0.2) !important;
        background-color: #ffffff !important;
    }

/* Caja de la Clave de suscripción */
.login-clave-input {
    width: 120px !important;
    height: 48px;
    border-radius: 10px !important;
    border: 1px solid #e0e0e0 !important;
    text-align: center;
    font-size: 20px !important; /* ¡Agrandado! Antes 18px */
    font-weight: 700;
    background-color: #f5f5f5 !important;
}

.login-remote-icon {
    color: #cc3e3a;
}


/* ==========================================================================
   4. BOTONES Y ACCIONES
   ========================================================================== */

/* Botón estilo píldora ajustado */
.btn-login {
    background-color: #2b333f !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 18px; /* ¡Agrandado! Antes 16px */
    font-weight: 600;
    padding-top: 10px; /* Un poco más de padding vertical por el texto grande */
    padding-bottom: 10px;
    transition: background-color 0.2s ease;
}

    .btn-login:hover {
        background-color: #1a2028 !important;
    }

.btn-login-id {
    background-color: #cc3e3a !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 18px; /* ¡Agrandado! Antes 16px */
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background-color 0.2s ease;
    margin-top: 16px;
}


/* ==========================================================================
   5. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Mobile más chico */
@media (max-width: 400px) {
    .login-org-input {
        width: 58px;
        height: 48px;
        font-size: 17px !important; /* Proporcional para pantallas chicas */
    }
}
