/* =========================
   RESET TOTAL (ZK FIX)
========================= */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

.z-page,
.z-page-content,
.z-window,
.z-window-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}

/* =========================
   WRAPPER FULL SCREEN
========================= */
.login2-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* =========================
   FONDO (IMAGEN ZK)
========================= */
.login2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.login2-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   OVERLAY OSCURO
========================= */
.login2-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* =========================
   CONTENEDOR PRINCIPAL
========================= */
.login2-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* =========================
   LADO IZQUIERDO
========================= */
.login2-left {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   CARD LOGIN
========================= */
.login2-card {
    width: 320px;
    padding: 30px;
    border-radius: 15px;

    background: rgba(0, 0, 0, 0.75);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* =========================
   LOGO
========================= */
.login2-logo {
    width: 110px;
    display: block;
    margin: 0 auto;
}

/* =========================
   TITULO
========================= */
.login2-title {
    text-align: center;
    color: #D4AF37;
    font-weight: bold;
    font-size: 18px;
}

/* =========================
   INPUTS
========================= */
.login2-input {
    height: 40px;
    border-radius: 8px;
    border: none;
    padding: 5px 10px;

    background: #ffffff;
    font-size: 13px;
}

.login2-input:focus {
    outline: none;
    box-shadow: 0 0 6px #D4AF37;
}

/* =========================
   CHECKBOX
========================= */
.login2-check {
    color: #cccccc;
    font-size: 12px;
}

/* =========================
   BOTON
========================= */
.login2-btn {
    background: #D4AF37;
    border: none;
    border-radius: 8px;
    padding: 10px;

    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.login2-btn:hover {
    background: #c5a030;
}

/* =========================
   LINK
========================= */
.login2-link {
    text-align: center;
    color: #aaaaaa;
    font-size: 12px;
    cursor: pointer;
}

.login2-link:hover {
    color: #ffffff;
}

/* =========================
   LADO DERECHO
========================= */
.login2-right {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   TEXTO DERECHO
========================= */
.login2-text-content {
    max-width: 600px;
}

/* TITULOS GRANDES */
.login2-title-gold {
    font-size: 60px;
    color: #D4AF37;
    font-weight: bold;
}

.login2-title-white {
    font-size: 60px;
    color: #ffffff;
    font-weight: bold;
}

/* DESCRIPCION */
.login2-description {
    color: #dddddd;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 900px) {

    .login2-container {
        flex-direction: column;
    }

    .login2-left,
    .login2-right {
        width: 100%;
        height: 50%;
    }

    .login2-title-gold,
    .login2-title-white {
        font-size: 35px;
        text-align: center;
    }

    .login2-text-content {
        text-align: center;
        padding: 20px;
    }
}


/* ===== AJUSTES UI LOGIN ===== */

.login2-card {
    width: 360px;
    padding: 40px 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.login2-logo {
    width: 160px;
    display: block;
    margin: 0 auto 10px auto;
}

.login2-title {
    text-align: center;
    color: #D4AF37;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.login2-input {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: none;
    padding: 5px 12px;
    background: #ffffff;
    font-size: 13px;
}

.login2-check {
    color: #cccccc;
    font-size: 12px;
    margin-top: 5px;
}

.login2-btn {
    width: 100%;
    background: #D4AF37;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.login2-link {
    display: block;
    text-align: center;
    color: #aaaaaa;
    font-size: 12px;
    margin-top: 10px;
}

.login2-title {
    width: 100%;
    text-align: center;
    display: block;
}

.login2-box-text {
    color: #ffffff !important;   /* 🔥 fuerza el color */
    font-size: 13px;
    line-height: 1.5;
    display: block;
}


/* Mensaje de error login */
.login2-error {
    color: #ff4d4f;      /* rojo brillante */
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    display: block;
}

















/* WRAPPER Y FONDO */
.login2-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
}

.login2-bg {
    position: absolute; top:0; left:0;
    width:100%; height:100%;
}

.login2-overlay {
    position: absolute;
    inset:0;
    background: rgba(0,0,0,0.45);
    z-index:1;
}

/* CONTENEDOR */
.login2-container {
    position: relative;
    display: flex;
    width:100%; height:100%;
    z-index:2;
}

/* LOGIN CARD */
.login2-left { width:35%; display:flex; justify-content:center; align-items:center; }
.login2-card {
    width:360px; padding:40px 30px; border-radius:15px;
    background: rgba(0,0,0,0.75); box-shadow:0 20px 50px rgba(0,0,0,0.7);
}

.login2-logo { width:160px; display:block; margin:0 auto 10px auto; }
.login2-title { text-align:center; color:#D4AF37; font-weight:bold; font-size:20px; margin-bottom:10px; }

.login2-input { width:100%; height:42px; border-radius:8px; border:none; padding:5px 12px; font-size:13px; }
.login2-check { color:#ccc; font-size:12px; margin-top:5px; }
.login2-btn { width:100%; background:#D4AF37; border:none; border-radius:8px; padding:12px; font-weight:bold; color:#000; cursor:pointer; }
.login2-btn:hover { background:#c5a030; }
.login2-link { display:block; text-align:center; color:#aaa; font-size:12px; margin-top:10px; }

/* ERROR */
.login2-error { color:red; text-align:center; margin-top:5px; font-size:13px; }

/* LADO DERECHO */
.login2-right { width:65%; display:flex; align-items:center; justify-content:center; }
.login2-text-content { max-width:600px; }
.login2-title-gold { font-size:60px; color:#D4AF37; font-weight:bold; }
.login2-title-white { font-size:60px; color:#fff; font-weight:bold; }
.login2-box-info { margin-top:20px; }
.login2-box-text { color:#fff; font-size:13px; line-height:1.5; }

/* RESPONSIVE */
@media screen and (max-width:900px) {
    .login2-container { flex-direction:column; }
    .login2-left, .login2-right { width:100%; height:50%; }
    .login2-title-gold, .login2-title-white { font-size:35px; text-align:center; }
    .login2-text-content { text-align:center; padding:20px; }
}