/* =========================================================
   HRIS LOGIN — Moonlit dashboard theme
========================================================= */

:root {
    --page: #0b1022;
    --page-2: #0e1430;
    --panel: #141b38;
    --panel-2: #1a2347;
    --line: #2a3566;
    --text: #eef2ff;
    --muted: #9aa6cf;
    --teal: #76f5e8;
    --blue: #3b82f6;
    --violet: #8b5cf6;
    --moon: #aadcff;
    --accent: linear-gradient(100deg, #76f5e8, #3b82f6);
    --violet-accent: linear-gradient(100deg, #8b5cf6, #3b82f6);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    background: var(--page);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

.hris-login {
    width: 100%;
    min-height: 700px;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.boliviainteligente-vzg-skzowiu {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(780px 540px at 92% 8%, rgba(111, 137, 255, 0.28), transparent 58%),
        radial-gradient(620px 520px at 8% 84%, rgba(118, 245, 232, 0.12), transparent 62%),
        linear-gradient(135deg, #111936 0%, #182550 62%, #26356a 100%);
}

.boliviainteligente-vzg-skzowiu-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.16;
    filter: saturate(1.15) contrast(1.02);
    transform-origin: center;
    animation: bg-breathe 40s ease-in-out infinite;
}

.boliviainteligente-vzg-skzowiu-item {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 20, 48, 0.98) 0%, rgba(17, 25, 58, 0.88) 42%, rgba(30, 43, 92, 0.18) 72%, rgba(49, 63, 112, 0.22) 100%);
}

/* Brand */
.logo-group {
    position: absolute;
    z-index: 20;
    top: 28px;
    left: clamp(32px, 5vw, 72px);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.icon-wrapper-captioncalendar {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
}

.icon-wrapper-captioncalendar svg {
    width: 100%;
    height: 100%;
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
}

.hris {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.better-people-brighter {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.02em;
}

/* Left-side welcome */
.heading-stack {
    position: absolute;
    z-index: 5;
    top: clamp(130px, 17vh, 180px);
    left: clamp(32px, 5vw, 72px);
    width: min(520px, 43vw);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heading-stack > .sign-in {
    font-size: clamp(54px, 5.4vw, 78px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.back {
    color: #76bfff;
}

.log-in-to {
    max-width: 480px;
    color: #cbd5ef;
    font-size: 17px;
    line-height: 1.65;
}

/* Feature list */
.features-list {
    position: absolute;
    z-index: 5;
    left: clamp(32px, 5vw, 72px);
    bottom: 320px;
    width: min(520px, 43vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feature-row,
.feature-row2,
.feature-row3 {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(170, 220, 255, 0.16);
    border-radius: 14px;
    background: rgba(38, 52, 105, 0.66);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(4, 10, 34, 0.12);
}

.feature-row3 {
    position: absolute;
    z-index: 5;
    left: clamp(32px, 5vw, 72px);
    bottom: 220px;
    width: min(252px, 21vw);
}

.icon-circle,
.icon-circle3 {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    border: 1px solid rgba(118, 245, 232, 0.16);
    background: rgba(59, 130, 246, 0.10);
}

.icon-wrapper-captionbriefcase,
.icon-wrapper-captionuser {
    width: 22px;
    height: 22px;
}

.icon-wrapper-captionbriefcase svg,
.icon-wrapper-captionuser svg {
    width: 100%;
    height: 100%;
}

.feature-text,
.feature-text2,
.feature-text3 {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-your-attendance {
    color: #edf2ff;
    font-size: 13px;
    font-weight: 700;
}

.view-your-attendance {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.45;
}

/* Login card */
.login-container {
    position: absolute;
    z-index: 10;
    top: 50%;
    right: clamp(32px, 8vw, 128px);
    transform: translateY(-50%);
}

.right-signin-card {
    width: 420px;
    min-height: 530px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 42px 40px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 28px 70px rgba(16, 26, 66, 0.28),
        0 2px 8px rgba(16, 26, 66, 0.08);
    animation: card-enter 600ms ease-out both;
}

.right-signin-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    width: 54px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--accent);
}

.signin-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.signin-header .sign-in {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.enter-your-credentials {
    color: #6d7894;
    font-size: 14px;
    line-height: 1.5;
}

.right-signin-card form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field-email,
.field-password {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-address,
.password {
    color: #39445d;
    font-size: 13px;
    font-weight: 600;
}

.input-email-box,
.input-password-box {
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #dde3ef;
    border-radius: 10px;
    background: #f8f9fd;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input-email-box {
    padding: 0 46px 0 14px;
}

.input-password-box {
    padding: 0 70px 0 14px;
}

.input-email-box:focus-within,
.input-password-box:focus-within {
    border-color: #8fb4ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 91, 223, 0.10);
}

.youexamplecom,
.enter-your-password {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #feffff;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
}

.youexamplecom::placeholder,
.enter-your-password::placeholder {
    color: #9aa3b7;
    opacity: 1;
}

.user-icon,
.user-icon2 {
    width: 17px;
    height: 17px;
    position: absolute;
    right: 14px;
    pointer-events: none;
}

.user-icon *,
.user-icon2 * {
    stroke: #7d889f;
}

.password-toggle {
    width: 30px;
    height: 30px;
    position: absolute;
    z-index: 5;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #7d889f;
    cursor: pointer;
}

.password-toggle svg {
    width: 17px;
    height: 17px;
}

.password-toggle svg * {
    stroke: #7d889f;
}

.password-toggle .icon-eye-off {
    display: none;
}

.password-toggle.is-visible .icon-eye {
    display: none;
}

.password-toggle.is-visible .icon-eye-off {
    display: block;
}

.enter-your-password::-ms-reveal,
.enter-your-password::-ms-clear,
.enter-your-password::-webkit-credentials-auto-fill-button,
.enter-your-password::-webkit-strong-password-auto-fill-button {
    display: none !important;
}

.line,
.line2 {
    display: none;
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.forgot-password {
    color: #87aaf8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--teal);
}

.action-button-group {
    margin-top: 2px;
}

.btn-login {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #ffffff;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.20);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 16px 34px rgba(59, 130, 246, 0.30);
}

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

.has-error .input-email-box,
.has-error .input-password-box {
    border-color: #fb7185;
    background: rgba(251, 113, 133, 0.07);
}

.field-error {
    margin: 2px 0 0;
    color: #fda4af;
    font-size: 12.5px;
    line-height: 1.4;
}

@keyframes bg-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@keyframes card-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .boliviainteligente-vzg-skzowiu-child,
    .right-signin-card {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .heading-stack {
        width: 40vw;
    }

    .heading-stack > .sign-in {
        font-size: 58px;
    }

    .features-list {
        grid-template-columns: 1fr;
        width: 270px;
    }

    .feature-row2 {
        display: none;
    }

    .feature-row3 {
        bottom: 54px;
    }

    .login-container {
        right: 40px;
    }

    .right-signin-card {
        width: 390px;
        padding: 38px 34px;
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .hris-login {
        min-height: 100vh;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 105px 20px 36px;
    }

    .boliviainteligente-vzg-skzowiu {
        min-height: 100%;
    }

    .boliviainteligente-vzg-skzowiu-child {
        inset: 0;
        width: 100%;
        opacity: 0.16;
    }

    .boliviainteligente-vzg-skzowiu-item {
        background:
            radial-gradient(600px 400px at 50% 100%, rgba(211, 26, 87, 0.12), transparent 70%),
            rgba(11, 16, 34, 0.92);
    }

    .logo-group {
        top: 22px;
        left: 20px;
    }

    .heading-stack,
    .login-container,
    .features-list,
    .feature-row3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        transform: none;
    }

    .heading-stack {
        max-width: 520px;
        margin: 0 auto 28px;
    }

    .heading-stack > .sign-in {
        font-size: clamp(42px, 12vw, 58px);
    }

    .log-in-to {
        max-width: 460px;
        font-size: 15px;
    }

    .features-list,
    .feature-row3 {
        display: none;
    }

    .login-container {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .right-signin-card {
        width: 100%;
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .hris-login {
        padding: 92px 14px 24px;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .better-people-brighter {
        display: none;
    }

    .heading-stack {
        margin-bottom: 22px;
    }

    .log-in-to {
        font-size: 14px;
    }

    .right-signin-card {
        padding: 32px 24px 28px;
        border-radius: 18px;
        gap: 22px;
    }

    .right-signin-card::before {
        left: 24px;
    }

    .signin-header .sign-in {
        font-size: 30px;
    }
}

/* =========================================================
   REFERENCE-INSPIRED SPLIT LOGIN
========================================================= */

.boliviainteligente-vzg-skzowiu {
    background:
        radial-gradient(720px 520px at 92% 12%, rgba(59, 130, 246, 0.22), transparent 60%),
        radial-gradient(620px 500px at 8% 88%, rgba(139, 92, 246, 0.19), transparent 62%),
        var(--page);
}

.boliviainteligente-vzg-skzowiu-item {
    background:
        linear-gradient(135deg, rgba(11, 16, 34, 0.12), rgba(35, 49, 101, 0.08));
}

.boliviainteligente-vzg-skzowiu-child {
    display: none;
}

.logo-group {
    top: 30px;
    left: clamp(18px, 2vw, 30px);
}

.logo-mark {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.hris {
    color: var(--text);
}

.better-people-brighter {
    color: var(--muted);
}

.heading-stack,
.features-list,
.feature-row3 {
    display: none;
}

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: min(980px, calc(100vw - 80px));
    height: min(620px, calc(100vh - 100px));
    min-height: 520px;
}

.right-signin-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    gap: 26px;
    padding: 72px 58px 48px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--panel-2), var(--panel));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    animation: none;
}

.right-signin-card::before {
    display: none;
}

.signin-header,
.right-signin-card form {
    width: 45%;
    max-width: 350px;
}

.signin-header {
    gap: 7px;
}

.signin-header .sign-in {
    color: var(--text);
    font-size: 36px;
}

.enter-your-credentials {
    color: var(--muted);
}

.right-signin-card form {
    flex: 1;
    justify-content: flex-start;
}

.form-fields {
    gap: 18px;
}

.email-address,
.password {
    color: #dce5ff;
}

.input-email-box,
.input-password-box {
    height: 52px;
    border: 1px solid var(--line);
    background: rgba(11, 16, 34, 0.52);
}

.input-email-box:focus-within,
.input-password-box:focus-within {
    border-color: rgba(118, 245, 232, 0.72);
    background: rgba(11, 16, 34, 0.78);
    box-shadow: 0 0 0 3px rgba(118, 245, 232, 0.09);
}

.forgot-password {
    color: var(--moon);
}

.btn-login {
    height: 52px;
    background: var(--accent);
    color: var(--page);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.20);
}

.btn-login:hover {
    filter: brightness(1.06);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.30);
}

.login-showcase {
    position: absolute;
    z-index: 12;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: calc(50% - 20px);
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(circle at 82% 16%, rgba(118, 245, 232, 0.20) 0 7%, transparent 7.5%),
        radial-gradient(circle at 14% 72%, rgba(139, 92, 246, 0.18) 0 13%, transparent 13.5%),
        linear-gradient(145deg, #1a2347 0%, #141b38 56%, #0e1430 100%);
    box-shadow: inset 0 0 0 1px rgba(170, 220, 255, 0.12);
}

.showcase-orbit {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -82px;
    top: -92px;
    border: 40px solid rgba(118, 245, 232, 0.12);
    border-radius: 50%;
}

.showcase-window {
    position: absolute;
    left: 9%;
    top: 22%;
    width: 82%;
    height: 38%;
    min-height: 180px;
    overflow: hidden;
    border-radius: 10px;
    background: #f7f9ff;
    box-shadow: 0 24px 44px rgba(8, 20, 54, 0.32);
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

.showcase-window-header {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    background: #e9eef9;
}

.showcase-window-header span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9aa6c7;
}

.showcase-window-header span:first-child {
    background: #76f5e8;
}

.showcase-window-body {
    height: calc(100% - 24px);
    display: flex;
}

.showcase-sidebar {
    width: 21%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 10px;
    background: #edf2fb;
}

.showcase-sidebar i {
    height: 7px;
    border-radius: 6px;
    background: #bac7df;
}

.showcase-sidebar i:first-child {
    background: #6f91d8;
}

.showcase-content {
    flex: 1;
    padding: 16px 14px;
}

.showcase-content b {
    color: #30415f;
    font-size: 10px;
}

.showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 12px;
}

.showcase-metrics span {
    height: 38px;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(35, 48, 94, 0.08);
}

.showcase-metrics span:nth-child(2) {
    background: #e7eefc;
}

.showcase-metrics span:nth-child(3) {
    background: #dff5f2;
}

.showcase-table {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.showcase-table i {
    height: 8px;
    border-radius: 5px;
    background: #e5eaf4;
}

.showcase-table i:nth-child(2),
.showcase-table i:nth-child(4) {
    background: #d4dcf0;
}

.showcase-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 62%;
    bottom: 0;
    height: 36%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 24px;
    color: #ffffff;
    text-align: center;
}

.showcase-slides {
    position: relative;
    width: 100%;
    max-width: 380px;
    min-height: 112px;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(22px);
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms;
}

.login-showcase.is-reversing .showcase-slide {
    transform: translateX(-22px);
}

.login-showcase.is-reversing .showcase-slide.is-active {
    transform: translateX(0);
}

.showcase-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.showcase-eyebrow {
    color: #9fbaff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.showcase-slide h2 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.showcase-slide p {
    max-width: 340px;
    margin: 9px 0 0;
    color: #cbd7f3;
    font-size: 12px;
    line-height: 1.6;
}

.showcase-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.showcase-arrow {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.showcase-arrow:hover {
    transform: scale(1.06);
    border-color: rgba(118, 245, 232, 0.8);
    background: rgba(118, 245, 232, 0.14);
}

.showcase-arrow:focus-visible,
.showcase-dots button:focus-visible {
    outline: 2px solid #76f5e8;
    outline-offset: 3px;
}

.showcase-arrow svg {
    width: 17px;
    height: 17px;
}

.showcase-features {
    width: calc(100% - 56px);
    max-width: 380px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    text-align: left;
}

.showcase-feature {
    min-height: 58px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.showcase-feature i {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(118, 245, 232, 0.16);
    color: #76f5e8;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}

.showcase-feature div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.showcase-feature strong {
    color: #ffffff;
    font-size: 9px;
    line-height: 1.2;
}

.showcase-feature small {
    color: #bdc9e8;
    font-size: 8px;
    line-height: 1.35;
}

.showcase-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.showcase-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.showcase-dots button.is-active {
    width: 18px;
    border-radius: 8px;
    background: #76f5e8;
}

@media (prefers-reduced-motion: reduce) {
    .showcase-slide,
    .showcase-arrow,
    .showcase-dots button {
        transition: none;
    }
}

@media (max-width: 920px) {
    html {
        overflow-x: hidden;
        overflow-y: scroll;
        scrollbar-width: thin;
        scrollbar-color: var(--violet) var(--page-2);
        -webkit-overflow-scrolling: touch;
    }

    body {
        overflow: visible;
    }

    .hris-login {
        min-height: 100vh;
        height: auto;
        display: block;
        padding: 88px 16px 28px;
        overflow: visible;
        background: var(--page);
    }

    .boliviainteligente-vzg-skzowiu {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: calc(100vh - 116px);
        overflow: visible;
    }

    .logo-group {
        top: -68px;
        left: 20px;
    }

    html::-webkit-scrollbar {
        width: 8px;
    }

    html::-webkit-scrollbar-track {
        background: var(--page-2);
    }

    html::-webkit-scrollbar-thumb {
        border: 2px solid var(--page-2);
        border-radius: 8px;
        background: var(--violet);
    }

    .boliviainteligente-vzg-skzowiu-item {
        background:
            radial-gradient(600px 400px at 50% 100%, rgba(59, 130, 246, 0.12), transparent 70%),
            rgba(11, 16, 34, 0.28);
    }

    .login-container {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 0;
        max-width: 480px;
        margin: 0 auto;
        transform: none;
    }

    .login-showcase {
        position: relative;
        inset: auto;
        order: 2;
        width: 100%;
        height: 390px;
        margin-top: 16px;
    }

    .right-signin-card {
        order: 1;
        height: auto;
        min-height: 520px;
        padding: 48px 32px 36px;
    }

    .signin-header,
    .right-signin-card form {
        width: 100%;
        max-width: none;
    }

    .right-signin-card form {
        flex: 0 0 auto;
    }

    .showcase-window {
        top: 12%;
        height: 42%;
        min-height: 150px;
    }

    .showcase-copy {
        top: 56%;
        height: 43%;
        padding: 0 18px 14px;
    }

    .showcase-slide h2 {
        font-size: 22px;
    }

    .showcase-slide p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hris-login {
        padding: 82px 16px 24px;
    }

    .logo-group {
        top: -64px;
        left: calc(50% - 8px);
        gap: 9px;
        transform: translateX(-50%);
    }

    .logo-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 10px;
    }

    .hris {
        font-size: 15px;
    }

    .right-signin-card {
        min-height: 0;
        padding: 32px 24px 28px;
        gap: 24px;
        border-radius: 20px;
    }

    .signin-header {
        align-items: center;
        text-align: center;
    }

    .signin-header .sign-in {
        font-size: 28px;
    }

    .enter-your-credentials {
        max-width: 250px;
        font-size: 13px;
    }

    .form-fields {
        gap: 16px;
    }

    .input-email-box,
    .input-password-box {
        height: 50px;
    }

    .form-options {
        justify-content: flex-start;
    }

    .login-showcase {
        height: 190px;
        margin-top: 12px;
        overflow: visible;
        border-radius: 18px;
        background: transparent;
        box-shadow: none;
    }

    .showcase-orbit,
    .showcase-window {
        display: none;
    }

    .showcase-copy {
        position: relative;
        inset: auto;
        width: 100%;
        height: 100%;
        justify-content: center;
        gap: 12px;
        padding: 16px 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: linear-gradient(145deg, var(--panel-2), var(--panel));
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    }

    .showcase-slides {
        min-height: 104px;
    }

    .showcase-eyebrow {
        font-size: 8px;
    }

    .showcase-slide h2 {
        font-size: 19px;
    }

    .showcase-slide p {
        max-width: 290px;
        font-size: 10px;
    }

    .showcase-controls {
        gap: 14px;
    }

    .showcase-arrow {
        width: 28px;
        height: 28px;
    }

}

@media (max-height: 680px) and (min-width: 921px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .hris-login {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 78px 0 30px;
    }

    .login-container {
        position: relative;
        top: auto;
        left: auto;
        width: min(980px, calc(100vw - 64px));
        height: 560px;
        margin: 0 auto;
        transform: none;
    }
}
