﻿/* ============================================================
   Thanos People - Employee Portal
   Brand system mirrored from people.thanoshotels.com (PortalFE):
   font 'Didact Gothic' · taupe #9b8f83 · ink #202124 / #363636
   ============================================================ */

body {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 16px;
    color: #363636;
    line-height: 28px;
    font-weight: 400;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #9b8f83;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #97897c;
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    color: #202124;
    font-weight: 400;
    line-height: 1.2em;
}

/* ---------- Preloader (same treatment as the careers portal) ---------- */
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #9b8f83;
}

    .preloader:after {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 120px;
        width: 120px;
        margin-left: -60px;
        margin-top: -60px;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url(../images/Logos/ThanosPeopleWhite.png);
        background-size: contain;
        content: "";
        animation: efeZoom 2.4s ease-in-out infinite;
    }

@keyframes efeZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ---------- Shell ---------- */
body.efe-app {
    background: #faf9f7;
    /* room for the fixed bottom tab bar + iOS safe area */
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.efe-topbar {
    background: #ffffff;
    border-bottom: 1px solid #ecebe7;
}

/* Text wordmark instead of the logo image (Ioannis, 2026-06-10) — dark brown brand tone,
   same letter-spaced treatment as the ID card band. Height matches the old 52/58px logo
   so the header doesn't shrink. */
.efe-brand {
    display: flex;
    align-items: center;
    height: 52px;
    text-decoration: none;
}

    .efe-brand:hover {
        text-decoration: none;
    }

.efe-brand__word {
    color: #6f5b4a;
    font-size: 17px;
    letter-spacing: 5px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .efe-brand {
        height: 58px;
    }

    .efe-brand__word {
        font-size: 19px;
        letter-spacing: 6px;
    }
}

.efe-main {
    max-width: 720px;
}

.efe-footer {
    color: #9b8f83;
    letter-spacing: 1px;
    font-size: 13px;
}

/* Topbar avatar (photo or initial) + dropdown */
.efe-avatar-btn {
    border: 0;
    background: none;
    padding: 0;
    line-height: 0;
}

.efe-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b8f83 0%, #7c7165 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(124, 113, 101, 0.25);
}

    .efe-avatar img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Enable-notifications modal (Home) */
.efe-push-modal .modal-content {
    border: 1px solid #ecebe7;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(124, 113, 101, 0.22);
}

.efe-push-modal .modal-body {
    padding: 28px 24px 20px;
}

.efe-push-modal__bell {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b8f83 0%, #7c7165 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(124, 113, 101, 0.3);
}

.efe-user-menu {
    border: 1px solid #ecebe7;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(64, 79, 104, 0.12);
    padding: 8px 0;
    min-width: 220px;
}

    .efe-user-menu .dropdown-header {
        color: #202124;
        font-size: 14px;
    }

    .efe-user-menu .dropdown-item {
        color: #696969;
        font-size: 14px;
    }

        .efe-user-menu .dropdown-item:hover {
            background: #faf9f7;
            color: #202124;
        }

/* ---------- Bottom tab bar (mobile app navigation) ---------- */
.efe-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid #ecebe7;
    padding-bottom: env(safe-area-inset-bottom);
}

.efe-tabbar__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
}

.efe-tab {
    flex: 1;
    display: block;
    text-align: center;
    padding: 9px 0 7px;
    color: #8b8b8b;
    font-size: 10.5px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

    .efe-tab svg {
        display: block;
        margin: 0 auto 3px;
        stroke: currentColor;
    }

    .efe-tab:hover {
        color: #6f655a;
    }

    /* Active tab = solid taupe pill (Ioannis 2026-06-12 — clearer than the old
       hairline underline; all five tabs identical, no raised My Card orb) */
    .efe-tab.active {
        color: #ffffff;
        background: linear-gradient(135deg, #9b8f83 0%, #7c7165 100%);
        border-radius: 14px;
        margin: 5px 5px;
        padding: 4px 0 2px;
        box-shadow: 0 4px 12px rgba(124, 113, 101, 0.30);
    }

/* The tab bar stays fixed at the BOTTOM on every screen size — the app keeps its
   mobile feel on desktop too (Ioannis, 2026-06-11). Do not re-add the docked
   under-the-header desktop variant. */

/* ---------- Page headers ---------- */
.efe-eyebrow {
    letter-spacing: 4px;
    font-size: 11px;
    color: #9b8f83;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.efe-page-title {
    font-size: 26px;
    color: #202124;
    margin-bottom: 4px;
}

.efe-page-sub {
    color: #696969;
    font-size: 14px;
}

/* ---------- Entrance cascade for page content ---------- */
.efe-stagger > * {
    opacity: 0;
    animation: fadeIn 0.55s ease-out both;
}

    .efe-stagger > :nth-child(1) { animation-delay: 0.08s; }
    .efe-stagger > :nth-child(2) { animation-delay: 0.16s; }
    .efe-stagger > :nth-child(3) { animation-delay: 0.24s; }
    .efe-stagger > :nth-child(4) { animation-delay: 0.32s; }
    .efe-stagger > :nth-child(5) { animation-delay: 0.40s; }
    .efe-stagger > :nth-child(6) { animation-delay: 0.48s; }
    .efe-stagger > :nth-child(7) { animation-delay: 0.56s; }
    .efe-stagger > :nth-child(8) { animation-delay: 0.64s; }
    .efe-stagger > :nth-child(n+9) { animation-delay: 0.72s; }

/* ---------- Feature panel (full-width card) ---------- */
.efe-panel {
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(64, 79, 104, 0.05);
}

    .efe-panel .panel-pad {
        padding: 1.15rem 1.25rem;
    }

/* ---------- Digital employee ID card (Home) ---------- */
.idcard {
    max-width: 420px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(64, 79, 104, 0.10);
}

.idcard__band {
    position: relative;
    height: 112px;
    background: linear-gradient(135deg, #9b8f83 0%, #857a6e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 17px;
    color: #ffffff;
}

.idcard__pillars {
    letter-spacing: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}

.idcard__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background: linear-gradient(135deg, #b3a99e 0%, #9b8f83 100%);
    color: #ffffff;
    font-size: 34px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -42px auto 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(124, 113, 101, 0.30);
}

    .idcard__photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.idcard__body {
    padding: 14px 24px 26px;
    text-align: center;
}

.idcard__name {
    font-size: 23px;
    color: #202124;
    margin: 10px 0 2px;
}

.idcard__role {
    color: #696969;
    font-size: 14px;
    margin-bottom: 0;
}

.idcard__meta {
    color: #9b8f83;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.idcard__divider {
    width: 60px;
    height: 1px;
    background: #ecebe7;
    margin: 0 auto 18px;
}

/* QR frame with passport-style corner ticks */
.qrframe {
    position: relative;
    width: min(280px, 78vw);
    margin: 0 auto 10px;
    padding: 14px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .qrframe img {
        width: 100%;
        display: block;
        image-rendering: pixelated;
    }

    .qrframe .tick {
        position: absolute;
        width: 22px;
        height: 22px;
        border-color: #9b8f83;
        border-style: solid;
        border-width: 0;
    }

    .qrframe .tick-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
    .qrframe .tick-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
    .qrframe .tick-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
    .qrframe .tick-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }

.idcard__payroll {
    font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
    font-size: 17px;
    letter-spacing: 3px;
    color: #202124;
}

.idcard__payroll-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #9b8f83;
    text-transform: uppercase;
}

.idcard__hint {
    color: #9b8f83;
    font-size: 12px;
    margin-top: 12px;
}

/* Fullscreen QR (maximum scan target + screen brightness) */
.qr-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .qr-fullscreen.open {
        display: flex;
    }

    .qr-fullscreen img {
        width: min(78vw, 420px);
        image-rendering: pixelated;
    }

    .qr-fullscreen .qr-fullscreen__payroll {
        font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
        font-size: 20px;
        letter-spacing: 4px;
        color: #202124;
        margin-top: 18px;
    }

    .qr-fullscreen .qr-fullscreen__close {
        color: #9b8f83;
        font-size: 13px;
        letter-spacing: 1px;
        margin-top: 10px;
    }

/* ---------- "Up next" shift snippet (Home) ---------- */
.upnext {
    max-width: 420px;
    margin: 0 auto;
}

/* ---------- Week strip (Schedule) ---------- */
.weeknav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.weeknav__label {
    color: #202124;
    font-size: 15px;
}

.weeknav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ecebe7;
    background: #ffffff;
    color: #9b8f83;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

    .weeknav__btn:hover {
        border-color: #9b8f83;
        color: #97897c;
    }

.weekstrip {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.weekstrip__day {
    flex: 1;
    text-align: center;
    padding: 9px 0 7px;
    border-radius: 12px;
    border: 1px solid #ecebe7;
    background: #ffffff;
    position: relative;
}

    .weekstrip__day .dow {
        display: block;
        font-size: 9.5px;
        letter-spacing: 1.5px;
        color: #9b8f83;
        text-transform: uppercase;
    }

    .weekstrip__day .num {
        display: block;
        font-size: 17px;
        color: #202124;
        line-height: 1.3;
    }

    .weekstrip__day.today {
        border-color: #9b8f83;
        background: #9b8f83;
    }

        .weekstrip__day.today .dow { color: rgba(255, 255, 255, 0.85); }
        .weekstrip__day.today .num { color: #ffffff; }

    .weekstrip__day .dot {
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #9b8f83;
        margin-top: 2px;
    }

    .weekstrip__day.today .dot { background: #ffffff; }

/* Day-by-day shift list */
.dayblock {
    margin-bottom: 14px;
}

.dayblock__date {
    font-size: 13px;
    letter-spacing: 1px;
    color: #696969;
    text-transform: uppercase;
    margin-bottom: 6px;
}

    .dayblock__date strong { color: #202124; }

.shiftchip {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-left: 4px solid var(--chip, #9b8f83);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.shiftchip__time {
    font-size: 16px;
    color: #202124;
    white-space: nowrap;
}

.shiftchip__name {
    color: #696969;
    font-size: 13px;
}

.shiftchip__hours {
    margin-left: auto;
    color: #9b8f83;
    font-size: 13px;
    white-space: nowrap;
}

.shiftchip--rest {
    border-left-color: #ecebe7;
    color: #9b8f83;
    font-size: 14px;
    background: #faf9f7;
}

/* ---------- Leave balances ---------- */
.balgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 576px) {
    .balgrid { grid-template-columns: repeat(3, 1fr); }
}

.balcard {
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-top: 3px solid var(--bal, #9b8f83);
    border-radius: 12px;
    padding: 12px 14px;
}

.balcard__type {
    font-size: 11px;
    letter-spacing: 1px;
    color: #696969;
    text-transform: uppercase;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.balcard__avail {
    font-size: 26px;
    color: #202124;
    line-height: 1.2;
}

    .balcard__avail small {
        font-size: 12px;
        color: #9b8f83;
    }

.balcard__detail {
    font-size: 11.5px;
    color: #9b8f83;
}

/* Request history rows + status badges */
.reqrow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #f3f2ef;
}

    .reqrow:last-child {
        border-bottom: 0;
    }

.reqrow__dates {
    color: #202124;
    font-size: 14.5px;
}

.reqrow__meta {
    color: #9b8f83;
    font-size: 12.5px;
}

.efe-badge {
    margin-left: auto;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
}

.efe-badge--pending { background: #faf3e3; color: #9a7b2d; }
.efe-badge--approved { background: #eaf4ec; color: #2e7d43; }
.efe-badge--rejected { background: #fdecea; color: #a32d2d; }
.efe-badge--cancelled { background: #f3f2ef; color: #8b8b8b; }
.efe-badge--soon { background: #f0eee9; color: #9b8f83; }

/* ---------- Clock history ---------- */
.statrow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.stattile {
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
}

.stattile__num {
    font-size: 22px;
    color: #202124;
    line-height: 1.2;
}

.stattile__label {
    font-size: 10.5px;
    letter-spacing: 1px;
    color: #9b8f83;
    text-transform: uppercase;
}

.sessrow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 4px;
    border-bottom: 1px solid #f3f2ef;
}

    .sessrow:last-child {
        border-bottom: 0;
    }

.sessrow__date {
    min-width: 64px;
    text-align: center;
}

    .sessrow__date .d {
        display: block;
        font-size: 17px;
        color: #202124;
        line-height: 1.2;
    }

    .sessrow__date .m {
        display: block;
        font-size: 10px;
        letter-spacing: 1.5px;
        color: #9b8f83;
        text-transform: uppercase;
    }

.sessrow__times {
    font-size: 15px;
    color: #202124;
}

    .sessrow__times .arrow {
        color: #9b8f83;
        margin: 0 6px;
    }

.sessrow__sched {
    font-size: 12px;
    color: #9b8f83;
}

.sessrow__net {
    margin-left: auto;
    color: #202124;
    font-size: 14px;
    white-space: nowrap;
}

    .sessrow__net small {
        color: #9b8f83;
    }

/* ---------- Announcements feed ---------- */
.newscard {
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

    .newscard.pinned {
        border-color: #d9cfc3;
        background: linear-gradient(180deg, #fdfcfa 0%, #ffffff 100%);
    }

.newscard__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.newscard__pin {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9a7b2d;
    background: #faf3e3;
    border-radius: 20px;
    padding: 3px 10px;
}

.newscard__cat {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9b8f83;
    background: #f6f4f1;
    border-radius: 20px;
    padding: 3px 10px;
}

.newscard__date {
    margin-left: auto;
    font-size: 12px;
    color: #9b8f83;
    white-space: nowrap;
}

.newscard__title {
    font-size: 17px;
    color: #202124;
    margin-bottom: 4px;
}

.newscard__body {
    color: #696969;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
}

/* ---------- Empty state ---------- */
.efe-empty {
    text-align: center;
    padding: 34px 16px;
    color: #9b8f83;
}

    .efe-empty svg {
        display: block;
        margin: 0 auto 10px;
        stroke: #d9cfc3;
    }

/* ---------- Cards ---------- */
.efe-card {
    max-width: 460px;
    border: 1px solid #ecebe7;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(64, 79, 104, 0.05);
}

    .efe-card .card-body {
        padding: 2rem 1.75rem;
    }

    .efe-card h1 {
        letter-spacing: .5px;
    }

/* ---------- Forms ---------- */
.form-label {
    color: #202124;
    margin-bottom: .35rem;
}

.form-control {
    border-color: #ecebe7;
    border-radius: 8px;
    padding: .65rem .9rem;
    color: #363636;
}

    .form-control:focus {
        border-color: #9b8f83;
        box-shadow: 0 0 0 .15rem rgba(155, 143, 131, 0.15);
    }

.form-text {
    color: #696969;
}

/* ---------- Brand button (mirrors .theme-btn.btn-style-one) ---------- */
.btn-brand {
    position: relative;
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    background-color: #9b8f83;
    font-size: 15px;
    line-height: 20px;
    border-radius: 8px;
    font-weight: 400;
    padding: 15px 35px 13px 35px;
    border: 0;
    transition: background-color .25s ease;
}

    .btn-brand:hover, .btn-brand:focus, .btn-brand:active {
        color: #ffffff;
        background-color: #97897c;
    }

.btn-outline-secondary {
    border-color: #ecebe7;
    color: #696969;
    border-radius: 8px;
}

    .btn-outline-secondary:hover {
        background: #f6f5f2;
        border-color: #9b8f83;
        color: #202124;
    }

/* ---------- Alerts (soften to the palette) ---------- */
.alert {
    border-radius: 8px;
}

/* ---------- Home / employee card ---------- */
.efe-payroll-box {
    border: 1px solid #ecebe7;
    border-radius: 8px;
    background: #faf9f7;
}

/* Honeypot field must be invisible to humans but present in the DOM for bots */
.efe-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}

/* ============================================================
   Auth split-shell — mirrors the WebHR360 back-office login
   (hero pane + auth pane), skinned in the Thanos People brand.
   ============================================================ */
.auth-page {
    background: #ffffff;
}

.auth-shell {
    display: flex;
    min-height: 100vh;
}

/* ---------- Hero pane (left) ---------- */
.auth-hero {
    flex: 1 1 64%;
    position: relative;
    background: url(../images/thanos-corporate-bg.jpg) center / cover no-repeat;
    display: flex;
    overflow: hidden; /* contains the Ken Burns drift + ambient orbs */
}

    .auth-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(43, 38, 34, 0.82) 0%, rgba(155, 143, 131, 0.55) 100%);
        z-index: 1; /* overlay stays above the drifting photo copy */
    }

    .auth-hero::after {
        /* Slow Ken Burns drift to suggest "live" software without rotation */
        content: "";
        position: absolute;
        inset: -4%;
        background: inherit;
        z-index: 0;
        animation: heroDrift 30s ease-in-out infinite alternate;
        pointer-events: none;
    }

@keyframes heroDrift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

.auth-hero__content {
    position: relative;
    z-index: 2; /* above the ambient orbs (z-index 1) */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 48px 56px;
    color: #ffffff;
}

.auth-hero__brandbar {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .auth-hero__brandbar img {
        height: 54px;
    }

.auth-hero__brandbar-text {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.auth-hero__center {
    max-width: 560px;
}

.auth-hero__headline {
    color: #ffffff;
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.headline-accent {
    color: #e4d9cc;
    font-style: italic;
}

.auth-hero__tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 30px;
    max-width: 440px;
}

.auth-hero__pillars {
    margin-top: 34px;
    letter-spacing: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.auth-hero__pillar-divider {
    margin: 0 14px;
    color: rgba(255, 255, 255, 0.35);
}

.auth-hero__footer {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Auth pane (right) ---------- */
.auth-pane {
    flex: 1 1 36%;
    max-width: 520px;
    position: relative; /* anchors the version chip + status pill */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #ffffff;
}

.auth-pane__inner {
    width: 100%;
    max-width: 360px;
    opacity: 0;
    animation: fadeIn 0.6s 0.15s ease-out both;
}

.auth-pane__mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 10px;
}

    .auth-pane__mobile-logo img {
        height: 58px;
    }

.auth-pane__portal {
    text-align: center;
    letter-spacing: 4px;
    font-size: 12px;
    color: #9b8f83;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.auth-pane__title {
    font-size: 26px;
    margin-bottom: 4px;
}

.auth-pane__subtitle {
    color: #696969;
    font-size: 15px;
    margin-bottom: 22px;
}

.auth-pane__row-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
}

    .auth-pane__row-extras .form-check-label {
        color: #696969;
        margin-left: 4px;
    }

.auth-pane__footer {
    text-align: center;
    margin-top: 34px;
    font-size: 12px;
    color: #9b8f83;
    letter-spacing: 1px;
}

/* ---------- Password show/hide ---------- */
.password-wrap {
    position: relative;
}

    .password-wrap .form-control {
        padding-right: 44px;
    }

.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9b8f83;
    padding: 6px;
    line-height: 0;
    cursor: pointer;
}

    .password-toggle .eye-closed {
        display: none;
    }

    .password-toggle.is-shown .eye-open {
        display: none;
    }

    .password-toggle.is-shown .eye-closed {
        display: inline;
    }

/* ---------- OTP step ---------- */
.otp-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #faf9f7;
    border: 1px solid #ecebe7;
    color: #9b8f83;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    animation: avatarPop 0.6s ease;
}

.otp-destination {
    color: #202124;
    font-size: 15px;
    margin-bottom: 18px;
}

.otp-input {
    text-align: center;
    letter-spacing: 8px;
    font-size: 22px;
}

.otp-countdown {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #9b8f83;
}

    .otp-countdown.expiring {
        color: #a32d2d;
    }

/* ---------- Entrance cascade (opacity-only stagger, mirrors the back office) ---------- */
.auth-hero__brandbar,
.auth-hero__headline,
.auth-hero__tagline,
.auth-hero__pillars > *,
.auth-hero__footer {
    opacity: 0;
    animation: fadeIn 0.7s ease-out both;
}

.auth-hero__brandbar { animation-delay: 0.10s; }
.auth-hero__headline { animation-delay: 0.25s; }
.auth-hero__tagline { animation-delay: 0.40s; }
.auth-hero__pillars > :nth-child(1) { animation-delay: 0.55s; }
.auth-hero__pillars > :nth-child(2) { animation-delay: 0.62s; }
.auth-hero__pillars > :nth-child(3) { animation-delay: 0.66s; }
.auth-hero__pillars > :nth-child(4) { animation-delay: 0.73s; }
.auth-hero__pillars > :nth-child(5) { animation-delay: 0.77s; }
.auth-hero__footer { animation-delay: 0.90s; }

/* ---------- Error alert shake ---------- */
.auth-pane .alert-danger {
    animation: alertShake 0.45s ease-in-out;
}

@keyframes alertShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
}

/* ---------- Returning-user avatar (photo or initial letter) ---------- */
.auth-pane__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b8f83 0%, #7c7165 100%);
    color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(124, 113, 101, 0.30);
    animation: avatarPop 0.6s ease;
    overflow: hidden;
}

.auth-pane__avatar--photo {
    background: #f4f2ef;
    box-shadow: 0 10px 26px rgba(124, 113, 101, 0.18), 0 0 0 3px #fff inset;
}

    .auth-pane__avatar img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@keyframes avatarPop {
    0% { transform: scale(0.7); opacity: 0; }
    70% { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(1); }
}

/* ---------- "Not you?" — subtle line under the greeting ---------- */
.auth-pane__not-you {
    text-align: center;
    margin: -14px 0 22px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

    .auth-pane__not-you .btn-link {
        background: none;
        border: none;
        padding: 0;
        color: #9b8f83;
        cursor: pointer;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .auth-pane__not-you .btn-link:hover {
            color: #202124;
            text-decoration: underline;
        }

/* ---------- Version chip + system status (bottom corners of the pane) ---------- */
.auth-pane__version-chip,
.auth-pane__status {
    position: absolute;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #9b8f83;
    opacity: 0;
    animation: fadeIn 0.6s 1.05s ease-out both;
}

.auth-pane__version-chip { left: 24px; }
.auth-pane__status       { right: 24px; }

.auth-pane__version-label { color: #c2b9af; }

.auth-pane__version-value {
    color: #9b8f83;
    font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.auth-pane__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: pulseDot 2s infinite;
}

.auth-pane__status-text { color: #9b8f83; }

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ---------- Ambient light orbs (injected by Scripts/auth-particles.min.js) ---------- */
.auth-hero__ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

    .auth-hero__ambient .orb {
        position: absolute;
        display: block;
        border-radius: 50%;
        filter: blur(55px);
        will-change: transform;
    }

    .auth-hero__ambient .orb-1 {
        width: 260px;
        height: 260px;
        background: rgba(255, 240, 220, 0.30);
        top: 8%;
        left: 12%;
        animation: orbDriftA 14s ease-in-out infinite alternate;
    }

    .auth-hero__ambient .orb-2 {
        width: 220px;
        height: 220px;
        background: rgba(228, 217, 204, 0.26);
        top: 40%;
        right: 18%;
        animation: orbDriftB 11s ease-in-out infinite alternate;
    }

    .auth-hero__ambient .orb-3 {
        width: 240px;
        height: 240px;
        background: rgba(232, 213, 184, 0.22);
        bottom: 12%;
        left: 35%;
        animation: orbDriftC 17s ease-in-out infinite alternate;
    }

@keyframes orbDriftA {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(35vw, 40vh, 0) scale(1.25); }
}

@keyframes orbDriftB {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-30vw, -35vh, 0) scale(0.75); }
}

@keyframes orbDriftC {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(25vw, -30vh, 0) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
    .auth-hero::after,
    .auth-hero__ambient .orb,
    .auth-pane__status-dot,
    .auth-pane__avatar,
    .otp-icon,
    .auth-pane .alert-danger {
        animation: none;
    }

    .auth-hero__brandbar,
    .auth-hero__headline,
    .auth-hero__tagline,
    .auth-hero__pillars > *,
    .auth-hero__footer,
    .auth-pane__inner,
    .auth-pane__version-chip,
    .auth-pane__status {
        opacity: 1;
        animation: none;
    }
}

/* ---------- Mobile: hero collapses, pane goes full width ---------- */
@media (max-width: 991.98px) {
    .auth-hero {
        display: none;
    }

    .auth-pane {
        max-width: none;
        flex: 1;
    }

    .auth-pane__mobile-logo {
        display: block;
    }
}

/* ---------- My Documents: letter + contract rows ---------- */
.docrow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #ecebe7;
}

    .docrow:last-of-type {
        border-bottom: none;
    }

.docrow__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f4f2ef;
    color: #9b8f83;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .docrow__icon svg {
        stroke: currentColor;
    }

.docrow__icon--contract {
    background: #eef3ee;
    color: #5d7a5f;
}

.docrow__text {
    min-width: 0;
}

.docrow__title {
    color: #202124;
    font-size: 15px;
    line-height: 1.3;
}

.docrow__sub {
    color: #9b8f83;
    font-size: 12.5px;
}

.docrow__btn {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 7px 16px;
    border-radius: 999px;
    background: #9b8f83;
    color: #ffffff !important;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .docrow__btn:hover {
        background: #7c7165;
        color: #ffffff;
        text-decoration: none;
    }

/* ---------- Letter-generating overlay (Documents downloads) ---------- */
/* Full-screen dim while the PDF renders server-side; flips to a tick when the
   efeDownloadReady cookie comes back (see Documents.aspx script block). */
.docgen {
    position: fixed;
    inset: 0;
    z-index: 1080; /* above the tab bar (1030) and the preloader */
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(32, 33, 36, 0.45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    padding: 24px;
}

    .docgen.open {
        display: flex;
        animation: fadeIn 0.25s ease-out both;
    }

.docgen__card {
    background: #ffffff;
    border: 1px solid #ecebe7;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(32, 33, 36, 0.25);
    padding: 34px 38px 28px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    animation: efeZoom 0.3s ease-out both;
}

.docgen__art {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docgen__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #ecebe7;
    border-top-color: #9b8f83;
    animation: docgenSpin 0.9s linear infinite;
}

.docgen__doc {
    animation: docgenBreathe 1.8s ease-in-out infinite;
}

.docgen__tick {
    margin: 16px auto;
    display: block;
    animation: efeZoom 0.35s ease-out both;
}

@keyframes docgenSpin {
    to { transform: rotate(360deg); }
}

@keyframes docgenBreathe {
    0%, 100% { opacity: 0.55; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

/* ---------- Tappable feed rows (e.g. completed evaluations open a detail sheet) ---------- */
.docrow--tap {
    cursor: pointer;
    border-radius: 12px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    transition: background 0.15s ease;
}

    .docrow--tap:hover,
    .docrow--tap:focus-visible {
        background: #faf9f7;
        outline: none;
    }

    .docrow--tap::after {
        content: "";
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        margin-left: 10px;
        border-right: 2px solid #c7bdb1;
        border-top: 2px solid #c7bdb1;
        transform: rotate(45deg);
        align-self: center;
    }

/* ---------- Evaluation answer sheet (full-screen, slides up) ---------- */
.evalsheet {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(32, 33, 36, 0.45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

    .evalsheet[hidden] { display: none; }

.evalsheet__panel {
    background: #ffffff;
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(32, 33, 36, 0.25);
    animation: evalSheetUp 0.28s ease-out both;
}

@keyframes evalSheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.evalsheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #ecebe7;
    position: sticky;
    top: 0;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
}

.evalsheet__close {
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #9b8f83;
    cursor: pointer;
    padding: 0 4px;
}

.evalsheet__body {
    padding: 12px 20px 28px;
    overflow-y: auto;
}

.evalsheet__cat {
    margin: 16px 0 6px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9b8f83;
}

    .evalsheet__cat:first-child { margin-top: 4px; }

.evalsheet__q {
    color: #202124;
    font-size: 15px;
    margin-top: 10px;
}

.evalsheet__a {
    color: #4a4a4a;
    font-size: 15px;
    padding: 4px 0 8px;
    border-bottom: 1px solid #f3f2ef;
}

.evalsheet__who {
    display: inline-block;
    min-width: 124px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #9b8f83;
    margin-right: 8px;
}

.evalsheet__loading { text-align: center; padding: 40px 0; }

/* (Home quick-access card removed 2026-06-10 — the ID card screen stays clean;
   secondary pages live in the avatar menu) */

/* Offline status pill + toast (efe-offline.js) */
.efe-net-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:84px;z-index:1080;background:#2b2b30;color:#fff;border-radius:999px;padding:7px 16px;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .25s ease;max-width:90vw;text-align:center}
.efe-net-pill--show{opacity:1}
.efe-toast{position:fixed;left:50%;transform:translateX(-50%) translateY(20px);bottom:96px;z-index:1090;background:#202124;color:#fff;border-radius:12px;padding:12px 18px;font-size:14px;line-height:1.35;max-width:92vw;width:max-content;box-shadow:0 10px 30px rgba(0,0,0,.22);opacity:0;transition:opacity .3s ease,transform .3s ease;text-align:center}
.efe-toast--show{opacity:1;transform:translateX(-50%) translateY(0)}
.efe-toast--ok{background:#3f7d57}
.efe-toast--warn{background:#9a6a2f}

/* ---------- Policies & SOPs reader (trusted HR-authored rich HTML body) ---------- */
.polreader__title{font-size:22px;line-height:1.25;color:#202124;margin:6px 0 4px;font-weight:600}
.polreader__meta{font-size:12px;letter-spacing:.4px;color:#9b8f83;margin:0 0 16px}
/* document-control strip (governance: owner/version/approver/review) */
.polctl{display:flex;flex-wrap:wrap;gap:10px 22px;background:#faf9f7;border:1px solid #ecebe7;border-radius:12px;padding:12px 16px;margin:0 0 18px}
.polctl__cell{display:flex;flex-direction:column;min-width:0}
.polctl__lbl{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#b4a99d;margin-bottom:1px}
.polctl__val{font-size:13px;color:#3a3a3a;font-weight:600}
.polreader{color:#3a3a3a;font-size:15px;line-height:1.62}
.polreader h1,.polreader h2,.polreader h3,.polreader h4{color:#202124;line-height:1.3;margin:22px 0 8px}
.polreader h1{font-size:20px}
.polreader h2{font-size:18px}
.polreader h3{font-size:16px}
.polreader h4{font-size:15px}
.polreader p{margin:0 0 12px}
.polreader ul,.polreader ol{margin:0 0 14px;padding-left:22px}
.polreader li{margin:0 0 6px}
.polreader a{color:#9b8f83;text-decoration:underline}
.polreader img{max-width:100%;height:auto;border-radius:8px}
.polreader table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:14px}
.polreader th,.polreader td{border:1px solid #ecebe7;padding:8px 10px;text-align:left;vertical-align:top}
.polreader th{background:#faf9f7;font-weight:600;color:#202124}
.polreader blockquote{margin:0 0 14px;padding:8px 14px;border-left:3px solid #ecebe7;color:#6d6459;background:#faf9f7;border-radius:0 8px 8px 0}
.polreader hr{border:0;border-top:1px solid #ecebe7;margin:18px 0}
/* acknowledgement footer ("I have read and understood") */
.polack{margin-top:22px;padding-top:18px;border-top:1px solid #ecebe7;text-align:center}
.polack__hint{color:#9a6a2f;background:#faf3e3;border-radius:10px;padding:9px 14px;font-size:13px;line-height:1.4;margin:0 0 14px}
.polack__btn{display:inline-block;border:0;cursor:pointer;background:#9b8f83;color:#fff;font-size:15px;line-height:20px;border-radius:999px;padding:13px 28px;transition:background .2s ease}
.polack__btn:hover{background:#7c7165}
.polack__btn:disabled{opacity:.6;cursor:default}
.polack__note{color:#b4a99d;font-size:12px;margin:10px 0 0}
.polack__done{display:inline-flex;align-items:center;gap:9px;background:#eef4ee;color:#3f7d57;border:1px solid #d6e6d9;border-radius:999px;padding:11px 22px;font-size:14px}
.polack__done svg{stroke:#3f7d57;flex:0 0 auto}
/* Home "policies awaiting acknowledgement" prompt */
.polack-prompt{max-width:420px;margin-left:auto;margin-right:auto;border-color:#e7dcc8;background:linear-gradient(180deg,#fffdf8 0%,#fff 100%)}
.polack-prompt__link{text-decoration:none;color:inherit}
.polack-prompt__link:hover{text-decoration:none;color:inherit}
.polack-prompt__icon{flex:0 0 auto;width:42px;height:42px;border-radius:12px;background:#faf3e3;color:#b07d2b;display:flex;align-items:center;justify-content:center}
.polack-prompt__text{min-width:0}
.polack-prompt .efe-eyebrow{color:#b07d2b}
.polack-prompt__title{display:block;color:#202124;font-size:16px;line-height:1.3}
.polack-prompt__sub{display:block;color:#9b8f83;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.polack-prompt__chev{margin-left:auto;flex:0 0 auto;color:#c7bdb1;font-size:26px;line-height:1}
