/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    min-width: 320px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.toast-notification.show {
    right: 20px;
}

.toast-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
}

.toast-notification.toast-error::before {
    background: linear-gradient(90deg, #f44336, #e91e63);
}

.toast-notification.toast-info::before {
    background: linear-gradient(90deg, #2196F3, #03A9F4);
}

.toast-notification.toast-warning::before {
    background: linear-gradient(90deg, #FF9800, #FFC107);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-notification.toast-success .toast-icon {
    color: #4CAF50;
}

.toast-notification.toast-error .toast-icon {
    color: #f44336;
}

.toast-notification.toast-info .toast-icon {
    color: #2196F3;
}

.toast-notification.toast-warning .toast-icon {
    color: #FF9800;
}

.toast-message {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Animation for mobile */
@media (max-width: 768px) {
    .toast-notification {
        right: -100%;
        left: auto;
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        top: 80px;
    }

    .toast-notification.show {
        right: 20px;
    }
}
