/* Toast Notification Styles for PressPective Viewer */

#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(26, 26, 26, 0.95);
    border-left: 4px solid #4a9eff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    backdrop-filter: blur(4px);
}

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

.toast.info { border-color: #4a9eff; }
.toast.success { border-color: #4acd4a; }
.toast.warning { border-color: #ffc107; }
.toast.error { border-color: #ff4a4a; }

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

.toast.info .toast-icon { background: #4a9eff; }
.toast.success .toast-icon { background: #4acd4a; }
.toast.warning .toast-icon { background: #ffc107; }
.toast.error .toast-icon { background: #ff4a4a; }

.toast-message {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
