/* Toast Notification Styles */
.kalitho-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #111111;
    /* Very dark grey, almost black */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    /* Pill shape for modern look */
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    /* Ensure it's on top of everything including modals */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-ui, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 500;
    min-width: max-content;
    max-width: 90vw;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kalitho-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kalitho-toast svg {
    flex-shrink: 0;
}

.kalitho-toast span {
    white-space: nowrap;
}

/* Toast Action Button */
.toast-action-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
}

.toast-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .kalitho-toast {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 12px;
        /* Slightly less rounded on mobile to save space if text wraps */
        width: 90%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .kalitho-toast span {
        white-space: normal;
        text-align: center;
    }

    .toast-action-btn {
        font-size: 12px;
        padding: 5px 12px;
    }
}