.modal-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,.55);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: .25s;
  z-index: 9999;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-alerta {
  width: 100%;
  max-width: 650px;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;

  padding: 28px;

  box-shadow: var(--shadow-card);
  color: var(--text);
  font-family: var(--font-body);

  transform: translateY(20px);
  transition: .25s;

  position: relative;
}

.modal-overlay.show .modal-alerta {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  border: none;
  background: transparent;

  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
}

.modal-close:hover {
  color: var(--brand);
}

.modal-header {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-icon {
  width: 72px;
  height: 72px;

  border-radius: 50%;

  background: var(--brand-dim);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 28px;
  color: var(--text);
  font-family: var(--font-head);
}

.modal-header h2 span {
  color: var(--brand);
}

.modal-header p {
  margin-top: 8px;
  color: var(--muted);
}

.campo {
  margin-bottom: 20px;
}

.campo label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--muted);
  font-size: .85rem;
}

.campo input {
  width: 100%;
  height: 58px;

  border: 1px solid var(--border);
  border-radius: 14px;

  padding: 0 16px;
  font-size: 18px;

  background: var(--card2);
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}

.campo input:focus {
  border-color: var(--brand);
}

.preco-wrap {
  display: flex;
  align-items: center;

  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}

.preco-wrap:focus-within {
  border-color: var(--brand);
}

.preco-wrap span {
  padding: 0 18px;
  font-size: 18px;
  background: var(--card2);
  color: var(--muted);
  border-right: 1px solid var(--border);
  height: 58px;
  display: flex;
  align-items: center;
}

.preco-wrap input {
  border: none;
  border-radius: 0;
  height: 58px;
}

.acoes-modal {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.btn-cancelar {
  flex: 1;
  height: 58px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
  font-size: 18px;
  transition: border-color .2s;
}

.btn-cancelar:hover {
  border-color: var(--border-hover);
}

.btn-salvar {
  flex: 1;
  height: 58px;

  border: none;
  border-radius: 14px;

  background: linear-gradient(180deg, #ff6a00, #e84a00);

  color: white;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-body);

  cursor: pointer;
  transition: opacity .2s;
}

.btn-salvar:hover {
  opacity: .88;
}

.alert-notify {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}