/* css/style.css */

/* Theme colors */
:root{
  --sea-blue: #0ca8c6;      /* ฟ้าน้ำทะเล */
  --gold: #d4a017;          /* เหลืองทอง */
  --light-gray: #f5f7fa;    /* เทาอ่อน */
  --muted: #6c757d;
}

/* Page & card */
body{
  background: linear-gradient(180deg, #f7fbfc 0%, #eef7f9 100%);
  color: #1f2d3d;
  -webkit-font-smoothing:antialiased;
}

.survey-card{
  border-radius:12px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(12,168,198,0.06), rgba(212,160,23,0.03));
}

/* header logo */
.logo{
  width:80px;
  height:80px;
  object-fit:contain;
  background:white;
  padding:6px;
  border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}


/* section title */
.section-title{
  color: var(--sea-blue);
  font-weight:600;
  margin-bottom:0.5rem;
}

/* question block */
.question-block{
  background: white;
  border: 1px solid rgba(15,76,90,0.06);
}

/* emoji row */
.emoji-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.emoji-btn{
  font-size:26px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  padding:6px;
  border-radius:8px;
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.emoji-btn:hover, .emoji-btn.hovered{
  transform: scale(1.12);
  filter: drop-shadow(0 6px 10px rgba(12,168,198,0.12));
}

.emoji-btn.selected{
  box-shadow: 0 6px 16px rgba(212,160,23,0.18);
  background: linear-gradient(180deg, rgba(212,160,23,0.06), rgba(12,168,198,0.04));
  border: 1px solid rgba(212,160,23,0.12);
}

/* submit button */
.btn-submit{
  background: linear-gradient(90deg, var(--sea-blue), var(--gold));
  border: none;
  color: white;
  padding: .6rem 2rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(12,168,198,0.12);
}

/* responsiveness finer control */
@media (max-width:576px){
  .logo{ width:48px; height:48px; }
  .emoji-btn{ font-size:22px; width:42px; height:42px; }
}

.emoji-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.emoji-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

.emoji-btn {
  font-size: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.emoji-btn:hover {
  transform: scale(1.2);
}

.emoji-btn.selected {
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px rgba(212,160,23,0.5));
}

.emoji-label {
  font-size: 0.9rem;
  color: #333;
  margin-top: 4px;
  text-align: center;
  user-select: none;
}

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
body, table, button, input, select, textarea {
  font-family: 'Kanit', sans-serif !important;
}

