/* NuNu Panel — pantalla de login */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body.nunu-login,
html.nunu-login-root {
    height: 100%;
    margin: 0;
}

body.nunu-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(37, 119, 231, 0.18), transparent),
        radial-gradient(ellipse 70% 50% at 90% 90%, rgba(207, 148, 176, 0.2), transparent),
        linear-gradient(160deg, #eef4fc 0%, #f8fafc 45%, #f1f5f9 100%);
}

.nunu-login .login-box {
    background: #ffffff;
    padding: 2.5rem 2.75rem;
    border-radius: 20px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.1);
    text-align: center;
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.nunu-login .logo_img {
    width: 96px;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 6px 16px rgba(37, 119, 231, 0.2));
}

.nunu-login h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.nunu-login .form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.nunu-login label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.nunu-login .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nunu-login .form-control:focus {
    border-color: #2577e7;
    box-shadow: 0 0 0 3px rgba(37, 119, 231, 0.15);
    outline: none;
}

.nunu-login .input-group {
    position: relative;
}

.nunu-login .password-icon {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 5;
}

.nunu-login .password-icon:hover {
    color: #2577e7;
}

.nunu-login .btn-login {
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #2577e7 0%, #1a5fc4 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-top: 0.5rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 119, 231, 0.35);
}

.nunu-login .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 119, 231, 0.4);
    color: #fff;
}

.nunu-login .alert-danger {
    border-radius: 10px;
    border: none;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.875rem;
    font-weight: 500;
}
