@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Hind:wght@400;500&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #FFFBF5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hind', sans-serif;
  padding: 1rem;
}

/* ── Layout ── */
.wrap {
  width: 100%;
  max-width: 400px;
}

/* ── Header ── */
.header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.logo {
  font-family: 'Yatra One', cursive;
  font-size: 30px;
  color: #B5390A;
  line-height: 1.1;
}

.spice-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 8px 0;
}

.spice-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E8C07A;
}

.spice-dots span:nth-child(2),
.spice-dots span:nth-child(4) {
  background: #C8450F;
}

.tagline {
  font-size: 12px;
  color: #8B6914;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Card ── */
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #F0D9B0;
  padding: 1.5rem;
}

.question {
  font-family: 'Yatra One', cursive;
  font-size: 18px;
  color: #3D1F00;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

/* ── Rating buttons ── */
.ratings {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rate-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #F0D9B0;
  background: #FFFBF5;
  cursor: pointer;
  font-family: 'Hind', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #3D1F00;
  width: 100%;
  text-align: left;
  transition: all 0.15s;
}

.rate-btn:hover {
  border-color: #C8450F;
  background: #FFF3EB;
}

.rate-btn.selected {
  border-color: #B5390A;
  background: #FFF0E6;
  color: #B5390A;
}

.rate-emoji {
  font-size: 20px;
  width: 26px;
  text-align: center;
}

.rate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #D0A060;
  margin-left: auto;
  transition: all 0.15s;
}

.rate-btn.selected .rate-dot {
  background: #B5390A;
  border-color: #B5390A;
}

/* ── Custom feedback textbox ── */
.custom-feedback {
  margin-top: 1rem;
}

.custom-feedback label {
  display: block;
  font-size: 13px;
  color: #8B6914;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.custom-feedback textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #F0D9B0;
  background: #FFFBF5;
  font-family: 'Hind', sans-serif;
  font-size: 14px;
  color: #3D1F00;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.5;
}

.custom-feedback textarea::placeholder {
  color: #C0A070;
}

.custom-feedback textarea:focus {
  border-color: #C8450F;
  background: #fff;
}

.char-count {
  text-align: right;
  font-size: 11px;
  color: #C0A070;
  margin-top: 4px;
}

/* ── Submit button ── */
.submit-btn {
  margin-top: 1.1rem;
  width: 100%;
  padding: 14px;
  background: #B5390A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Yatra One', cursive;
  font-size: 17px;
  cursor: pointer;
  transition: opacity 0.15s;
}

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

.submit-btn:not(:disabled):hover {
  opacity: 0.88;
}

/* ── Thank you screen ── */
.thanks {
  text-align: center;
  padding: 2rem 0;
}

.thanks-icon {
  font-size: 52px;
}

.thanks-title {
  font-family: 'Yatra One', cursive;
  font-size: 24px;
  color: #B5390A;
  margin-top: 0.5rem;
}

.thanks-sub {
  font-size: 14px;
  color: #8B6914;
  margin-top: 8px;
  line-height: 1.5;
}

/* ── Footer ── */
footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 12px;
  color: #C0924A;
}
