/* ===================================
   LOGIN PREMIUM FACTURACIÓN
=================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Layout principal */

.login-container {
    display: flex;
    min-height: 100vh;
}

/* Panel izquierdo */

.login-side {
    flex: 1;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

/* Detalle geométrico */

.login-side::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.login-side::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -120px;
    right: -120px;
}

.side-content {
    position: relative;
    text-align: center;
    max-width: 300px;
}

.side-content h2 {
    font-weight: 600;
    margin-bottom: 10px;
}

.side-content p {
    font-size: 14px;
    opacity: 0.85;
}

/* Card login */

.login-wrapper {
    flex: 1;
    background: #1e3a46; /* fondo oscuro */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
    text-align: center;
}

/* Logo */

.login-logo img {
    width: 60px;
    margin-bottom: 20px;
}

/* Título */

.login-card h3 {
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Inputs */

.input-group-custom {
    text-align: left;
    margin-bottom: 18px;
}

.input-group-custom label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: #555;
}

.input-group-custom input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #f4f4f4;
    font-size: 14px;
    transition: all .3s ease;
}

.input-group-custom input:focus {
    background: #fff;
    border-color: #2c5364;
    box-shadow: 0 0 0 3px rgba(44,83,100,0.15);
    outline: none;
}

/* Botón */

.btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 10px;
    border: none;
    background: #2c5364;
    color: #fff;
    font-weight: 500;
    transition: .3s ease;
}

.btn-login:hover {
    background: #1f3e4b;
}

/* Links */

.extra-links {
    margin-top: 15px;
}

.extra-links a {
    font-size: 12px;
    color: #2c5364;
    text-decoration: none;
}

.extra-links a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 992px) {

    .login-side {
        display: none;
    }

    .login-wrapper {
        flex: 1;
        background: linear-gradient(135deg, #0f2027, #203a43);
    }
}


/* ojo */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 14px;
}

.toggle-password:hover {
    color: #2c5364;
}
