/* =========================
   FONDO GENERAL
========================= */
html, body, body.LeadenBack {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;

    background: #ADADAD !important;
}

/* =========================
   CONTENEDOR PRINCIPAL
========================= */
.Wid95 {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px; /* separación izquierda-derecha */
}

/* =========================
   OCULTAR COLUMNAS
========================= */
.Container25 {
    display: none !important;
}

/* =========================
   TITULO PRINCIPAL
========================= */
.Container100:first-child .ui-outputlabel {
    font-size: 24px !important;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 3px;
}

/* =========================
   CARD LOGIN
========================= */
.Container50 {
    width: 420px !important;

    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);

    border-radius: 18px !important;
    padding: 40px 35px;

    border: 2px solid #2e7d32; /* 🔥 verde */
    box-shadow: 0 25px 60px rgba(0,0,0,0.30);

    position: relative;
}

/* línea superior */
.Container50::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;

    background: linear-gradient(90deg, #2e7d32, #1b5e20);
    border-radius: 18px 18px 0 0;
}

/* =========================
   TITULO LOGIN
========================= */
.Container50 .ui-outputlabel {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;

    display: block;
    text-align: center;
    margin-bottom: 15px;
}

/* forzar visibilidad */
.Container50 .ui-outputlabel:first-child {
    color: #2c2c2c !important;
    opacity: 1 !important;
}

/* =========================
   INPUTS
========================= */
.ui-inputfield {
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 14px;

    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    background: #f9fafc;

    font-size: 14px;
    transition: all 0.3s ease;
}

.ui-inputfield:focus {
    border-color: #2e7d32 !important;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.2);
    background: #ffffff;
}

/* =========================
   LINK
========================= */
.ui-commandlink {
    color: #777 !important;
    font-size: 12px;
    text-decoration: none;
}

.ui-commandlink:hover {
    color: #2e7d32 !important;
}

/* =========================
   BOTÓN
========================= */
.ui-button.White {
    width: 100%;
    margin-top: 15px;

    background: linear-gradient(135deg, #2e7d32, #1b5e20) !important;
    border: none !important;
    border-radius: 10px !important;

    color: white !important;
    padding: 12px;
    font-weight: 600;
    font-size: 15px;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.ui-button.White:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* texto interno botón */
.ui-button.White .ui-button-text {
    background: transparent !important;
    color: white !important;
}

/* quitar efectos raros */
.ui-button.White::before,
.ui-button.White::after {
    display: none !important;
}

/* =========================
   MENSAJES ERROR
========================= */
.ui-messages-error {
    background: #fff4f4 !important;
    border: 1px solid #e0a8a8 !important;
    border-radius: 8px;
}

/* =========================
   LOGO
========================= */
.logo-catastro {
    width: 120px;
    display: block;
    margin: 10px auto 20px auto;
    opacity: 0.95;
}

/* =========================
   LABELS
========================= */
.label-login {
    font-size: 11px !important;
    color: #777 !important;
    font-weight: 500;
    letter-spacing: 0.3px;

    display: block;
    margin-bottom: 4px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .Container50 {
        width: 90% !important;
        padding: 25px;
    }

    .Wid95 {
        flex-direction: column;
        gap: 30px;
    }

    .Container100:first-child .ui-outputlabel {
        font-size: 20px !important;
    }
}