/* ============================================
   TOAST NOTIFICATION SYSTEM
   Minimalistic, Professional, Mobile-Optimized
   ============================================ */

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #181818;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-hide {
    opacity: 0;
    transform: translateX(120%);
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.toast-message {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.toast-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #555555;
}

.toast-close:hover {
    background-color: #F5F5F5;
}

/* Toast Types */
.toast-success {
    border-left: 4px solid #4CAF50;
}

.toast-success .toast-icon {
    color: #4CAF50;
}

.toast-error {
    border-left: 4px solid #FF2469;
}

.toast-error .toast-icon {
    color: #FF2469;
}

.toast-warning {
    border-left: 4px solid #FF9800;
}

.toast-warning .toast-icon {
    color: #FF9800;
}

.toast-info {
    border-left: 4px solid #2196F3;
}

.toast-info .toast-icon {
    color: #2196F3;
}

/* Mobile Optimization */
@media (max-width: 767px) {
    .toast-container {
        top: auto;
        bottom: calc(72px + env(safe-area-inset-bottom) + 16px); /* Above mobile nav */
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .toast {
        padding: 14px 16px;
        font-size: 13px;
        border-radius: 12px;
        transform: translateY(120%);
    }
    
    .toast-show {
        transform: translateY(0);
    }
    
    .toast-hide {
        transform: translateY(120%);
    }
    
    .toast-icon {
        width: 18px;
        height: 18px;
    }
    
    .toast-close {
        width: 28px;
        height: 28px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .toast-container {
        top: 16px;
        right: 16px;
        max-width: 360px;
    }
}

