@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --ink: #132039;
    --muted: #7c879c;
    --blue: #5667f5
}

* {
    box-sizing: border-box
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    background: #f7f8fc;
    background-image: radial-gradient(circle at 9% 12%, rgba(89, 104, 242, .12), transparent 25rem), radial-gradient(circle at 95% 92%, rgba(111, 69, 220, .09), transparent 25rem);
    color: var(--ink);
    font-family: 'DM Sans', system-ui, sans-serif
}

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

.page-wrap {
    max-width: 1120px;
    position: relative;
    z-index: 1
}

.welcome-panel {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.3rem;
    border-radius: 32px;
    color: #fff;
    isolation: isolate;
    background: linear-gradient(135deg, #151d45 0%, #25346e 51%, #5a3cb0 130%);
    box-shadow: 0 30px 70px rgba(24, 34, 84, .25)
}

.welcome-panel:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .24;
    background: linear-gradient(120deg, transparent 45%, rgba(255, 255, 255, .13) 45.2%, transparent 45.7%), linear-gradient(120deg, transparent 55%, rgba(255, 255, 255, .09) 55.2%, transparent 55.7%);
    background-size: 90px 90px
}

.panel-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px)
}

.orb-one {
    width: 320px;
    height: 320px;
    right: -120px;
    top: -105px;
    background: rgba(133, 110, 255, .36)
}

.orb-two {
    width: 210px;
    height: 210px;
    left: -115px;
    bottom: 35px;
    background: rgba(44, 205, 214, .18)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    letter-spacing: .13em;
    font-size: .69rem;
    font-weight: 700;
    color: #bac8ff
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4fe2ca;
    box-shadow: 0 0 0 5px rgba(79, 226, 202, .13)
}

.welcome-copy h1 {
    max-width: 460px;
    margin: 1.35rem 0 1rem;
    color: #fff;
    font-size: clamp(2.6rem, 4vw, 3.75rem);
    line-height: 1.03;
    letter-spacing: -.055em;
    font-weight: 700
}

.welcome-copy h1 em {
    color: #aebcff;
    font-family: 'Playfair Display', serif;
    font-weight: 600
}

.welcome-copy p {
    max-width: 390px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #cad3f3
}

.welcome-footer {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #bcc8ed;
    font-size: .74rem
}

.footer-icon {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .13)
}

.footer-icon i {
    font-size: 15px
}

.login-heading {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.3rem .25rem
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #6877ff, #5445d5);
    box-shadow: 0 9px 18px rgba(87, 91, 224, .27)
}

.brand-title {
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -.025em
}

.muted {
    color: var(--muted);
    font-size: .78rem
}

.login-card {
    border: 1px solid rgba(223, 226, 239, .94);
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 55px rgba(29, 38, 80, .11)
}

.login-card .card-body {
    padding: 2.65rem
}

.login-intro h2 {
    margin: 0 0 .4rem;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -.045em
}

.login-intro p {
    margin: 0 0 2rem;
    color: var(--muted);
    font-size: .92rem
}

.form-label {
    margin-bottom: .5rem;
    color: #45506a;
    font-size: .82rem;
    font-weight: 700
}

.input-group {
    border: 1px solid #e1e5f0;
    border-radius: 13px;
    overflow: hidden;
    background: #fbfcff;
    transition: .22s ease
}

.input-group:focus-within {
    border-color: #7883fa;
    box-shadow: 0 0 0 4px rgba(100, 113, 245, .12);
    background: #fff
}

.input-group-text {
    border: 0;
    background: transparent;
    color: #94a0ba;
    padding: .78rem .85rem
}

.input-group-text .material-icons {
    font-size: 19px
}

.form-control {
    border: 0;
    background: transparent;
    padding: .78rem 0;
    color: #28334d;
    font-size: .9rem
}

.form-control::placeholder {
    color: #b2bacb
}

.password-toggle {
    cursor: pointer;
    transition: color .2s
}

.password-toggle:hover {
    color: #5f6cf0
}

.field-error {
    min-height: 18px;
    margin: .3rem 0 0;
    font-size: .73rem;
    font-style: italic
}

.forgot-link {
    color: #5d68e9;
    font-size: .81rem;
    font-weight: 700;
    text-decoration: none
}

.forgot-link:hover {
    color: #423bbd;
    text-decoration: underline
}

.btn-gradient {
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(105deg, #596bf5, #704ad9);
    box-shadow: 0 12px 22px rgba(83, 84, 221, .26);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .01em;
    transition: .2s
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(83, 84, 221, .33)
}

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

.btn-gradient .spinner-border {
    margin-left: .55rem
}

.text-2 {
    color: #9aa3b5;
    font-size: .73rem;
    text-align: center
}

.text-2 a {
    color: #6674d8;
    text-decoration: none;
    font-weight: 600
}

@media(max-width:991.98px) {
    .page-wrap {
        max-width: 550px
    }
}

@media(max-width:575.98px) {
    body {
        align-items: flex-start
    }

    .login-card .card-body {
        padding: 1.75rem
    }

    .login-heading {
        margin-top: .5rem
    }

    .login-intro h2 {
        font-size: 1.65rem
    }
}