/* Toast Notifications - Global Styles */

.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 999;
    cursor: pointer;
}

[dir="rtl"] .toast-container {
    right: auto;
    left: 24px;
}

.veya-toast {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    animation: toastSlideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    min-width: 250px;
}

@keyframes toastSlideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.veya-toast-success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.veya-toast-error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.veya-toast-warning {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.veya-toast-info {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

.veya-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.veya-toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        width: calc(100% - 32px);
    }

    [dir="rtl"] .toast-container {
        left: 16px;
        right: 16px;
    }

    .veya-toast {
        max-width: 100%;
        min-width: auto;
    }
}
