#hml-notif-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    pointer-events: none;
}

.hml-notif-toast {
    pointer-events: all;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 270px;
    max-width: 340px;
    padding: 0.8rem 0.9rem;
    background: #1e1e2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(0.75rem);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

[data-bs-theme="light"] .hml-notif-toast {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.hml-notif-toast.hml-notif-visible {
    opacity: 1;
    transform: translateX(0);
}

.hml-notif-clickable {
    cursor: pointer;
}

.hml-notif-clickable:hover {
    border-color: rgba(168, 85, 247, 0.45);
}

.hml-notif-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 0.05rem;
}

.hml-notif-body {
    flex: 1;
    min-width: 0;
}

.hml-notif-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hml-notif-text {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hml-notif-close {
    background: none;
    border: none;
    color: var(--bs-secondary-color);
    padding: 0;
    cursor: pointer;
    font-size: 0.78rem;
    opacity: 0.45;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.15s;
    align-self: flex-start;
}

.hml-notif-close:hover {
    opacity: 1;
}
