/* Container dos toasts */
#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert-toast {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    border-left: 4px solid #17a2b8;
    animation: alerta-slide-in 0.3s ease-out;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.alert-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.alert-toast-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.alert-toast-body {
    font-size: 13px;
    color: #495057;
}

.alert-toast-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #6c757d;
    padding: 0 0 0 8px;
}

.alert-toast-close:hover {
    color: #343a40;
}

.alert-toast-success {
    border-left-color: #28a745;
}

.alert-toast-error {
    border-left-color: #dc3545;
}

.alert-toast-warning {
    border-left-color: #ffc107;
}

.alert-toast-info {
    border-left-color: #17a2b8;
}

@keyframes alerta-slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal simples de confirmação */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

.confirm-modal {
    background: #fff;
    border-radius: 10px;
    padding: 20px 22px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.confirm-message {
    font-size: 14px;
    color: #343a40;
    margin-bottom: 16px;
}

.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.confirm-btn {
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.confirm-btn-cancelar {
    background: #e9ecef;
    color: #495057;
}

.confirm-btn-confirmar {
    background: #dc3545;
    color: #fff;
}

.confirm-btn-confirmar-primario {
    background: #007bff;
    color: #fff;
}

