@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #102a62;
    --blue: #2468e8;
    --violet: #5147f5;
    --muted: #7483a1;
    --line: #e1e8f5;
    --ink: #17294d;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    background: #f4f7ff;
}
button, input { font: inherit; }
.login-page {
    min-height: 100vh;
    padding: 42px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 5% 8%, rgba(113, 205, 255, .22), transparent 34%),
        radial-gradient(ellipse at 96% 90%, rgba(149, 123, 255, .19), transparent 35%),
        linear-gradient(135deg, #f4faff 0%, #f7f8ff 55%, #f3f0ff 100%);
}
.ambient {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}
.ambient-one {
    width: 300px; height: 300px; top: 8%; left: -130px;
    background: radial-gradient(circle, rgba(100, 190, 255, .12), transparent 70%);
}
.ambient-two {
    width: 360px; height: 360px; right: -170px; bottom: 4%;
    background: radial-gradient(circle, rgba(130, 104, 255, .13), transparent 70%);
}
.login-card {
    width: min(100%, 490px);
    padding: 34px 40px 30px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(213, 224, 245, .95);
    border-radius: 27px;
    box-shadow: 0 24px 70px rgba(40, 70, 130, .10), 0 3px 12px rgba(40, 70, 130, .035);
    position: relative;
    backdrop-filter: blur(12px);
}
.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto 29px;
    text-decoration: none;
}
.brand img {
    display: block;
    width: 168px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.welcome { margin-bottom: 25px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f55db;
    background: #f0f1ff;
    border: 1px solid #e5e6ff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 13px;
}
.eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #6256f5;
    box-shadow: 0 0 0 3px rgba(98, 86, 245, .12);
}
h1 {
    color: #102657;
    font-size: clamp(27px, 4vw, 34px);
    line-height: 1.3;
    letter-spacing: -.45px;
    margin: 0 0 7px;
    font-weight: 700;
}
.welcome p {
    margin: 0;
    color: #7b89a5;
    font-size: 15px;
    line-height: 1.7;
}
.login-form { display: flex; flex-direction: column; gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group label {
    font-size: 14px;
    font-weight: 600;
    color: #273d68;
}
.input-wrap {
    height: 57px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #dbe4f3;
    border-radius: 14px;
    padding: 0 15px;
    background: #fbfcff;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-wrap:focus-within {
    border-color: #7c8cff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(87, 99, 245, .10);
}
.field-icon {
    width: 21px; height: 21px;
    color: #7384a7;
    flex: 0 0 21px;
}
.field-icon svg, .toggle-password svg, .login-button svg, .secure-note svg {
    width: 100%; height: 100%; display: block;
}
.country-code {
    color: #273e6b;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding-right: 12px;
    border-right: 1px solid #e1e7f3;
    line-height: 25px;
}
.input-wrap input {
    border: 0; outline: 0; min-width: 0; width: 100%;
    color: #1c3158; background: transparent;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 15px;
}
.input-wrap input::placeholder { color: #a5b0c5; opacity: 1; }
.field-hint { color: #96a1b7; font-size: 11px; margin-top: -2px; }
.password-wrap input { padding: 0; }
.toggle-password {
    display: grid; place-items: center;
    width: 28px; height: 32px; padding: 4px;
    border: 0; background: transparent; color: #8190ad;
    cursor: pointer; flex: 0 0 28px; border-radius: 7px;
}
.toggle-password:hover { color: #4f54e8; background: #f0f2ff; }
.form-meta {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; margin-top: -5px;
}
.secure-note {
    display: inline-flex; align-items: center; gap: 5px;
    color: #7d8ca7; font-size: 12px;
}
.secure-note svg { width: 15px; height: 15px; color: #25a878; }
.forgot-link {
    color: #4d5fe2; font-size: 12px; font-weight: 600;
    text-decoration: none;
}
.forgot-link:hover, .register-prompt a:hover { text-decoration: underline; }
.login-button {
    height: 57px; width: 100%; border: 0; border-radius: 15px;
    display: flex; justify-content: center; align-items: center; gap: 12px;
    color: white; cursor: pointer;
    font-size: 17px; font-weight: 700;
    background: linear-gradient(105deg, #3438f5 0%, #5848f4 52%, #6550f2 100%);
    box-shadow: 0 12px 24px rgba(76, 69, 238, .22);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.login-button svg { width: 20px; height: 20px; }
.login-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 28px rgba(76, 69, 238, .28);
}
.login-button:active { transform: translateY(0); }
.register-prompt {
    border-top: 1px solid #edf0f7;
    margin-top: 26px; padding-top: 22px;
    display: flex; justify-content: center; align-items: center;
    gap: 6px; flex-wrap: wrap;
    color: #8490a8; font-size: 14px;
}
.register-prompt a {
    color: #315fe7; font-weight: 700; text-decoration: none;
}
.register-prompt a span { font-family: 'Inter', sans-serif; font-size: 13px; }
.error-message {
    color: #a12b3c; background: #fff1f2; border: 1px solid #ffd6dc;
    border-radius: 11px; padding: 10px 12px; font-size: 13px; margin: -8px 0 18px;
}
.page-footer {
    color: #9aa6bb; font-size: 12px; text-align: center;
    margin: 19px 0 0; position: relative;
}
.page-footer span { padding: 0 5px; color: #c0c8d7; }

@media (max-width: 520px) {
    .login-page { padding: 20px 14px 15px; justify-content: center; }
    .login-card { padding: 28px 22px 24px; border-radius: 22px; }
    .brand { margin-bottom: 24px; }
    .brand img { width: 150px; }
    .welcome { margin-bottom: 23px; }
    h1 { font-size: 28px; }
    .welcome p { font-size: 14px; }
    .input-wrap { height: 55px; padding: 0 12px; gap: 9px; }
    .login-form { gap: 18px; }
    .login-button { height: 55px; }
    .register-prompt { margin-top: 23px; padding-top: 19px; }
    .page-footer { font-size: 11px; }
}
@media (max-width: 360px) {
    .login-card { padding-left: 17px; padding-right: 17px; }
    .form-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
}



/* Premium Circular Close Button */
.login-card {
position: relative;
}

.close-login {
position: absolute;
top: 16px;
right: 16px;
width: 38px;
height: 38px;

```
display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;
border: 1px solid #e3e9f7;
background: linear-gradient(145deg, #ffffff, #f0f3ff);
color: #687896;

font-family: Arial, sans-serif;
font-size: 25px;
font-weight: 400;
line-height: 1;
text-decoration: none;

box-shadow: 0 4px 12px rgba(38, 58, 110, 0.12);
cursor: pointer;
transition: all 0.25s ease;
z-index: 10;
```

}

.close-login:hover {
color: #ffffff;
background: linear-gradient(135deg, #ff7189, #ed426b);
border-color: transparent;
box-shadow: 0 6px 16px rgba(237, 66, 107, 0.28);
transform: rotate(90deg);
}

.close-login:focus-visible {
outline: 3px solid #dfe2ff;
outline-offset: 3px;
}

@media (max-width: 520px) {
.close-login {
top: 12px;
right: 12px;
width: 35px;
height: 35px;
font-size: 23px;
}
}



