.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--dark-surface);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    animation: toast-in 0.3s ease-in-out;
    overflow: hidden;
    min-width: 250px;
    max-width: 350px;
    border-left: 4px solid;
    transition: transform 0.3s, opacity 0.3s;
}

.toast.info {
    border-left-color: #3498db;
}

.toast.success {
    border-left-color: #2ecc71;
}

.toast.warning {
    border-left-color: #f39c12;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.edit {
    border-left-color: #f39c12;
}

.toast-icon {
    margin-right: 10px;
    font-size: 18px;
}

.toast-message {
    flex-grow: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 0 10px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: white;
}

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

.toast-clickable {
    cursor: pointer;
    transition: background-color 0.2s;
}

.toast-clickable:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

@keyframes toast-in {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Tema claro */
body.light .toast {
    background-color: white;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.light .toast-close {
    color: rgba(0, 0, 0, 0.5);
}

body.light .toast-close:hover {
    color: black;
}

body.light .toast-clickable:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Adicionar estilo específico para toast de configurações */
.toast.settings {
    background: var(--dark-surface);
    border-color: var(--color-primary);
}

.toast.settings .toast-icon {
    color: var(--color-primary);
}

/* Estilos específicos para notificações */
.notifications-list {
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid var(--dark-border);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-item.warning { color: #f59e0b; }
.notification-item.error { color: #ef4444; }
.notification-item.info { color: #3b82f6; }
.notification-item.success { color: #10b981; }

.notification-item:last-child {
    border-bottom: none;
}

.toast.notification {
    max-width: 400px;
    width: 100%;
}

.toast.notification .toast-message {
    width: 100%;
}

.confirm-dialog {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toast-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
