/* Shared, non-blocking operation feedback. No authentication or confirmation state lives here. */
.anytech-feedback-layer,
.anytech-feedback-layer *,
.anytech-feedback-layer *::before,
.anytech-feedback-layer *::after { box-sizing: border-box; }
.anytech-toasts.anytech-feedback-layer {
    position: fixed;
    inset: var(--feedback-offset, 0px) auto auto var(--feedback-left, 0px);
    height: var(--feedback-height, 100vh);
    width: var(--feedback-width, 100%);
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: none;
    z-index: 99999;
    pointer-events: none;
    font-family: inherit;
}
.anytech-feedback-layer .anytech-feedback-card {
    --feedback-accent: #137a52;
    --feedback-tint: #e8f6ee;
    position: relative;
    inset: auto;
    width: min(100%, 410px);
    max-height: calc(var(--feedback-height, 100vh) - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    flex: 0 1 auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .96);
    border-radius: 28px;
    background: linear-gradient(160deg, #fff 20%, #f7f9fc 100%);
    color: #16243b;
    box-shadow: 0 24px 80px rgba(9, 22, 43, .3), 0 0 0 8px rgba(255, 255, 255, .12), 0 3px 12px rgba(9, 22, 43, .1);
    pointer-events: auto;
    animation: anytech-feedback-enter .48s cubic-bezier(.16, 1, .3, 1) both;
    transition: opacity .18s ease, transform .18s ease;
    isolation: isolate;
}
.anytech-feedback-layer .anytech-toast-error { --feedback-accent: #b83b47; --feedback-tint: #fcecef; }
.anytech-feedback-layer .anytech-toast-warning { --feedback-accent: #946111; --feedback-tint: #fff3dc; }
.anytech-feedback-layer .anytech-toast-info { --feedback-accent: #315ab4; --feedback-tint: #edf2ff; }
.anytech-feedback-card::before {
    content: "";
    position: absolute;
    inset: -70px 40px auto;
    height: 170px;
    border-radius: 50%;
    background: var(--feedback-tint);
    filter: blur(32px);
    z-index: -1;
    pointer-events: none;
}
.anytech-feedback-layer .anytech-toast-content {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 36px 28px 0;
    color: inherit;
    text-align: center;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.anytech-feedback-layer .anytech-toast-content::-webkit-scrollbar { display: none; width: 0; height: 0; }
.anytech-feedback-symbol {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: var(--feedback-tint);
    color: var(--feedback-accent);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
    animation: anytech-feedback-symbol-in .55s .06s cubic-bezier(.16, 1, .3, 1) both;
}
.anytech-feedback-symbol svg { width: 66px; height: 66px; overflow: visible; }
.anytech-feedback-ring,
.anytech-feedback-mark { stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.anytech-feedback-ring { stroke-width: 1.6; opacity: .3; animation: anytech-feedback-draw .65s .12s ease both; }
.anytech-feedback-mark { stroke-width: 3.4; animation: anytech-feedback-draw .42s .4s cubic-bezier(.4, 0, .2, 1) both; }
.anytech-feedback-eyebrow { margin-bottom: 9px; color: var(--feedback-accent); font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.anytech-feedback-layer .anytech-toast-title {
    margin: 0 0 12px;
    color: #16243b;
    font-size: clamp(21px, 5.5vw, 25px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.anytech-feedback-layer .anytech-toast-text {
    min-height: 22px;
    margin: 0;
    width: 100%;
    color: #607087;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    text-wrap: pretty;
}
.anytech-feedback-footer { padding: 25px 28px 28px; flex-shrink: 0; }
.anytech-feedback-dismiss {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 1px solid #16243b;
    border-radius: 14px;
    padding: 12px 20px;
    background: #16243b;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.anytech-feedback-dismiss:hover { background: #233853; box-shadow: 0 8px 20px rgba(22, 36, 59, .16); }
.anytech-feedback-dismiss:active { transform: scale(.98); }
.anytech-feedback-layer .anytech-toast-close {
    position: absolute;
    top: 7px;
    right: auto;
    inset-inline-end: 7px;
    width: 44px;
    height: 44px;
    z-index: 1;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #8794a5;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.anytech-feedback-layer .anytech-toast-close:hover { background: #edf1f6; color: #16243b; }
.anytech-feedback-dismiss:focus-visible,
.anytech-feedback-layer .anytech-toast-close:focus-visible,
.anytech-feedback-layer .anytech-toast-text:focus-visible { outline: 3px solid #5182c7; outline-offset: 3px; }
.anytech-feedback-progress-track { height: 3px; flex-shrink: 0; background: var(--feedback-tint); }
.anytech-feedback-layer .anytech-toast-progress {
    position: static;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: var(--feedback-accent);
    transform-origin: left center;
    transition: transform .06s linear;
    opacity: .65;
}
[dir="rtl"] .anytech-feedback-layer .anytech-toast-progress { transform-origin: right center; }
.anytech-feedback-layer .anytech-feedback-card.close-animation { animation: none; inset: auto; opacity: 0; transform: translateY(9px) scale(.97); }
@keyframes anytech-feedback-enter { from { opacity: 0; transform: translateY(22px) scale(.93); } to { opacity: 1; transform: none; } }
@keyframes anytech-feedback-symbol-in { from { opacity: 0; transform: translateY(8px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes anytech-feedback-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 575.98px) {
    .anytech-feedback-layer .anytech-feedback-card { border-radius: 24px; box-shadow: 0 18px 65px rgba(9, 22, 43, .32), 0 0 0 5px rgba(255, 255, 255, .12); }
    .anytech-feedback-layer .anytech-toast-content { padding: 30px 24px 0; }
    .anytech-feedback-symbol { width: 80px; height: 80px; border-radius: 26px; margin-bottom: 20px; }
    .anytech-feedback-footer { padding: 22px 24px 24px; }
}
@media (max-height: 480px) {
    .anytech-feedback-layer .anytech-toast-content { padding: 18px 24px 0; }
    .anytech-feedback-symbol { width: 58px; height: 58px; margin-bottom: 10px; border-radius: 19px; }
    .anytech-feedback-symbol svg { width: 48px; height: 48px; }
    .anytech-feedback-eyebrow { margin-bottom: 5px; }
    .anytech-feedback-layer .anytech-toast-title { margin-bottom: 7px; font-size: 20px; }
    .anytech-feedback-footer { padding: 15px 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .anytech-feedback-layer *, .anytech-feedback-layer *::before { animation: none !important; transition: none !important; }
    .anytech-feedback-ring, .anytech-feedback-mark { stroke-dashoffset: 0; }
}
