body.auth-shell {
    min-height: 100vh;
    background: #061321 !important;
    color: #f1f5f9;
}

.tamora-login {
    position: relative;
    isolation: isolate;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 76px;
}

.tamora-login-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 25%,
            rgba(0,158,50,.15), transparent 48%),
        radial-gradient(ellipse at 90% 80%,
            rgba(48,77,144,.23), transparent 55%),
        #061321;
}

.tamora-fiber {
    position: absolute;
    width: 140%;
    height: 120%;
    left: -20%;
    top: -10%;
    opacity: .48;
    animation: tamora-fiber-motion 24s ease-in-out infinite alternate;
}

@keyframes tamora-fiber-motion {
    from { transform: translate3d(-2%, -2%, 0); }
    to   { transform: translate3d(2%, 2%, 0); }
}

.tamora-login-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 70px;
}

.tamora-brand-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.tamora-brand-logo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    background: white;
    border-radius: 14px;
    padding: 6px;
}

.tamora-brand-name {
    font-size: 48px;
    font-weight: 750;
    letter-spacing: -2px;
    color: #fff;
}

.tamora-brand h1 {
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.tamora-brand p {
    color: #a3b8ce;
    font-size: 15px;
    line-height: 1.8;
}

.tamora-brand-line {
    height: 4px;
    width: 75px;
    background: linear-gradient(90deg,#009e32,#304d90);
    border-radius: 10px;
    margin-top: 26px;
}

.tamora-login-card {
    background: rgba(16,35,55,.94);
    border: 1px solid rgba(148,163,184,.22);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 25px 80px rgba(0,0,0,.3);
}

.tamora-login-card h2 {
    color: #fff;
    font-size: 29px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tamora-login-card .login-description {
    color: #9fb4c9;
    font-size: 14px;
    margin-bottom: 30px;
}

.tamora-login-card .form-label {
    color: #d5e2ee;
    font-size: 13px;
    margin-bottom: 9px;
}

.tamora-login-card .form-control {
    background: #081827;
    color: #f1f5f9;
    border: 1px solid #365269;
    border-radius: 9px;
    min-height: 49px;
    padding: 12px 15px;
}

.tamora-login-card .form-control::placeholder {
    color: #7890a7;
}

.tamora-login-card .form-control:focus {
    background: #081827;
    color: white;
    border-color: #16b65c;
    box-shadow: 0 0 0 3px rgba(22,182,92,.12);
}

.tamora-login-card .btn-primary {
    background: #008b38;
    border-color: #008b38;
    color: white;
    min-height: 48px;
    border-radius: 9px;
    font-weight: 700;
    letter-spacing: .6px;
    margin-top: 12px;
    transition: background .2s;
}

.tamora-login-card .btn-primary:hover {
    background: #00752f;
    border-color: #00752f;
}

.tamora-secure {
    color: #9fb4c9;
    font-size: 12px;
    text-align: center;
    margin-top: 23px;
}

.tamora-login-footer {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    color: #91a7bd;
    font-size: 12px;
}

@media (max-width: 767px) {
    .tamora-login {
        padding: 30px 12px 65px;
    }

    .tamora-login-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 460px;
    }

    .tamora-brand {
        text-align: center;
    }

    .tamora-brand-logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .tamora-brand-logo img {
        width: 55px;
        height: 55px;
    }

    .tamora-brand-name {
        font-size: 36px;
    }

    .tamora-brand h1 {
        font-size: 26px;
    }

    .tamora-brand-line {
        margin: 20px auto 0;
    }

    .tamora-login-card {
        padding: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tamora-fiber {
        animation: none;
    }
}


/* STAGE41B_R1_LOGIN_ALERT_FIX */

body.auth-shell .alert .btn-close {
    display: none !important;
}

body.auth-shell .alert {
    position: relative;
    z-index: 10;
    padding: 14px 18px !important;
    border-radius: 10px;
    font-size: 14px;
}

body.auth-shell .alert:empty {
    display: none !important;
}


/* STAGE41B_R2_NOTIFICATION_LAYOUT */

body.auth-shell main > .alert {
    position: fixed !important;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 0 !important;
    z-index: 9999;
    padding: 14px 24px !important;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

body.auth-shell main > .alert-info {
    background: #102c3c;
    color: #b7e4ef;
    border: 1px solid #245368;
}

body.auth-shell main > .alert-danger {
    background: #3b1822;
    color: #fecaca;
    border: 1px solid #7f293b;
}

body.auth-shell main > .alert-success {
    background: #103529;
    color: #bbf7d0;
    border: 1px solid #24704b;
}
