﻿
.toast {
    position: fixed;
    top: 2rem; 
    right: 2rem;
    background-color: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    max-width: 340px;
    width: 90%;
    transform: translateY(-100px); 
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #5ba15d;
}

    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }

.toast-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.toast-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
}

.toast-subtitle {
    font-size: 0.775rem;
    color: #6b7280;
}

.toast-icon {
    width: 28px;
    height: 28px;
    background-color: #5ba15d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .toast-icon svg {
        color: white;
    }

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

    .toast-close:hover {
        color: #111827;
    }
