/* ============================================================
   VEIN LINK — style.css
   Cross-Browser & Cross-Platform Compatible
   ============================================================ */

@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/GreatVibes-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
    --bg-dark: #08090c;
    --sidebar-bg: #08090c;
    --accent-red: #e91e63;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --input-bg: #1a1a1a;
    --input-border: #ffffff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-logo: 'Great Vibes', cursive;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── Layout ───────────────────────────────────────── */
.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    width: 100vw;
    opacity: 0;
    -webkit-animation: fadeInPage 0.7s ease-out forwards;
    animation: fadeInPage 0.7s ease-out forwards;
}

@-webkit-keyframes fadeInPage { to { opacity: 1; } }
@keyframes fadeInPage { to { opacity: 1; } }

/* ── Sidebar ──────────────────────────────────────── */
.login-sidebar {
    width: clamp(280px, 28vw, 420px);
    min-width: 280px;
    background-color: var(--sidebar-bg);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 30;
    opacity: 0;
    -webkit-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    transform: translateX(-30px);
    -webkit-animation: slideIn 0.8s forwards;
    animation: slideIn 0.8s forwards;
}

@-webkit-keyframes slideIn { to { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } }
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

/* ── Vein Animation Container ─────────────────────── */
.vein-animation-container {
    position: absolute;
    top: 3vh;
    left: 0;
    width: 100%;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    overflow: hidden;
    pointer-events: none;
    opacity: 1;
    z-index: 2;
}

.vein-svg {
    width: 100%;
    height: auto;
}

/* ── SVG Circuit Traces ─────────────────────────── */
.vein-svg path.trace {
    fill: none;
    opacity: 0.85;
    -webkit-filter: url(#traceGlow);
    filter: url(#traceGlow);
}

.vein-svg path.trace-branch {
    fill: none;
    opacity: 0.65;
    -webkit-filter: url(#traceGlow);
    filter: url(#traceGlow);
}

/* ── Junction Node Pulse ─────────────────────────── */
.vein-svg circle {
    -webkit-animation: nodePulse 7s ease-in-out infinite;
    animation: nodePulse 7s ease-in-out infinite;
    transform-origin: center center;
    -webkit-transform-box: fill-box;
    transform-box: fill-box;
}

.vein-svg circle:nth-of-type(odd)  { -webkit-animation-delay: 0s;   animation-delay: 0s; }
.vein-svg circle:nth-of-type(even) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; }

@-webkit-keyframes nodePulse {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.8; }
}
@keyframes nodePulse {
    0%, 100% { opacity: 0.3; r: 1.5; }
    50%       { opacity: 0.8; r: 2.8; }
}

/* ── Login Content ────────────────────────────────── */
.login-content {
    width: 100%;
    max-width: 340px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 60;
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-animation: fadeInUp 0.4s forwards 0.4s;
    animation: fadeInUp 0.4s forwards 0.4s;
}

@-webkit-keyframes fadeInUp { to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ── Brand ────────────────────────────────────────── */
.brand {
    text-align: center;
    margin-bottom: 8px;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 2.7rem;
    font-weight: 600;
    line-height: 1.11;
    padding: 18px;
    margin-bottom: -24px;
    color: #fff;
    background: -webkit-linear-gradient(top, #ffffff 20%, #9ca3af 100%);
    background: linear-gradient(to bottom, #ffffff 20%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-transition: -webkit-filter 300ms ease;
    transition: filter 300ms ease;
}

.tagline {
    font-size: 0.6rem;
    letter-spacing: 1.7px;
    padding: 1em;
    color: #cbd5e1;
    font-weight: 200;
}

/* ── Form ─────────────────────────────────────────── */
.login-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.form-group:focus-within label { color: var(--accent-red); }

.form-group input {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input::-webkit-input-placeholder { color: rgba(148, 163, 184, 0.4); }
.form-group input::-moz-placeholder          { color: rgba(148, 163, 184, 0.4); }
.form-group input:-ms-input-placeholder      { color: rgba(148, 163, 184, 0.4); }
.form-group input::placeholder               { color: rgba(148, 163, 184, 0.4); }

.form-group input:focus {
    border-color: var(--accent-red);
    background-color: white !important;
    color: #000000 !important;
    -webkit-box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* ── Password ─────────────────────────────────────── */
.password-wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.password-wrapper input { width: 100%; padding-right: 45px; }

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #fff;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

/* ── Footer ───────────────────────────────────────── */
.form-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: -8px;
}

.forgot-password {
    color: var(--accent-red);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.forgot-password:hover {
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2);
    text-decoration: underline;
}

/* ── Button ───────────────────────────────────────── */
.btn-signin {
    background-color: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-signin::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: -webkit-linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.btn-signin:hover::after { left: 100%; }

.btn-signin:hover {
    background-color: #ff2e7e;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

.btn-signin:active { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }

.btn-signin.loading { pointer-events: none; opacity: 0.7; }

.btn-signin.loading i {
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Sign-up Prompt ───────────────────────────────── */
.signup-prompt {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.request-access {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.request-access:hover {
    text-decoration: underline;
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2);
}

/* ── Visual Background ────────────────────────────── */
.visual-background {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 75% center;
    object-position: 75% center;
}

/* ── Focus Ring ───────────────────────────────────── */
*:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 68.75em) {
    .visual-background { display: none; }

    .login-sidebar {
        width: 100%;
        min-width: unset;
        max-width: none;
        -webkit-animation: fadeInPage 1s forwards;
        animation: fadeInPage 1s forwards;
    }

    .login-content { max-width: clamp(280px, 60vw, 420px); }
}

@media (max-width: 48em) {
    body, html { overflow-y: auto; }
    .container { height: auto; min-height: 100vh; }

    .login-sidebar { padding: 24px; justify-content: center; }

    .login-content {
        max-width: clamp(260px, 85vw, 420px);
        width: 100%;
    }

    .logo-text { font-size: clamp(1.8rem, 6vw, 2.4rem); }
}

@media (max-width: 30em) {
    .login-sidebar { padding: 16px; }

    .login-content { margin-top: 0; }

    .logo-text { font-size: clamp(1.5rem, 8vw, 2rem); }

    .tagline { font-size: clamp(0.5rem, 2vw, 0.6rem); letter-spacing: 1.2px; }

    .form-group input { padding: 10px 12px; font-size: 0.9rem; }

    .btn-signin { padding: 12px 16px; font-size: 0.9rem; }

    .vein-animation-container { height: 22vh; top: 2vh; }

    .login-form { gap: 14px; }
}

:root {
    --bg-dark: #08090c;
    --sidebar-bg: #08090c;
    --accent-red: #e91e63;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --input-bg: #fffbfb;
    --input-border: #2a2a2a;
    --font-main: 'Inter', sans-serif;
    --font-logo: 'Great Vibes', cursive;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
}

/* ── Layout ───────────────────────────────────────── */
.container {
    display: flex;
    height: 100vh;
    width: 100vw;
    opacity: 0;
    animation: fadeInPage 0.7s ease-out forwards;
}

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

/* ── Sidebar ──────────────────────────────────────── */
.login-sidebar {
    width: clamp(280px, 28vw, 420px);
    min-width: 280px;
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 30;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.8s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ── Vein Animation Container ─────────────────────── */
.vein-animation-container {
    position: absolute;
    top: 9vh;
    left: 0;
    width: 100%;
    height: 22vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    pointer-events: none;
    opacity: 1;
    z-index: 3;
}

.vein-svg {
    width: 100%;
    height: auto;
    transform: none;
}

/* ── SVG Circuit Traces ─────────────────────────── */
.vein-svg path.trace {
    fill: none;
    opacity: 0.85;
    /* Brighter lines */
    filter: url(#traceGlow);
}

.vein-svg path.trace-branch {
    fill: none;
    opacity: 0.65;
    /* Brighter branches */
    filter: url(#traceGlow);
}

/* ── Junction Node Pulse ─────────────────────────── */
.vein-svg circle {
    animation: nodePulse 7s ease-in-out infinite;
    transform-origin: center center;
    transform-box: fill-box;
}

.vein-svg circle:nth-of-type(odd) {
    animation-delay: 0s;
}

.vein-svg circle:nth-of-type(even) {
    animation-delay: 0.2s;
}

@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.3;
        r: 1.5;
    }

    50% {
        opacity: 0.8;
        r: 2.8;
    }
}

/* ── Blood Cell (ellipse groups) ─────────────────── */
.blood-cell ellipse {
    transform-box: fill-box;
    transform-origin: center center;
    offset-rotate: 0deg;
    will-change: offset-distance;
}

/* ── Signal Rect (blue pulses) ───────────────────── */
.signal-rect {
    offset-rotate: 0deg;
    will-change: offset-distance;
}

/* ── offset-distance animation ───────────────────── */
@keyframes flowHeartbeat {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    15% {
        offset-distance: 30%;
        opacity: 1;
    }

    30% {
        offset-distance: 35%;
        opacity: 1;
    }

    45% {
        offset-distance: 65%;
        opacity: 1;
    }

    60% {
        offset-distance: 70%;
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@keyframes flowHeartbeatInner {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    15% {
        offset-distance: 30%;
        opacity: 0.5;
    }

    30% {
        offset-distance: 35%;
        opacity: 0.3;
    }

    45% {
        offset-distance: 65%;
        opacity: 0.5;
    }

    60% {
        offset-distance: 70%;
        opacity: 0.3;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* ── Login Content ────────────────────────────────── */
.login-content {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 60;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Brand ────────────────────────────────────────── */
.brand {
    text-align: center;
    margin-top: 0px;
    /* push logo down clear of the animation */
    margin-bottom: 8px;
}

.logo-text {
    transition: filter 300ms ease;
    font-family: var(--font-logo);
    font-size: 2.7rem;
    font-weight: 600;
    line-height: 1.11;
    /* give descenders room */
    padding-bottom: 0.2em;
    padding: 18px;
    /* clip guard for 'k' tail and 'V' serif */
    margin-bottom: -24px;
    /* pull next element back up */
    color: #fff;
    background: linear-gradient(to bottom, #ffffff 20%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 0.6rem;
    /* Slightly smaller text */
    letter-spacing: 1.7px;
    padding: 1em;
    /* Much wider tracking like reference */
    color: #cbd5e1;
    /* Slightly brighter for contrast */
    font-weight: 200;
}

/* ── Form ─────────────────────────────────────────── */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.form-group:focus-within label {
    color: var(--accent-red);
}

.form-group input {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px 14px;
    color: #000000;
    /*color: var(--text-primary);*/
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

.form-group input:focus {
    border-color: var(--accent-red);
    background-color: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* ── Password ─────────────────────────────────────── */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #fff;
    transform: scale(1.1);
}

/* ── Footer ───────────────────────────────────────── */
.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.forgot-password {
    color: var(--accent-red);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s;
}

.forgot-password:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}

/* ── Button ───────────────────────────────────────── */
.btn-signin {
    background-color: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.btn-signin::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-signin:hover::after {
    left: 100%;
}

.btn-signin:hover {
    background-color: #ff2e7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

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

.btn-signin.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-signin.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ── Sign-up Prompt ───────────────────────────────── */
.signup-prompt {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.request-access {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: all 0.3s;
}

.request-access:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* ── Visual Background ────────────────────────────── */
.visual-background {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% center;
}

/* ── Focus Ring ───────────────────────────────────── */
*:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* ── Responsive ───────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1100px) {
    .visual-background { display: none; }

    .login-sidebar {
        width: 100%;
        min-width: unset;
        max-width: none;
        animation: fadeInPage 1s forwards;
    }

    .login-content { max-width: clamp(280px, 60vw, 420px); }
}

/* Tablet portrait */
@media (max-width: 768px) {
    body, html { overflow-y: auto; }

    .container { height: auto; min-height: 100vh; }

    .login-sidebar { padding: 24px; justify-content: center; }

    .login-content {
        max-width: clamp(260px, 85vw, 420px);
        width: 100%;
    }

    .logo-text { font-size: clamp(1.8rem, 6vw, 2.4rem); }
}

/* Mobile */
@media (max-width: 480px) {
    .login-sidebar { padding: 16px; }

    .login-content { margin-top: 0; }

    .logo-text { font-size: clamp(1.5rem, 8vw, 2rem); }

    .tagline { font-size: clamp(0.5rem, 2vw, 0.6rem); letter-spacing: 1.2px; }

    .form-group input { padding: 10px 12px; font-size: 0.9rem; }

    .btn-signin { padding: 12px 16px; font-size: 0.9rem; }

    .vein-animation-container { height: 22vh; top: 2vh; }

    .login-form { gap: 14px; }
}
