.modern-login-page {
    min-height: 100vh;
    color: #10213f;
    background:
        radial-gradient(circle at 12% 18%, rgba(84, 198, 255, .42), transparent 26rem),
        radial-gradient(circle at 88% 82%, rgba(40, 87, 222, .55), transparent 30rem),
        linear-gradient(135deg, #071d54 0%, #0b4bc7 48%, #2684ee 100%);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.modern-login-page::before,
.modern-login-page::after {
    position: fixed;
    z-index: 0;
    content: "";
    pointer-events: none;
}

.modern-login-page::before {
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(to bottom right, black, transparent 70%);
    mask-image: linear-gradient(to bottom right, black, transparent 70%);
}

.modern-login-page::after {
    width: 28rem;
    height: 28rem;
    top: -14rem;
    right: -10rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, .025), 0 0 0 10rem rgba(255, 255, 255, .02);
}

.modern-login-page > .container-fluid,
.modern-login-page .eq-height-row,
.modern-login-page .right-col {
    min-height: 100vh;
}

.modern-login-page .right-col {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 2.25rem 3rem !important;
}

.modern-login-page .right-col > .row > div:first-child {
    display: none;
}

.modern-login-shell {
    width: min(1120px, 100%);
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 28px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 30px 80px rgba(0, 25, 84, .32);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.modern-login-story {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
    color: #fff;
    overflow: hidden;
}

.modern-login-story::after {
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 23rem;
    height: 23rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4rem rgba(255, 255, 255, .025);
}

.modern-login-brand,
.modern-login-copy,
.modern-login-trust,
.modern-demo-panel {
    position: relative;
    z-index: 1;
}

.modern-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modern-login-brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 15px;
    background: rgba(255, 255, 255, .16);
    font-size: 20px;
}

.modern-login-brand strong {
    display: block;
    font-size: 17px;
    letter-spacing: -.01em;
}

.modern-login-brand span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.modern-login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    color: #bfe5ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.modern-login-kicker::before {
    width: 28px;
    height: 2px;
    content: "";
    border-radius: 999px;
    background: #63d8ff;
}

.modern-login-copy h1 {
    max-width: 520px;
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.modern-login-copy p {
    max-width: 470px;
    margin: 0;
    color: rgba(239, 248, 255, .78);
    font-size: 16px;
    line-height: 1.75;
}

.modern-login-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.modern-login-trust-item {
    padding: 15px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 15px;
    background: rgba(4, 28, 82, .22);
}

.modern-login-trust-item i {
    margin-bottom: 8px;
    color: #88e2ff;
}

.modern-login-trust-item span {
    display: block;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 700;
}

.modern-login-form-panel {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 3rem;
    background: rgba(249, 252, 255, .97);
}

.modern-login-form-wrap {
    width: 100%;
    min-width: 0;
    max-width: 430px;
    margin: auto;
}

.business-logo-slot {
    display: flex;
    width: 92px;
    height: 92px;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed #9bb4d4;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #eaf2fb);
    box-shadow: 0 12px 28px rgba(22, 64, 125, .1);
}

.business-logo-slot img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.business-logo-slot-placeholder {
    text-align: center;
    color: #58708f;
}

.business-logo-slot-placeholder i {
    display: block;
    margin-bottom: 5px;
    color: #1c6de5;
    font-size: 25px;
}

.business-logo-slot-placeholder span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.modern-login-heading {
    margin-bottom: 2rem;
}

.modern-login-heading h2 {
    margin: 0 0 .55rem;
    color: #10213f;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -.035em;
}

.modern-login-heading p {
    margin: 0;
    color: #6b7c93;
    font-size: 14px;
}

.modern-login-page .modern-field {
    position: relative;
    display: block;
    margin-bottom: 1.25rem;
}

.modern-login-page .modern-field-label {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    justify-content: space-between;
    color: #233754;
    font-size: 13px;
    font-weight: 700;
}

.modern-login-page .modern-field-label a {
    color: #1769d9;
    font-size: 12px;
    font-weight: 700;
}

.modern-login-page .modern-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.modern-login-page .modern-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #7185a1;
    transform: translateY(-50%);
}

.modern-login-page .modern-login-input {
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    padding: 0 48px;
    border: 1px solid #d5dfeb;
    border-radius: 13px;
    outline: none;
    background: #fff;
    color: #10213f;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.modern-login-page .modern-login-input:focus {
    border-color: #2a78e8;
    box-shadow: 0 0 0 4px rgba(42, 120, 232, .11);
    transform: translateY(-1px);
}

.modern-login-page .show_hide_icon {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
}

.modern-login-page .show_hide_icon svg {
    width: 20px;
    stroke: #7185a1;
}

.modern-login-options {
    display: flex;
    margin: .1rem 0 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.modern-remember {
    display: inline-flex;
    margin: 0;
    align-items: center;
    gap: 9px;
    color: #4a5e78;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.modern-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #1769d9;
}

.modern-login-submit {
    display: inline-flex;
    width: 100%;
    height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(100deg, #115ac4, #2385ed);
    box-shadow: 0 12px 24px rgba(22, 105, 216, .24);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s;
}

.modern-login-submit:hover,
.modern-login-submit:focus {
    color: #fff;
    box-shadow: 0 15px 30px rgba(22, 105, 216, .32);
    transform: translateY(-2px);
}

.modern-login-register {
    margin: 1.5rem 0 0;
    text-align: center;
    color: #718198;
    font-size: 13px;
}

.modern-login-register a {
    color: #1769d9;
    font-weight: 800;
}

.modern-demo-panel {
    margin-top: 1.5rem;
}

.modern-demo-panel summary {
    color: rgba(255, 255, 255, .72);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.modern-demo-grid {
    display: flex;
    max-height: 120px;
    margin-top: 10px;
    padding-right: 6px;
    flex-wrap: wrap;
    gap: 7px;
    overflow-y: auto;
}

.modern-demo-grid .demo-login {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: rgba(3, 28, 83, .32);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.modern-demo-grid .demo-login:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.modern-login-page .help-block {
    margin: 7px 0 0;
    color: #d9364f;
    font-size: 12px;
}

@media (max-width: 900px) {
    .modern-login-shell {
        max-width: 560px;
        grid-template-columns: 1fr;
    }

    .modern-login-story {
        min-height: auto;
        padding: 2.25rem;
    }

    .modern-login-copy {
        margin: 3.5rem 0 2rem;
    }

    .modern-login-copy h1 {
        font-size: 38px;
    }

    .modern-login-trust {
        display: none;
    }

    .modern-login-form-panel {
        padding: 2.5rem 2.25rem;
    }
}

@media (max-width: 600px) {
    .modern-login-page {
        overflow-x: hidden;
    }

    .modern-login-page .right-col {
        padding: 6.5rem 1rem 1.25rem !important;
    }

    .modern-login-shell {
        width: 100%;
        max-width: calc(100vw - 2rem);
        grid-template-columns: minmax(0, 1fr);
        border-radius: 22px;
    }

    .modern-login-story,
    .modern-login-form-panel,
    .modern-login-form-wrap,
    .modern-login-form-wrap form {
        min-width: 0;
        max-width: 100%;
    }

    .modern-login-page .right-col > .row > div:nth-child(2) {
        right: 16px !important;
        gap: 10px !important;
    }

    .modern-login-page .right-col > .row > div:nth-child(2) a {
        font-size: 12px !important;
    }

    .modern-login-page .right-col > .row > div:nth-child(2) a[href*="pricing"] {
        display: none;
    }

    .modern-login-story {
        padding: 1.6rem;
    }

    .modern-login-copy {
        margin: 2rem 0 .5rem;
    }

    .modern-login-copy h1 {
        font-size: 30px;
    }

    .modern-login-copy p,
    .modern-demo-panel {
        display: none;
    }

    .modern-login-form-panel {
        padding: 2rem 1.5rem;
    }

    .business-logo-slot {
        width: 78px;
        height: 78px;
        margin-bottom: 1.5rem;
        border-radius: 20px;
    }

    .modern-login-heading h2 {
        font-size: 26px;
    }

    .modern-login-page .modern-field-label {
        gap: 12px;
    }

    .modern-login-page .modern-field-label a {
        max-width: 145px;
        text-align: right;
    }
}
