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

body {
    background:
        radial-gradient(1200px 500px at 10% 10%, rgba(61, 118, 255, 0.18), transparent 60%),
        radial-gradient(900px 450px at 95% 85%, rgba(24, 180, 146, 0.16), transparent 65%),
        linear-gradient(125deg, #f7f9ff 0%, #eef3ff 38%, #ecfbf6 100%);
    font-family: "Manrope", "Trebuchet MS", "Segoe UI", sans-serif;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.28;
}

.brand-title {
    font-weight: 800;
    letter-spacing: .2px;
    color: #10234d;
}

.muted {
    color: #4e5f86;
}

.login-card {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    box-shadow:
        0 28px 60px rgba(16, 35, 77, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, box-shadow .25s ease;
}

.login-shell {
    width: min(1040px, 100%);
}

.login-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 36px 70px rgba(16, 35, 77, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.login-aside {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48)),
        radial-gradient(500px 200px at 20% 20%, rgba(47, 103, 255, 0.16), transparent 60%);
    border-right: 1px solid rgba(170, 190, 235, 0.45);
    text-align: right;
    align-items: flex-end;
}

.login-aside .illus-wrap {
    width: 100%;
    text-align: right;
}

.login-card .card-body {
    padding: 8px 6px;
}

.login-card h2 {
    color: #10234d;
    letter-spacing: .2px;
}

.form-label {
    color: #2f426b;
    font-weight: 600;
    margin-bottom: .45rem;
}

.input-group {
    border: 1px solid #d9e2f3;
    border-radius: 13px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-group:focus-within {
    border-color: #2f67ff;
    box-shadow: 0 0 0 4px rgba(47, 103, 255, 0.12);
}

.input-group-text {
    border: 0;
    background: transparent;
    color: #5a6d95;
}

.password-toggle {
    cursor: pointer;
}

.password-toggle .material-icons {
    font-size: 20px;
}

.form-control {
    border: 0;
    background: transparent;
    height: 46px;
    color: #15274e;
}

.form-control::placeholder {
    color: #93a1bf;
}

.form-control:focus {
    box-shadow: none;
}

.btn-gradient {
    background: linear-gradient(135deg, #2f67ff, #1946d4);
    border: 0;
    border-radius: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    height: 50px;
    box-shadow: 0 12px 24px rgba(25, 70, 212, 0.28);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-gradient:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(25, 70, 212, 0.32);
}

.btn-gradient:active {
    transform: translateY(1px);
}

.touchid-box {
    width: 56px;
    height: 56px;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.illus-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(16, 35, 77, 0.16);
}

.page-wrap {
    max-width: 1000px;
}

.text-2 {
    color: #61729a;
    font-size: .93rem;
}

.text-2 a {
    color: #1b4fd6;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    body {
        min-height: 100vh;
        height: auto;
        overflow: auto;
    }

    .page-wrap {
        max-width: 560px;
    }
}
