/* Toast Notification Styles - TaskRabbit Orange Theme */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    min-width: 320px;
    max-width: 420px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    border: 1px solid #f0f0f0;
}

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

.toast-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    animation: iconPop 0.5s ease-out;
}

@keyframes iconPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #333;
    transform: rotate(90deg);
}

/* Success Toast - Orange branding */
.toast-success {
    border-left: 5px solid #1a1a1a;
    background: linear-gradient(to right, #fff5f1, white);
}

.toast-success .toast-icon {
    color: #1a1a1a;
}

/* Error Toast */
.toast-error {
    border-left: 5px solid #dc3545;
    background: linear-gradient(to right, #fff5f6, white);
}

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

/* Warning Toast */
.toast-warning {
    border-left: 5px solid #ffc107;
    background: linear-gradient(to right, #fffbf0, white);
}

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

/* Info Toast */
.toast-info {
    border-left: 5px solid #17a2b8;
    background: linear-gradient(to right, #f0f9fb, white);
}

.toast-info .toast-icon {
    color: #17a2b8;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .toast-container {
        top: 70px;
        right: 10px;
        left: 10px;
    }
    .toast {
        min-width: 100%;
        max-width: 100%;
        padding: 14px 16px;
    }
    .toast-icon {
        font-size: 1.4rem;
    }
    .toast-message {
        font-size: 0.9rem;
    }
}
