/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 450px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

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

.toast-message {
    flex: 1;
    color: #202124;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #5f6368;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #202124;
}

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

.toast-success .toast-icon {
    background: #e6f4ea;
    color: #34a853;
}

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

.toast-error .toast-icon {
    background: #fce8e6;
    color: #ea4335;
}

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

.toast-warning .toast-icon {
    background: #fef7e0;
    color: #fbbc04;
}

.toast-info {
    border-left: 4px solid #4285f4;
}

.toast-info .toast-icon {
    background: #e8f0fe;
    color: #4285f4;
}

/* Dark Mode Support */
[data-theme="dark"] .toast {
    background: #2a2a3e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .toast-message {
    color: #e0e0e0;
}

[data-theme="dark"] .toast-close {
    color: #b0b0b0;
}

[data-theme="dark"] .toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

[data-theme="dark"] .toast-success .toast-icon {
    background: #1e3a2e;
    color: #5dd39e;
}

[data-theme="dark"] .toast-error .toast-icon {
    background: #3a1e1e;
    color: #ff6b6b;
}

[data-theme="dark"] .toast-warning .toast-icon {
    background: #3a3520;
    color: #ffd93d;
}

[data-theme="dark"] .toast-info .toast-icon {
    background: #1e2f3a;
    color: #6ab7ff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 70px;
        right: 10px;
        left: 10px;
    }

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