/* styles/app.css */

:root{
  --bg: #0f2a24;
  --panel: #16352f;
  --text: #f3f7f5;
  --muted:#b8b8b8;
  --border: #2b4a43;
  --accent:#7dd3fc;
  --radius:16px;
  --maxw:680px;
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

#app{
  min-height:100%;
  padding:24px;
}

/* Botones genéricos (para <button> y <a>) */
.btn{
  appearance:none;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover{
  background:#1b4038;
}

.btn.primary{
  border-color:transparent;
  background:var(--accent);
  color:#0f2a24 !important;
}

.btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}

/* Emociones */
.emotion-btn{
  padding:10px;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--text);
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  transition:background 0.2s ease, border-color 0.2s ease;
}

.emotion-btn:hover{
  background:#1b4038;
}

.emotion-btn.selected{
  border:2px solid var(--accent);
}

/* Inputs */
input,
textarea{
  width:100%;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--text);
  border-radius:12px;
  padding:10px;
  font-family:inherit;
  transition:border-color 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder{
  color:#9aa7a2;
}

input:focus,
textarea:focus{
  outline:none;
  border-color:var(--accent);
  background:#183a33;
}

hr{
  border:none;
  border-top:1px solid var(--border);
  margin:16px 0;
}

p{
  line-height:1.5;
}

/* Pulso suave del corazón */

.heart-running {
  animation: heartPulse 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heartPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}
#submitCheckin{
  margin-top: 8px;
  min-width: 220px;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 700;
}

#submitCheckin:disabled{
  opacity: .55;
}
.checkin-hint{
  display:none;
  margin-top:14px;
  padding:14px 16px;
  border-left:3px solid var(--accent);
  background:rgba(255,255,255,0.05);
  border-radius:0 12px 12px 0;
  font-size:18px;
  line-height:1.5;
  font-weight:600;
  color:var(--text);
}
.decision-btn{
  width:100%;
  min-height:56px;
  padding:14px 18px;
  font-size:18px;
  font-weight:700;
  justify-content:center;
}