/* ==========================================================
   LOGIN PAGE THEME — MATCHES PROVIDED FAB + FIREBLOCKS UI
   ========================================================== */

.login-bg {
    background:
        radial-gradient(1200px 800px at 50% -220px, #F7FAFE 0%, transparent 60%),
        linear-gradient(180deg, #F7FAFE 0%, #F3F7FC 100%);
    min-height: 100vh;
    font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
    color: #0F172A;
}

/* Center everything vertically + horizontally */
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* horizontally center ALL children */
    justify-content: flex-start;
    width: 100%;
}

/* vertical spacing */
.login-topspace {
    height: 64px;
}

/* a touch more air above logo */

/* logo */
.login-logo {
    width: 152px;
    height: auto;
    margin-bottom: 16px;
}

/* title + subtitle */
.login-title {
    font-weight: 700;
    font-size: 26px;
    color: #1E293B;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.login-subtitle {
    margin: 8px 0 26px 0;
    color: #64748B;
    text-align: center;
    font-size: 14px;
}

/* card (modal) */
.login-card {
    width: 100%;
    max-width: 400px;
    /* narrower like original */
    background: #FFFFFF;
    border: 1px solid #E7EDF3;
    border-radius: 14px;
    padding: 24px;
    box-shadow:
        0 10px 28px rgba(16, 24, 40, .07),
        0 2px 6px rgba(16, 24, 40, .06);
}

.login-card-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
}

.login-card-desc {
    margin: 0 0 18px 0;
    color: #6B7280;
    font-size: 14px;
}

/* form labels/inputs */
.login-label {
    display: block;
    margin: 12px 0 6px;
    font-size: 13px;
    color: #111827;
}

.login-input {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #E6EDF3;
    background: #F8FAFC;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 14px;
}

.login-input::placeholder {
    color: #9AA3AF;
}

.login-input:focus {
    border-color: #CFD9E5;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, .08);
    /* subtle blue focus ring */
}

/* Edge/IE built-in clear/reveal icons (hide to avoid double icons) */
input::-ms-reveal,
input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

/* Keep autofill background consistent with your input bg */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #F8FAFC inset;
    -webkit-text-fill-color: #0F172A;
    caret-color: #0F172A;
}

/* primary button */
.login-btn {
    width: 100%;
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 16px;
    border-radius: 12px;
    background: #0B2A4A;
    border-color: #0B2A4A;
    color: #FFFFFF;

    letter-spacing: .2px;
    cursor: pointer;
}

.login-btn:hover {
    background: #0A2440;
    border-color: #0A2440;
}

/* helper messages */
.login-msg {
    margin-top: 12px;
    text-align: center;
    color: #6B7280;
    font-size: 12px;
}

.login-hint {
    margin-top: 8px;
    text-align: center;
    color: #6B7280;
    font-size: 12px;
}

/* footer "Powered by Fireblocks" */
.login-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94A3B8;
    font-size: 12px;
    margin-top: 18px;
}

.login-footer img {
    height: 18px;
    width: auto;
}

/* mobile tweaks */
@media (max-width: 520px) {
    .login-card {
        margin: 0 16px;
    }

    .login-topspace {
        height: 40px;
    }

    .login-input {
        font-size: 16px;
    }
}