/* =========================
   VARIABLES (FÁCIL AJUSTE)
========================= */
:root {
  --ntp-green: #2ecc71;
  --ntp-green-soft: rgba(46, 204, 113, 0.12);
  --ntp-text-main: #1f2933;
  --ntp-text-soft: #6b7280;
  --ntp-border: #e5e7eb;
  --ntp-bg-soft: #f9fafb;
  --ntp-radius: 18px;
}

/* =========================
   TEXTOS DE APOYO
========================= */
.ntp-helper,
.ntp-block-desc,
.ntp-block-intro,
.ntp-submit-note {
  color: var(--ntp-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* =========================
   BLOQUES GENERALES
========================= */
.ntp-block {
  background: #fff;
  border-radius: var(--ntp-radius);
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* =========================
   BLOQUE FECHA
========================= */
.ntp-block-date input[type="date"] {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ntp-border);
  font-size: 1rem;
}

/* =========================
   ANIMACIONES UX
========================= */
@keyframes ntp-select-in {
  0% {
    transform: scale(0.94);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes ntp-select-out {
  0% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.7;
  }
}

/* =========================
   EJERCICIO CON ICONOS
========================= */
.ntp-exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 14px;
}

.ntp-exercise-grid label {
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  border: 2px solid var(--ntp-border);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.9rem;
}

.ntp-exercise-grid input {
  display: none;
}

.ntp-exercise-grid span {
  display: block;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease;
  animation: ntp-select-out 0.18s ease;
}

.ntp-exercise-grid label:hover {
  transform: translateY(-2px);
  border-color: var(--ntp-green);
}

.ntp-exercise-grid input:checked + span {
  color: var(--ntp-green);
  font-weight: 600;
  background: var(--ntp-green-soft);
  border-radius: 12px;
  padding: 6px 0;
  animation: ntp-select-in 0.22s cubic-bezier(.34,1.56,.64,1);
}

.ntp-exercise-grid input:checked + span::after {
  content: "✓";
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
}

/* =========================
   ESTADO DE ÁNIMO
========================= */
.ntp-block-mood {
  background: var(--ntp-bg-soft);
  border-left: 6px solid var(--ntp-green);
}

.ntp-mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ntp-mood-grid label {
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  border: 2px solid var(--ntp-border);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.9rem;
}

.ntp-mood-grid input {
  display: none;
}

.ntp-mood-grid label span {
  display: block;
  font-size: 1.6rem;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease;
  animation: ntp-select-out 0.18s ease;
}

.ntp-mood-grid label:hover {
  transform: translateY(-2px);
  border-color: var(--ntp-green);
}

.ntp-mood-grid input:checked + span {
  color: var(--ntp-green);
  font-weight: 600;
  background: var(--ntp-green-soft);
  border-radius: 12px;
  padding: 6px 0;
  animation: ntp-select-in 0.22s cubic-bezier(.34,1.56,.64,1);
}

.ntp-mood-grid input:checked + span::after {
  content: "✓";
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
}

/* =========================
   ESCALAS
========================= */
.ntp-block-scales input[type=range] {
  width: 100%;
  margin-bottom: 6px;
}

.ntp-block-scales small {
  display: block;
  color: var(--ntp-text-soft);
  margin-bottom: 16px;
}

/* =========================
   MÉTRICAS
========================= */
.ntp-block-metrics input {
  width: 100%;
  margin-bottom: 10px;
}

.ntp-measures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

/* =========================
   BOTÓN ENVÍO
========================= */
.ntp-submit {
  background: var(--ntp-green);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ntp-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(46,204,113,0.35);
}