/* Toast Notification Styling */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    pointer-events: none;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: var(--radius-sm, 6px);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(9, 56, 85, 0.15), 0 2px 8px rgba(9, 56, 85, 0.1);
    border: 1px solid rgba(9, 56, 85, 0.1);
    min-width: 320px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Gilroy', 'Inter', 'Arial', sans-serif;
}

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

.toast-item.toast-hide {
    opacity: 0;
    transform: translateX(400px);
}

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

.toast-message {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-navy, #093855);
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--gray-600, #65706b);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s ease;
    font-size: 13px;
}

.toast-close:hover {
    background: rgba(9, 56, 85, 0.08);
    color: var(--brand-navy, #093855);
}

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

.toast-success .toast-icon {
    background: rgba(81, 175, 63, 0.12);
    color: #51af3f;
}

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

.toast-error .toast-icon {
    background: rgba(192, 57, 43, 0.12);
    color: #c0392b;
}

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

.toast-warning .toast-icon {
    background: rgba(249, 199, 79, 0.15);
    color: #d4a027;
}

.toast-info {
    border-left: 4px solid #2581c4;
}

.toast-info .toast-icon {
    background: rgba(37, 129, 196, 0.12);
    color: #2581c4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast-item {
        min-width: 0;
        width: 100%;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    #toast-container {
        max-width: 380px;
    }
}
