/* Main styles for web-rating.html */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fafbfd;
}

.container {
  background: #ebeef5;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content {
  background-color: #fff;
  border: 2px solid #d9dfed;
}

.header {
  margin-bottom: 40px;
}

.greeting {
  font-size: 24px;
  color: #131316;
  font-weight: 600;
  margin-bottom: 10px;
}

.question {
  font-size: 18px;
  color: #131316;
  margin-bottom: 5px;
}

.salon-name {
  font-size: 20px;
  color: #131316;
  font-weight: 600;
}

.rating-section {
  margin-bottom: 0;
}

.stars-container {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.star-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80px;
}

.star-button:hover {
  transform: scale(1.1);
}

.star-button.selected {
  transform: scale(1.2);
}

.star-icon {
  font-size: 40px;
  margin-bottom: 5px;
  transition: color 0.2s ease;
}

.emoji {
  font-size: 24px;
  transition: opacity 0.2s ease;
}

.rating-label {
  font-size: 18px;
  color: #131316;
  font-weight: 500;
}

.feedback-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feedback-title {
  font-size: 18px;
  color: #131316;
  font-weight: 500;
  margin-bottom: 15px;
}

.feedback-input {
  width: 100%;
  min-height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #d9dfed;
  border-radius: 10px;
  padding: 15px;
  color: #131316;
  font-size: 16px;
  resize: vertical;
}

.feedback-input::placeholder {
  color: #464e62;
}

.submit-button {
  box-shadow: 0 4px #633eda;
  background-color: #7852f4;
  border: 2px solid #633eda;
  border-radius: 18px;
  padding: 0.625rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.submit-button:hover {
  background-color: #704bec;
  transform: scale(1.07);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.hidden {
  display: none;
}

.app-download {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-download h3 {
  color: #131316;
  font-size: 16px;
  margin-bottom: 10px;
}

.app-download p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 15px;
}

.download-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.download-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  color: #131316;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.highlight {
  background-color: #f3f1fd;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  padding-left: 12px;
  padding-right: 12px;
  display: inline-flex;
  color: #7852f4;
}

@media (max-width: 480px) {
  .container {
    padding: 30px 20px;
  }

  .greeting {
    font-size: 20px;
  }

  .star-icon {
    font-size: 35px;
  }

  .emoji {
    font-size: 20px;
  }
}

.pointer-hand-good {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  bottom: -18px;
  width: 38px;
  height: 38px;
  z-index: 10;
  pointer-events: none;
}

.star-button.good-pointer {
  position: relative;
}
