/* ---------- GENERAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* ---------- CONTAINER ---------- */
.app-container {
  width: 100%;
  max-width: 420px;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------- HEADINGS ---------- */
h1 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
}

/* ---------- FORM ---------- */
.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

input,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

/* ---------- BUTTONS ---------- */
button {
  width: 100%;
  padding: 12px;
  background: #ff6f6f;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #ff4141;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------- RESULT SECTION ---------- */
.hidden {
  display: none;
}

.result {
  margin-top: 24px;
  text-align: center;
}

/* meter */
.meter-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
}

.meter {
  flex: 1;
  height: 18px;
  border-radius: 999px;
  background: #ffe0e0;
  overflow: hidden;
  border: 1px solid #ffc2c2;
}

.meter-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6f6f, #ff9a9e);
  transition: width 0.9s ease-out;
}

.emoji-display {
  font-size: 24px;
}

/* texts */
.score-text {
  font-size: 24px;
  font-weight: bold;
  color: #ff4b4b;
  margin: 6px 0;
}

.message-text {
  font-size: 16px;
  color: #444;
  margin-bottom: 6px;
}

.advice-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
}

/* ---------- DISCLAIMER ---------- */
.disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

/* ---------- SHARE BOX ---------- */
.share-box {
  margin: 10px 0 18px;
  text-align: left;
}

.share-label {
  font-size: 13px;
  color: #444;
  margin-bottom: 6px;
}

.share-textarea {
  width: 100%;
  padding: 8px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid #ddd;
  resize: none;
  margin-bottom: 8px;
}

.secondary-button {
  width: 100%;
  margin-bottom: 6px;
  background: #fff;
  color: #ff6f6f;
  border: 1px solid #ff9a9e;
}

.secondary-button:hover {
  background: #ffe6ea;
}

.copy-status {
  font-size: 12px;
  color: #4caf50;
  min-height: 16px;
}

.mashup-text {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

