/* ============================================================
   TASKVOICE
   base.css
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #1f2937;

  background: #f4f6f8;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* ============================================================
   BOTONES
   ============================================================ */

.btn {
  display: inline-flex;

  justify-content: center;

  align-items: center;

  min-height: 46px;

  padding: 0.75rem 1.25rem;

  border: none;

  border-radius: 8px;

  font-weight: 600;

  transition:
    transform 0.1s,
    opacity 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  width: 100%;

  color: white;

  background: #1f5eff;
}

/* ============================================================
   FORMULARIOS
   ============================================================ */

.form-group {
  display: flex;

  flex-direction: column;

  gap: 0.45rem;
}

.form-group label {
  font-size: 0.9rem;

  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;

  min-height: 46px;

  padding: 0.75rem;

  border: 1px solid #cbd5e1;

  border-radius: 8px;

  background: white;

  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #1f5eff;

  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.12);
}

.form-message {
  min-height: 22px;

  font-size: 0.9rem;
}

.form-message.error {
  color: #b91c1c;
}

.form-message.success {
  color: #15803d;
}

/* ============================================================
   UTILIDADES GENERALES
   ============================================================ */

.hidden {
  display: none !important;
}
