/* NumoHR Identity — shared auth pages (login / logout / logged-out).
   Loaded externally to satisfy CSP default-src 'self'. */

/* Poppins — the web app's font. Identity's app.min.css sets font-family:Poppins
   but ships no @font-face/files, so it falls back. Declare it here (files copied
   from HRWeb) so the auth pages render in the same font as the web app. */
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-300.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Tajawal — Arabic font (files copied from HRWeb), used on the RTL pages. */
@font-face { font-family: "Tajawal"; src: url(../fonts/Tajawal-Light.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url(../fonts/Tajawal-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url(../fonts/Tajawal-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url(../fonts/Tajawal-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --numo-teal: #0ab39c;
}

body.numo-auth {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--vz-primary, #405189);
    position: relative;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
}

/* Decorative white "bubbles" — soft translucent circles clipped by the body,
   mirroring the HRWeb dashboard hero / sidebar treatment. Purely visual. */
.numo-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.numo-bubbles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.numo-bubbles span:nth-child(1) { width: 340px; height: 340px; bottom: -150px; left: -120px; }
.numo-bubbles span:nth-child(2) { width: 210px; height: 210px; top: -90px; left: 9%; background: rgba(255, 255, 255, .05); }
.numo-bubbles span:nth-child(3) { width: 130px; height: 130px; top: 18%; right: 12%; background: rgba(255, 255, 255, .07); }
.numo-bubbles span:nth-child(4) { width: 420px; height: 420px; bottom: -190px; right: -150px; background: rgba(255, 255, 255, .05); }
.numo-bubbles span:nth-child(5) { width: 80px; height: 80px; top: 66%; left: 14%; background: rgba(255, 255, 255, .07); }
.numo-bubbles span:nth-child(6) { width: 56px; height: 56px; top: 12%; left: 42%; background: rgba(255, 255, 255, .06); }

.numo-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
}

.numo-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(20, 30, 60, .45);
}

.numo-card-head {
    position: relative;
    padding: 2.25rem 2rem 3rem;
    text-align: center;
    color: #fff;
    /* lighter tint of the primary so the card head separates from the primary page bg */
    background: linear-gradient(135deg, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, .08) 100%), var(--vz-primary, #405189);
}
.numo-card-head img { height: 78px; width: auto; }
.numo-card-head .numo-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    margin-bottom: 1rem;
}
/* white bubbles inside the header, clipped by the card's overflow:hidden */
.numo-head-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.numo-head-bubbles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
}
.numo-head-bubbles span:nth-child(1) { width: 140px; height: 140px; top: -45px; right: -35px; }
.numo-head-bubbles span:nth-child(2) { width: 90px; height: 90px; top: 15px; left: -30px; background: rgba(255, 255, 255, .07); }
.numo-head-bubbles span:nth-child(3) { width: 46px; height: 46px; top: 30px; right: 22%; background: rgba(255, 255, 255, .08); }
/* keep header content above the bubbles */
.numo-card-head .numo-badge,
.numo-card-head > a,
.numo-card-head > div:not(.numo-head-bubbles) { position: relative; z-index: 1; }

/* curved cut between header and body (sits above the bubbles) */
.numo-card-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 34px;
    background: #fff;
    border-top-left-radius: 50% 34px;
    border-top-right-radius: 50% 34px;
    z-index: 1;
}

.numo-card-body { padding: 0 2rem 2.25rem; margin-top: -.5rem; }

.numo-avatar {
    width: 58px; height: 58px;
    margin: -46px auto 1rem;
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -8px rgba(10, 179, 156, .55);
    color: var(--numo-teal);
    font-size: 1.6rem;
}

.numo-card-body .form-label { font-weight: 500; margin-bottom: .35rem; }
.numo-card-body .form-icon .form-control {
    height: 50px;
    border-radius: .7rem;
    font-size: .95rem;
    background-color: #f7f8fb;
    border-color: #eaecf1;
}
.numo-card-body .form-control:focus {
    background-color: #fff;
    border-color: rgba(var(--vz-success-rgb), .5);
    box-shadow: 0 0 0 .2rem rgba(var(--vz-success-rgb), .15);
}
.numo-card-body .auth-pass-inputgroup .password-addon {
    height: 50px;
    display: flex;
    align-items: center;
}

.btn-numo {
    height: 50px;
    border: 0;
    border-radius: .7rem;
    font-weight: 600;
    letter-spacing: .2px;
    color: #fff;
    background: linear-gradient(135deg, var(--numo-teal) 0%, #0a9d97 100%);
    transition: transform .15s ease, filter .15s ease;
}
.btn-numo:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); color: #fff; }
.btn-numo:disabled { opacity: .85; }

.numo-foot {
    position: relative; z-index: 1;
    text-align: center;
    color: rgba(255, 255, 255, .85);
    margin-top: 1.25rem;
    font-size: .8rem;
}
.numo-foot i { color: #ff6b81; }

/* language toggle — fixed at the top corner of the page (start side in reading order) */
.numo-lang {
    position: fixed;
    top: 1.35rem;
    inset-inline-end: 1.35rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: .55rem 1.05rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background .15s ease, transform .15s ease;
}
.numo-lang i { font-size: 1.15rem; }
.numo-lang:hover { background: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-1px); }

/* Arabic / RTL — use Tajawal (files copied from HRWeb). */
[dir="rtl"] body.numo-auth,
[dir="rtl"].numo-auth,
[dir="rtl"] .numo-card { font-family: "Tajawal", sans-serif; }
