/* botoes_principais.css - ManuSystems v4.8 */

/* Botão principal padrão */
.btn-primary {
  background-color: #8fbc8f;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 14px 28px;
  font-size: 15px;
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(143, 188, 143, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(143, 188, 143, 0.4);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Botão secundário */
.btn-secondary {
  background-color: transparent;
  color: #5d5443;
  border: 1.5px solid rgba(197, 160, 89, 0.3);
  border-radius: 15px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'DM Sans', 'Inter', sans-serif;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-secondary:hover {
  border-color: #8fbc8f;
  color: #3c362a;
}

/* Botão de confirmação (verde escuro) */
.btn-confirm {
  background-color: #4a5d4e;
  color: #fdf5e6;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 15px;
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s;
}
.btn-confirm:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Botão de alerta/perigo */
.btn-danger {
  background-color: #e8a090;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'DM Sans', 'Inter', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-danger:hover {
  opacity: 0.85;
}

/* Botão ícone (pequeno, circular) */
.btn-icon {
  background: rgba(143, 188, 143, 0.15);
  border: 1px solid rgba(143, 188, 143, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 16px;
}
.btn-icon:hover {
  background: rgba(143, 188, 143, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   Fresh Dawn v4.8 — Classes Canônicas de Botão (Refatoracao24)
   Prefijo fd = Fresh Dawn. NÃO alterar classes existentes acima.
   ═══════════════════════════════════════════════════════════════ */

/* btn-fd-primary — Ação principal (ENTRAR, SALVAR, ENVIAR, VALIDAR) */
.btn-fd-primary {
  background: linear-gradient(to right, #E8A090, #D48A7A);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-fd-primary:hover {
  background: linear-gradient(to right, #D48A7A, #C27868);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 138, 122, 0.3);
}
.btn-fd-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* btn-fd-sage — Ação secundária (Enviar novamente, Copiar) */
.btn-fd-sage {
  background: #A8C5A0;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-fd-sage:hover {
  background: #97B48F;
}
.btn-fd-sage:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* btn-fd-ghost — Navegação e alternativas (Voltar, Esqueceu a senha?) */
.btn-fd-ghost {
  background: transparent;
  color: #C5A059;
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-fd-ghost:hover {
  background: rgba(197, 160, 89, 0.08);
}

/* btn-fd-alert — Botões destrutivos ou de erro */
.btn-fd-alert {
  background: #E8A090;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-fd-alert:hover {
  background: #D48A7A;
}
