/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f0f4f8;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Card container */
.card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 650px;
}

h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
  color: #333;
}

/* Form Group */
.form-group {
  margin-bottom: 24px;
}

label {
  font-weight: 600;
  color: #444;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

/* Emoji Row */
.emoji-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.emoji-row label {
  flex: 1;
  min-width: 90px;
  text-align: center;
  cursor: pointer;
}

input[type="radio"] {
  display: none;
}

/* Emoji Box */
.emoji-box {
  padding: 10px;
  background-color: #eae5de;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.emoji-box img {
  width: 40px;
  height: 40px;
  margin: 0 auto 6px;
  transition: all 0.3s ease;
}

.emoji-box span {
  display: block;
  font-size: 14px;
  color: #333;
}

/* Hover */
.emoji-row label:hover .emoji-box {
  background-color: #e9ecef;
  transform: translateY(-2px);
}

/* Checked (selected) state */
input[type="radio"]:checked + .emoji-box {
  background-color: #d0ebff;
  border: 2px solid #339af0;
  transform: scale(1.05);
}

input[type="radio"]:checked + .emoji-box img {
  transform: scale(1.15);
}

/* Textarea */
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  resize: vertical;
  font-size: 15px;
  transition: 0.3s;
}

textarea:focus {
  border-color: #339af0;
  outline: none;
}

/* Button */

button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  background: linear-gradient(135deg, #339af0, #74c0fc);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: linear-gradient(135deg, #228be6, #66d9e8);
}



/* Responsive */
@media (max-width: 600px) {
  .card {
    padding: 20px;
  }

  .emoji-row {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
