.dialog {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  font-family: var(--fonte);
}

.dialog.active {
  display: flex;
}

/* Overlay */
.dialog__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s ease;
}

/* Conteúdo */
.dialog__content {
  position: relative;
  z-index: 1;
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: 24px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow);
  animation: slideUp 0.25s ease;
}

/* Ícone */
.dialog__icon {
  color: var(--padrao);
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
}

.dialog__icon svg {
  width: 100%;
  height: 100%;
}

/* Título */
.dialog__title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

/* Mensagem */
.dialog__message {
  font-size: 14px;
  color: var(--secondaryText);
  margin-bottom: 20px;
}

/* Ações */
.dialog__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Botões */
.dialog__btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Cancelar */
.dialog__btn--cancel {
  background-color: var(--gray-light);
  color: var(--text);
}

.dialog__btn--cancel:hover {
  background-color: var(--gray);
  box-shadow: var(--shadow-mini);
}

/* Perigo */
.dialog__btn--danger {
  background-color: var(--padrao);
  color: var(--white);
  box-shadow: var(--button-shadow);
}

.dialog__btn--danger:hover {
  background-color: rgba(var(--padrao-rgb), 0.05); 
  box-shadow: var(--hover-shadow);
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
