body {
    background: #f8f9fb;
    font-family: 'Segoe UI', sans-serif;
}
.login-container {
    width: 90vw;
    height: 80vh;
    margin: 2vw auto;
    display: flex;
    box-shadow: 0 6px 28px rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}
.login-left {
    flex: 1 1 50%;
    padding: 48px 40px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-title {
    font-size: 2rem;
    font-weight: bold;
    color: #373b40;
    margin-bottom: 8px;
    text-align: left;
}
.login-sub {
    color: #bbb;
    font-size: 1rem;
    margin-bottom: 32px;
}
.input-group {
    margin-bottom: 18px;
}
.login-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10000px;
    border: none;
    background: #d8e6f3;
    font-size: 1rem;
    margin-bottom: 0;
}
.login-input:focus {
    outline: 2px solid #2196f3;
}
.login-error {
    color: #fa5252;
    font-size: 0.92rem;
    margin-bottom: 8px;
}
.login-btn {
    background: #0977f8;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 10000px;
    padding: 12px 0;
    width: 40%;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.login-btn:hover {
    background: #0264c7;
}
.forgot {
    position: absolute;
    left: 32px;
    bottom: 18px;
    font-size: 0.95rem;
    color: #959595;
}
.forgot a {
    color: #0977f8;
    text-decoration: none;
}
.forgot a:hover {
    text-decoration: underline;
}
.login-right {
    flex: 1 1 50%;
    background: url("../images/Suculenta.png") center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100%;
    min-width: 0;
    padding: 0;
}
.logo-bg-square {
    background: linear-gradient(135deg, #1780d6 0%, #2173a8 100%);
    border: 4px solid #222;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.09);
    border-radius: 8px;
    padding: 0;
}
.grhp-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
}
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }
    .login-right, .login-left {
        flex: unset;
        min-width: 100%;
    }
    .logo-bg-square {
        width: 220px;
        height: 220px;
    }
    .forgot { left: 20px; bottom: 10px; }
}

/* Modal styles */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.2); z-index: 1000; display: flex; align-items: center; justify-content: center;
}
.modal {
    background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 8px 24px rgba(0,0,0,0.20); min-width: 300px; text-align:center;
}
.modal button { margin: 15px 8px 0 8px; padding: 8px 22px; border-radius: 5px; border: none; font-size: 16px; cursor: pointer; }

/* Botón “Recuperar Contraseña” (celeste claro) */
#block-reset-password {
    background: #0b5ed7;
    color: #fff;
    font-weight: 600;
}
#block-reset-password:hover {
    background: #0a52be;
}

/* Botón “OK” del mismo modal (celeste oscuro) */
#block-ok {
    background: #0b5ed7;
    color: #fff;
    font-weight: 600;
}
#block-ok:hover {
    background: #0a52be;
}