/* AXOM HMS — Signature premium welcome · login · launcher */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --ax-ink: #07111f;
    --ax-ink-soft: #0f1c2e;
    --ax-sea: #0e7490;
    --ax-teal: #14b8a6;
    --ax-sky: #38bdf8;
    --ax-gold: #fbbf24;
    --ax-mist: #e8f0f7;
    --ax-glass: rgba(255, 255, 255, 0.08);
    --ax-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ax-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes ax-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -22px, 0) scale(1.06); }
}
@keyframes ax-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ax-pulse-soft {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.75; }
}
@keyframes ax-glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.15); }
    50% { box-shadow: 0 0 28px 2px rgba(20, 184, 166, 0.28); }
}

/* ═══════════════════════════════════════════
   Welcome command bar
   ═══════════════════════════════════════════ */
.ax-welcome {
    --ax-w-text: #f8fafc;
    --ax-w-muted: #94a3b8;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(20, 184, 166, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(56, 189, 248, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse 50% 40% at 80% 100%, rgba(14, 116, 144, 0.35) 0%, transparent 50%),
        linear-gradient(145deg, #060d18 0%, #0c1a2e 40%, #0a2438 70%, #082028 100%);
    border-radius: 24px;
    padding: 28px 30px 26px;
    margin-bottom: 28px;
    color: var(--ax-w-text);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 28px 64px rgba(7, 17, 31, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    animation: ax-rise 0.55s var(--ax-ease) both;
    font-family: "DM Sans", system-ui, sans-serif;
}

.ax-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
    opacity: 0.7;
}

.ax-welcome::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b8a6, #38bdf8, #2dd4bf, transparent);
    background-size: 200% 100%;
    animation: ax-shimmer 7s linear infinite;
}

.ax-welcome > * { position: relative; z-index: 1; }

.ax-welcome__hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.ax-welcome__greeting {
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.ax-welcome__greeting .ax-welcome__hello {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 6px;
    opacity: 0.9;
}

.ax-welcome__name {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.15em;
    background: linear-gradient(105deg, #99f6e4 0%, #7dd3fc 45%, #a5f3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 12px rgba(45, 212, 191, 0.25));
}

.ax-welcome__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: "DM Sans", system-ui, sans-serif;
    font-style: normal;
}

.ax-welcome__badge--birthday {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.ax-welcome__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--ax-w-muted);
}

.ax-welcome__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s;
}

.ax-welcome__meta span:hover {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(45, 212, 191, 0.25);
}

.ax-welcome__meta i { color: #5eead4; font-size: 0.72rem; }

.ax-welcome__occasion {
    margin-top: 14px;
    font-size: 0.88rem;
    color: #fde68a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(251, 191, 36, 0.28);
}

.ax-welcome__last-login {
    margin-top: 10px;
    color: #64748b !important;
    font-size: 0.78rem !important;
}

.ax-welcome__context {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

.ax-welcome__clock {
    text-align: right;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    min-width: 168px;
    animation: ax-glow-pulse 4s ease-in-out infinite;
}

.ax-welcome__time {
    font-size: clamp(1.45rem, 3.2vw, 1.85rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    background: linear-gradient(180deg, #fff 30%, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ax-welcome__date {
    font-size: 0.75rem;
    color: var(--ax-w-muted);
    margin-top: 6px;
    font-weight: 500;
}

.ax-welcome__weather {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 18px;
    min-width: 138px;
    transition: transform 0.25s var(--ax-ease), background 0.25s;
}

.ax-welcome__weather:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.11);
}

.ax-welcome__weather > i {
    font-size: 1.85rem;
    color: #7dd3fc;
    filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.45));
}

.ax-welcome__weather-temp { font-weight: 800; font-size: 1.2rem; line-height: 1.1; letter-spacing: -0.02em; }
.ax-welcome__weather-city { font-size: 0.7rem; color: var(--ax-w-muted); margin-top: 3px; font-weight: 500; }

.ax-welcome__quote {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #14b8a6;
    font-size: 0.9rem;
    font-style: italic;
    font-family: "Instrument Serif", Georgia, serif;
    color: #cbd5e1;
    line-height: 1.55;
}

.ax-welcome__myday { margin-top: 22px; }

.ax-welcome__myday-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ax-welcome__myday-title i {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.ax-welcome__myday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 12px;
}

.ax-myday-tile {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.28s var(--ax-ease), background 0.28s, box-shadow 0.28s, border-color 0.28s;
    position: relative;
    overflow: hidden;
    animation: ax-rise 0.5s var(--ax-ease) both;
}

.ax-myday-tile:nth-child(1) { animation-delay: 0.05s; }
.ax-myday-tile:nth-child(2) { animation-delay: 0.1s; }
.ax-myday-tile:nth-child(3) { animation-delay: 0.15s; }
.ax-myday-tile:nth-child(4) { animation-delay: 0.2s; }
.ax-myday-tile:nth-child(5) { animation-delay: 0.25s; }
.ax-myday-tile:nth-child(6) { animation-delay: 0.3s; }

.ax-myday-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 1;
}

.ax-myday-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.28s;
    pointer-events: none;
}

.ax-myday-tile--primary::before { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.ax-myday-tile--success::before { background: linear-gradient(90deg, #059669, #34d399); }
.ax-myday-tile--danger::before { background: linear-gradient(90deg, #dc2626, #f87171); }
.ax-myday-tile--warning::before { background: linear-gradient(90deg, #d97706, #fbbf24); }
.ax-myday-tile--info::before { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.ax-myday-tile--secondary::before { background: linear-gradient(90deg, #475569, #94a3b8); }

.ax-myday-tile:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(94, 234, 212, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(45, 212, 191, 0.12);
    color: inherit !important;
}

.ax-myday-tile:hover::after { opacity: 1; }

.ax-myday-tile__icon {
    font-size: 0.95rem;
    margin-bottom: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #5eead4;
}

.ax-myday-tile__val {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ax-myday-tile__lbl {
    font-size: 0.72rem;
    color: var(--ax-w-muted);
    margin-top: 4px;
    font-weight: 600;
}

.ax-myday-tile__hint {
    font-size: 0.64rem;
    color: #64748b;
    margin-top: 5px;
}

.ax-welcome__announcements { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }

.ax-welcome__ann {
    font-size: 0.82rem;
    padding: 11px 15px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    border-left: 3px solid #38bdf8;
}

.ax-welcome__ann--warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

/* ═══════════════════════════════════════════
   Pinned modules
   ═══════════════════════════════════════════ */
.ax-pinned {
    background: linear-gradient(165deg, #ffffff 0%, #f4f9fc 100%);
    border: 1px solid rgba(14, 116, 144, 0.1);
    border-radius: 20px;
    padding: 20px 22px;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(7, 17, 31, 0.06);
    animation: ax-rise 0.55s var(--ax-ease) 0.08s both;
}

.ax-pinned__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
}

.ax-pinned__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "DM Sans", system-ui, sans-serif;
}

.ax-pinned__title i {
    color: #f59e0b;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.4));
}

.ax-pinned__grid { display: flex; flex-wrap: wrap; gap: 10px; }

.ax-pinned__card {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none !important;
    color: #0f172a !important;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.25s var(--ax-ease);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.ax-pinned__card:hover {
    background: linear-gradient(135deg, #ecfeff, #f0fdfa);
    border-color: #99f6e4;
    color: #0f766e !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.15);
}

.ax-pinned__card i { color: #f59e0b; }

.ax-pinned__candidates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

.ax-pinned__check {
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.15s;
}

.ax-pinned__check:hover { background: #f0fdfa; }

/* ═══════════════════════════════════════════
   Premium login
   ═══════════════════════════════════════════ */
.ax-login-page {
    min-height: 100vh;
    width: 100%;
    font-family: "DM Sans", system-ui, sans-serif;
}

.authImage:has(.ax-login-page) {
    background: none !important;
    background-image: none !important;
    min-height: 100vh;
    padding: 0 !important;
}

.ax-login-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
}

@media (max-width: 992px) {
    .ax-login-split { grid-template-columns: 1fr; }
    .ax-login-split__brand { display: none !important; }
    .ax-login-split__panel {
        background:
            radial-gradient(ellipse at 50% 0%, #0c1a2e 0%, #07111f 42%),
            #f4f8fb !important;
        padding-top: 80px !important;
        background-size: 100% 38%, 100% 100% !important;
        background-repeat: no-repeat !important;
    }
}

.ax-login-split__brand {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 15% 20%, rgba(20, 184, 166, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 90% 10%, rgba(56, 189, 248, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 90%, rgba(14, 116, 144, 0.4) 0%, transparent 55%),
        linear-gradient(155deg, #040a12 0%, #0a1628 42%, #0b2233 78%, #061820 100%);
    color: #f8fafc;
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ax-login-split__brand-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ax-login-split__brand-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 65% 60% at 40% 45%, #000 15%, transparent 70%);
    opacity: 0.85;
}

.ax-login-split__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: ax-float 14s ease-in-out infinite;
}

.ax-login-split__orb--1 {
    width: 320px;
    height: 320px;
    background: #14b8a6;
    top: -80px;
    right: -60px;
    animation: ax-float 14s ease-in-out infinite, ax-pulse-soft 6s ease-in-out infinite;
}

.ax-login-split__orb--2 {
    width: 260px;
    height: 260px;
    background: #0ea5e9;
    bottom: 8%;
    left: -70px;
    animation-delay: -5s;
}

.ax-login-split__orb--3 {
    width: 180px;
    height: 180px;
    background: #2dd4bf;
    bottom: -40px;
    right: 22%;
    animation-delay: -9s;
}

.ax-login-split__brand-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    animation: ax-rise 0.7s var(--ax-ease) both;
}

.ax-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.25);
}

.ax-login-eyebrow i { font-size: 0.65rem; }

.ax-login-split__brand h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 2.65rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}

.ax-login-split__brand-content > .ax-login-lead {
    color: #94a3b8;
    max-width: 400px;
    line-height: 1.65;
    font-size: 0.98rem;
    margin-bottom: 0;
}

.ax-login-split__live {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: stretch;
}

.ax-login-live-card {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.ax-login-split__clock {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.15;
    white-space: nowrap;
    background: linear-gradient(180deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ax-login-quote {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid #14b8a6;
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.ax-login-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 36px;
}

.ax-login-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.45;
    transition: transform 0.25s var(--ax-ease), background 0.25s, border-color 0.25s;
}

.ax-login-feature:hover {
    transform: translateY(-2px);
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(45, 212, 191, 0.25);
}

.ax-login-feature__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.2);
    color: #5eead4;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.ax-login-trust {
    margin-top: 28px;
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ax-login-split__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 32px;
    position: relative;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 90%, rgba(14, 165, 233, 0.07) 0%, transparent 40%),
        linear-gradient(180deg, #f4f8fb 0%, #eef5f8 50%, #f8fafc 100%);
}

.ax-login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 28px;
    padding: 42px 38px;
    box-shadow:
        0 32px 80px rgba(7, 17, 31, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 0 rgba(255, 255, 255, 1) inset;
    border: 1px solid rgba(226, 232, 240, 0.85);
    animation: ax-rise 0.65s var(--ax-ease) 0.12s both;
    position: relative;
}

.ax-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, #14b8a6, #0ea5e9, #2dd4bf);
    background-size: 200% 100%;
    animation: ax-shimmer 8s linear infinite;
}

.ax-login-card h1 {
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: #0f172a;
    font-weight: 800;
}

.ax-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0f766e;
    background: linear-gradient(135deg, #ecfeff, #f0fdfa);
    border: 1px solid #99f6e4;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.ax-login-card .form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 7px;
}

.ax-login-card .form-control {
    border-radius: 14px;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.93rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ax-login-card .form-control:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
    background: #fff;
}

.ax-login-input-wrap { position: relative; }

.ax-login-input-wrap > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.88rem;
    pointer-events: none;
    transition: color 0.2s;
}

.ax-login-input-wrap:focus-within > i { color: #14b8a6; }

.ax-login-card .input-group .form-control { padding-left: 14px; }

.ax-login-card .input-group-text {
    border-radius: 14px 0 0 14px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.86rem;
    font-weight: 600;
    color: #0f766e;
}

.ax-login-card .btn-primary {
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #0d9488 0%, #0e7490 55%, #0369a1 100%);
    border: none;
    box-shadow:
        0 12px 28px rgba(13, 148, 136, 0.38),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.22s var(--ax-ease), box-shadow 0.22s;
}

.ax-login-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(13, 148, 136, 0.45);
    background: linear-gradient(135deg, #0f766e 0%, #0e7490 55%, #0284c7 100%);
}

.ax-login-card .btn-primary:active { transform: translateY(0); }

.ax-login-meta-box {
    background: linear-gradient(165deg, #f8fafc 0%, #f0fdfa 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
}

.ax-login-lang .btn {
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   Home launcher KPI + cards polish
   ═══════════════════════════════════════════ */
.hl-root {
    font-family: "DM Sans", system-ui, sans-serif;
}

.hl-root .hl-kpi {
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
    border: 1px solid rgba(14, 116, 144, 0.1) !important;
    box-shadow: 0 6px 24px rgba(7, 17, 31, 0.06) !important;
    transition: transform 0.28s var(--ax-ease), box-shadow 0.28s !important;
    animation: ax-rise 0.5s var(--ax-ease) both;
}

.hl-root .hl-kpi:nth-child(1) { animation-delay: 0.05s; }
.hl-root .hl-kpi:nth-child(2) { animation-delay: 0.1s; }
.hl-root .hl-kpi:nth-child(3) { animation-delay: 0.15s; }
.hl-root .hl-kpi:nth-child(4) { animation-delay: 0.2s; }
.hl-root .hl-kpi:nth-child(5) { animation-delay: 0.25s; }

.hl-root .hl-kpi::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, #0ea5e9);
    opacity: 0;
    transition: opacity 0.25s;
}

.hl-root .hl-kpi:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.14) !important;
}

.hl-root .hl-kpi:hover::after { opacity: 1; }

.hl-root .hl-kpi__icon {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hl-root .hl-kpi__val {
    letter-spacing: -0.03em;
}

.hl-root .hl-card {
    border-radius: 18px !important;
    transition: transform 0.28s var(--ax-ease), box-shadow 0.28s, border-color 0.28s !important;
}

.hl-root .hl-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 40px rgba(13, 148, 136, 0.16) !important;
    border-color: #5eead4 !important;
}

.hl-root .hl-card__icon {
    transition: transform 0.28s var(--ax-ease);
}

.hl-root .hl-card:hover .hl-card__icon {
    transform: scale(1.08);
}

.hl-root .hl-search-wrap input:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12) !important;
}

.hl-root .hl-section-title {
    letter-spacing: 0.1em !important;
}

/* Dashboard shell */
.hmis-dash.ax-page-shell {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(20, 184, 166, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #eef5f8 0%, #f8fafc 45%, #fff 100%);
    min-height: calc(100vh - 64px);
}

.hmis-dash .ax-welcome { margin-top: 4px; }
.hmis-dash .ax-pinned { margin-bottom: 20px; }

.hmis-dash .hmis-kpi-card,
.hmis-dash .hmis-panel {
    border-radius: 18px !important;
    border: 1px solid rgba(14, 116, 144, 0.1) !important;
    box-shadow: 0 6px 24px rgba(7, 17, 31, 0.05) !important;
    transition: transform 0.25s var(--ax-ease), box-shadow 0.25s !important;
}

.hmis-dash .hmis-kpi-card:hover,
.hmis-dash .hmis-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(13, 148, 136, 0.12) !important;
}

@media (prefers-reduced-motion: reduce) {
    .ax-welcome,
    .ax-myday-tile,
    .ax-pinned,
    .ax-login-card,
    .ax-login-split__brand-content,
    .hl-root .hl-kpi,
    .ax-login-split__orb {
        animation: none !important;
    }
}

/* -- Live pulse + credits ------------------------------------ */
.ax-welcome__aura {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,.2), transparent 70%);
    top: -160px;
    right: -80px;
    pointer-events: none;
    animation: ax-pulse-soft 5s ease-in-out infinite;
}
.ax-welcome__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 10px;
}
.ax-welcome__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: ax-live-ping 1.8s ease-out infinite;
}
@keyframes ax-live-ping {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.ax-welcome__credits {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.72rem;
    color: #64748b;
}
.ax-welcome__credits-sep { opacity: 0.5; }
.ax-credits {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}
.ax-credits--bright { color: #94a3b8; }

/* Occupancy ring */
.ax-myday-tile--ring { text-align: center; }
.ax-ring {
    --p: 0;
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(closest-side, rgba(7,17,31,.92) 72%, transparent 73% 100%),
        conic-gradient(#14b8a6 calc(var(--p) * 1%), rgba(255,255,255,.12) 0);
    box-shadow: 0 0 20px rgba(20,184,166,.2);
}
.ax-ring span {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* -- Tenant select ------------------------------------------- */
.ax-tenant-body {
    margin: 0;
    min-height: 100vh;
    background: #040a12;
    font-family: "DM Sans", system-ui, sans-serif;
}
.ax-tenant-shell { min-height: 100vh; }
.ax-tenant {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 15% 20%, rgba(20,184,166,.28) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 90% 10%, rgba(56,189,248,.18) 0%, transparent 50%),
        linear-gradient(155deg, #040a12 0%, #0a1628 42%, #0b2233 78%, #061820 100%);
}
.ax-tenant__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ax-tenant__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 36px 32px;
    box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.8) inset;
    border: 1px solid rgba(226,232,240,.9);
    animation: ax-rise .6s var(--ax-ease) both;
}
.ax-tenant__brand { text-align: center; margin-bottom: 24px; }
.ax-tenant__logo { max-height: 56px; margin-bottom: 14px; }
.ax-tenant__brand h1 {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -.02em;
}
.ax-tenant__brand p { color: #64748b; margin: 0; font-size: .92rem; }
.ax-tenant__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    border: 1px solid #99f6e4;
    margin-bottom: 20px;
}
.ax-tenant__avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: #0d9488; color: #fff;
    display: grid; place-items: center;
}
.ax-tenant__user-name { font-weight: 700; color: #0f172a; }
.ax-tenant__user-meta { font-size: .78rem; color: #64748b; }
.ax-tenant__grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ax-tenant__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all .22s var(--ax-ease);
    position: relative;
}
.ax-tenant__option input { position: absolute; opacity: 0; pointer-events: none; }
.ax-tenant__option:hover {
    border-color: #5eead4;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13,148,136,.12);
}
.ax-tenant__option.is-selected,
.ax-tenant__option:has(input:checked) {
    border-color: #14b8a6;
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}
.ax-tenant__option-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: #ecfeff; color: #0d9488;
    display: grid; place-items: center; flex-shrink: 0;
}
.ax-tenant__option-body { flex: 1; min-width: 0; }
.ax-tenant__option-body strong { display: block; color: #0f172a; font-size: .95rem; }
.ax-tenant__option-body small { color: #64748b; font-size: .75rem; }
.ax-tenant__check {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1.5px solid #cbd5e1; color: transparent;
    display: grid; place-items: center; font-size: .7rem;
    transition: all .2s;
}
.ax-tenant__option:has(input:checked) .ax-tenant__check {
    background: #0d9488; border-color: #0d9488; color: #fff;
}
.ax-tenant__submit {
    border-radius: 14px !important;
    background: linear-gradient(135deg, #0d9488 0%, #0e7490 55%, #0369a1 100%) !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 28px rgba(13,148,136,.35) !important;
    padding: 14px !important;
}
.ax-tenant__footer {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ax-tenant__footer a { color: #64748b; text-decoration: none; font-size: .85rem; font-weight: 600; }
.ax-tenant__footer a:hover { color: #0d9488; }

.ax-tenant__user-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 2px;
}
.ax-tenant__section-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin: 4px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ax-tenant__section-label i { color: #0d9488; }
.ax-tenant__brand .ax-tenant__logo { display: block; margin-left: auto; margin-right: auto; }
