/* Componente reutilizabile - extind Tailwind */

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms;
  cursor: pointer;
  border: none;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: #395143;
  color: white;
}
.btn-primary:hover:not(:disabled) { background: #2f4138; }

.btn-secondary {
  background: #f5f5f4;
  color: #1c1917;
  border: 1px solid #e7e5e4;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary:hover { background: #e7e5e4; }

.btn-danger {
  background: #dc2626;
  color: white;
}
.btn-danger:hover:not(:disabled) { background: #b91c1c; }

.input {
  width: 100%;
  border: 1px solid #d6d3d1;
  background: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.input:focus {
  outline: none;
  border-color: #5d7d68;
  box-shadow: 0 0 0 1px #5d7d68;
}

.card {
  background: white;
  border: 1px solid #e7e5e4;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-pending { background: #fef3c7; color: #78350f; }
.badge-approved { background: #d1fae5; color: #064e3b; }
.badge-rejected { background: #fee2e2; color: #7f1d1d; }
.badge-cancelled { background: #e7e5e4; color: #44403c; }
