/* Beauty Hills – Startseiten-Bewertungsformular */

.bh-sr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10040;
}

.bh-sr-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10050;
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.bh-sr-modal[hidden],
.bh-sr-overlay[hidden] {
  display: none !important;
}

.bh-sr-inner {
  padding: 2rem 1.75rem 1.75rem;
}

.bh-sr-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #000;
  cursor: pointer;
}

.bh-sr-title {
  margin: 0.5rem 0 0.75rem;
  font-family: 'Mulish', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.bh-sr-lead {
  margin: 0 0 1.5rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bh-sr-form .bh-sr-row {
  margin-bottom: 1.15rem;
}

.bh-sr-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Mulish', sans-serif;
}

.bh-sr-form .required {
  color: #E6503E;
}

.bh-sr-form input[type="text"],
.bh-sr-form input[type="email"],
.bh-sr-form input[type="file"],
.bh-sr-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Mulish', sans-serif;
}

.bh-sr-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.bh-sr-form input:focus,
.bh-sr-form textarea:focus {
  outline: none;
  border-color: #000;
}

.bh-sr-form small {
  display: block;
  margin-top: 0.35rem;
  color: #777;
  font-size: 12px;
}

.bh-sr-row--2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .bh-sr-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.bh-sr-stars {
  display: flex;
  gap: 0.35rem;
}

.bh-sr-star {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #ccc;
  cursor: pointer;
  padding: 0;
}

.bh-sr-star.is-on,
.bh-sr-star.is-hover {
  color: #000;
}

.bh-sr-check label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.bh-sr-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.bh-sr-check a {
  color: #000;
  text-decoration: underline;
}

.bh-sr-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.bh-sr-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.bh-sr-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-size: 14px;
  border-radius: 4px;
}

.bh-sr-message.is-error {
  background: #fdecea;
  color: #8a1f11;
}

.bh-sr-message.is-success {
  background: #e8f6ec;
  color: #1a5c2e;
}

.bh-sr-success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.bh-sr-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 28px;
  line-height: 64px;
}

.bh-sr-success h3 {
  margin: 0 0 0.75rem;
  font-family: 'Mulish', sans-serif;
}

.bh-sr-success p {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

body.bh-sr-open {
  overflow: hidden;
}
