/* Optimum product identity. Store branding remains separate for printed documents. */
.optimum-brand-mark {
    overflow: hidden;
    flex: none;
    padding: 0;
}

.optimum-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-brand-copy {
    display: grid;
    line-height: 1.12;
}

.auth-brand-copy strong {
    font-size: 15px;
    color: #101828;
}

.auth-brand-copy small {
    margin-top: 3px;
    color: #667085;
    font-size: 9.5px;
    font-weight: 550;
}

.auth-side {
    background:
        radial-gradient(circle at 78% 18%, rgba(248, 113, 113, .22), transparent 34%),
        radial-gradient(circle at 14% 86%, rgba(239, 68, 68, .13), transparent 31%),
        linear-gradient(145deg, #111827 0%, #481018 58%, #7f1d1d 100%);
}

.auth-side::before,
.auth-side::after {
    border-color: rgba(254, 205, 211, .13);
}

.optimum-login-showcase {
    width: min(100%, 540px);
}

.optimum-login-logo {
    display: block;
    width: 84px;
    height: 84px;
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.optimum-login-showcase .auth-visual-label {
    color: #fecdd3;
    font-weight: 750;
}

.optimum-login-showcase h2 {
    max-width: 520px;
    font-size: clamp(29px, 3.2vw, 43px);
    line-height: 1.08;
    margin: 9px 0 14px;
}

.optimum-login-showcase > p {
    max-width: 510px;
    margin: 0;
    color: #e2e8f0;
    font-size: 13.5px;
}

.optimum-feature-panel {
    margin-top: 25px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(15, 23, 42, .33);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
    backdrop-filter: blur(9px);
}

.optimum-feature-title {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 12px;
}

.optimum-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.optimum-feature-grid span {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 7px;
    background: rgba(255, 255, 255, .07);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 650;
}

.optimum-feature-grid svg {
    width: 17px;
    height: 17px;
    flex: none;
    color: #fda4af;
    stroke-width: 1.8;
}

.auth-mobile-showcase {
    display: none;
}

[dir="rtl"] .optimum-login-showcase {
    text-align: right;
}

@media (max-width: 960px) and (min-width: 761px) {
    .auth-page {
        grid-template-columns: minmax(340px, 46%) 1fr;
    }

    .auth-side {
        padding: 34px;
    }

    .optimum-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .auth-panel {
        width: 100%;
        min-width: 0;
        min-height: 100dvh;
        justify-content: center;
        gap: 14px;
        padding: 76px 20px 24px;
    }

    .auth-box {
        width: calc(100vw - 40px);
        max-width: 420px;
        min-width: 0;
        margin: 0 auto;
    }

    .auth-brand-copy strong {
        font-size: 14px;
    }

    .auth-mobile-showcase {
        width: calc(100vw - 40px);
        max-width: 420px;
        margin: 0 auto;
        padding: 11px;
        border: 1px solid #fecdd3;
        border-radius: 9px;
        background: linear-gradient(145deg, #fffafa, #fff1f2);
        box-shadow: 0 8px 24px rgba(127, 29, 29, .06);
        display: grid;
        gap: 10px;
    }

    .auth-mobile-showcase-head {
        display: grid;
        grid-template-columns: 31px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .auth-mobile-showcase-head > span:first-child {
        width: 31px;
        height: 31px;
        border-radius: 7px;
        background: #c81e2b;
        color: #fff;
        display: grid;
        place-items: center;
    }

    .auth-mobile-showcase-head svg {
        width: 15px;
        height: 15px;
    }

    .auth-mobile-showcase-head > span:last-child {
        min-width: 0;
        display: grid;
        gap: 1px;
    }

    .auth-mobile-showcase-head strong {
        color: #101828;
        font-size: 11px;
        line-height: 1.3;
    }

    .auth-mobile-showcase-head small {
        overflow: hidden;
        color: #667085;
        font-size: 8.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-mobile-feature-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .auth-mobile-feature-grid span {
        min-width: 0;
        min-height: 34px;
        padding: 6px 7px;
        border: 1px solid rgba(200, 30, 43, .11);
        border-radius: 6px;
        background: rgba(255, 255, 255, .8);
        color: #344054;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 8.7px;
        font-weight: 650;
        line-height: 1.25;
    }

    .auth-mobile-feature-grid svg {
        width: 14px;
        height: 14px;
        flex: none;
        color: #c81e2b;
        stroke-width: 1.9;
    }
}

@media (max-width: 380px) {
    .auth-panel {
        gap: 10px;
        padding-inline: 15px;
    }

    .auth-mobile-showcase {
        width: calc(100vw - 30px);
        padding: 9px;
    }

    .auth-box {
        width: calc(100vw - 30px);
    }
}

@media (max-height: 620px) and (max-width: 760px) {
    .auth-panel {
        justify-content: flex-start;
    }

    .auth-mobile-showcase-head small {
        display: none;
    }
}
