.rkv-flash-stack {
    position: fixed;
    z-index: 10000;
    top: 22px;
    right: 22px;
    display: grid;
    width: min(390px, calc(100vw - 32px));
    gap: 12px;
    pointer-events: none;
}

.rkv-flash-notification {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    width: 100% !important;
    min-height: 82px;
    max-width: none !important;
    margin: 0 !important;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    border: 0 !important;
    border-radius: 13px !important;
    padding: 15px 14px 15px 16px !important;
    background: linear-gradient(135deg, #22ad59 0%, #20c997 100%) !important;
    box-shadow: 0 15px 32px rgba(10, 94, 60, .24), 0 4px 0 rgba(8, 105, 70, .12) !important;
    color: #fff !important;
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.rkv-flash-notification::before {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    content: "✓";
    font-size: 29px;
    font-weight: 500;
    line-height: 1;
}

.rkv-flash-notification.rkv-flash-error {
    background: linear-gradient(135deg, #dc3f56 0%, #f15f6f 100%) !important;
    box-shadow: 0 15px 32px rgba(148, 30, 54, .24), 0 4px 0 rgba(133, 25, 47, .12) !important;
}

.rkv-flash-notification.rkv-flash-error::before {
    content: "!";
    font-weight: 800;
}

.rkv-flash-notification.rkv-flash-warning {
    background: linear-gradient(135deg, #e89a19 0%, #f7b733 100%) !important;
    box-shadow: 0 15px 32px rgba(144, 89, 9, .22), 0 4px 0 rgba(144, 89, 9, .10) !important;
}

.rkv-flash-body {
    min-width: 0;
    color: inherit !important;
}

.rkv-flash-title,
.rkv-flash-body .toast-title,
.rkv-flash-body .alert-heading {
    display: block;
    margin: 0 0 3px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.rkv-flash-body,
.rkv-flash-body *:not(button) {
    color: inherit !important;
}

.rkv-flash-body > [aria-hidden="true"]:first-child,
.rkv-flash-body hr {
    display: none !important;
}

.rkv-flash-body p,
.rkv-flash-body ul,
.rkv-flash-body .toast-message {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: rgba(255, 255, 255, .96) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.rkv-flash-notification .rkv-flash-close,
.rkv-flash-notification .toast-close,
.rkv-flash-notification .btn-close,
.rkv-flash-notification [data-bs-dismiss="alert"] {
    position: static !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: .9 !important;
    cursor: pointer;
}

.rkv-flash-notification .rkv-flash-close::before,
.rkv-flash-notification .toast-close::before,
.rkv-flash-notification .btn-close::before,
.rkv-flash-notification [data-bs-dismiss="alert"]::before {
    content: "×";
    font-size: 22px;
    font-weight: 400;
}

.rkv-flash-notification.leaving {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
}

@media (max-width: 575px) {
    .rkv-flash-stack {
        top: 12px;
        right: 12px;
        width: calc(100vw - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rkv-flash-notification {
        transition: none !important;
    }
}
