body.login-feedback-open { overflow: hidden; }

.login-feedback {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.login-feedback__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(7, 16, 28, 0.66);
    backdrop-filter: blur(5px);
    cursor: pointer;
    animation: loginFeedbackFade 140ms ease-out both;
}

.login-feedback__dialog {
    position: relative;
    width: min(100%, 390px);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    background: #fff;
    color: #23342d;
    box-shadow: 0 24px 70px rgba(4, 15, 12, 0.3);
    text-align: center;
    animation: loginFeedbackEnter 180ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.login-feedback__icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 0.8rem;
    place-items: center;
    border-radius: 50%;
    background: #fff2df;
    color: #a85b12;
    font-size: 1.2rem;
}

.login-feedback__title {
    margin: 0 0 0.5rem;
    color: #253a31;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.login-feedback__message {
    margin: 0 0 1.15rem;
    color: #52645b;
    font-size: 0.93rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.login-feedback__close {
    min-width: 120px;
    min-height: 42px;
    padding: 0.6rem 1rem;
    border: 0;
    border-radius: 7px;
    background: #286b5d;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    cursor: pointer;
}

.login-feedback__close:hover { background: #20574c; }
.login-feedback__close:focus-visible { outline: 3px solid rgba(40, 107, 93, 0.3); outline-offset: 2px; }

@keyframes loginFeedbackFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes loginFeedbackEnter { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 575.98px) {
    .login-feedback__dialog { padding: 1.2rem; }
    .login-feedback__message { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
    .login-feedback__backdrop,
    .login-feedback__dialog { animation: none; }
}
