/* Окно подтверждения действия: поверхность и кнопки дизайн-системы, без теней. */

.app-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(2px);
    font-family: Manrope, system-ui, sans-serif;
}

.app-confirm {
    width: min(420px, 100%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #131a28;
}

.app-confirm-title {
    margin: 0;
    color: #f1f5f9;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.app-confirm-text {
    margin: 8px 0 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 20px;
}

.app-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.app-confirm-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 9999px;
    font: 500 13px/1 Manrope, system-ui, sans-serif;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.app-confirm-cancel {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: none;
    color: #f1f5f9;
}

.app-confirm-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.app-confirm--danger .app-confirm-submit {
    border: 1px solid rgba(251, 113, 133, 0.3);
    background: rgba(251, 113, 133, 0.1);
    color: #fda4af;
}

.app-confirm--danger .app-confirm-submit:hover {
    border-color: rgba(251, 113, 133, 0.5);
    background: rgba(251, 113, 133, 0.2);
}

.app-confirm--accent .app-confirm-submit {
    border: 1px solid rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.1);
    color: #a5f3fc;
}

.app-confirm--accent .app-confirm-submit:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(34, 211, 238, 0.2);
}

.app-confirm-actions button:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.65);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .app-confirm-actions button {
        flex: 1;
        min-height: 44px;
    }
}
