/* gratitude.css – 4-step gratitude flow styles */

#gratitude-activity {
  background: linear-gradient(135deg, #6bb6ff 0%, #7dd3fc 50%, #86efac 100%);
}

.gratitude-container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: white;
  position: relative;
  overflow-y: auto;
}

.step {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 100px 20px 40px;
  position: relative;
}

.view-history-corner-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.view-history-corner-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.prompt-content {
  text-align: center;
  max-width: 500px;
  padding: 20px;
}

.prompt-text {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 40px;
  opacity: 0.95;
}

.button-group-centered {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.button-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.button-primary {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #2b7cb5;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.button-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.button-secondary {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.2s ease;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.input-content {
  max-width: 500px;
  width: 100%;
  padding: 20px;
}

.input-prompt {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
  opacity: 0.95;
}

.input-field {
  margin-bottom: 16px;
}

.input-field label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  opacity: 0.9;
}

.input-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-family: inherit;
  font-size: 17px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.input-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.breathing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 500px;
  width: 100%;
  padding: 20px;
}

.user-gratitude-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
  font-style: italic;
  max-width: 400px;
}

.reflection-text {
  font-size: 22px;
  font-weight: 500;
  margin-top: 20px;
  opacity: 0.9;
  line-height: 1.4;
  max-width: 400px;
}

.history-content {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  overflow-y: auto;
  max-height: 100vh;
}

.history-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.history-entry {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
}

.history-entry-prompt {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 6px;
}

.history-entry-text {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.history-entry-date {
  font-size: 14px;
  opacity: 0.6;
}

.button-group-history {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 10px 0 20px;
}

.button-history {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.2s ease;
}

.button-history:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}
