.hp-gestirent-form-wrapper {
  --hp-form-bg: rgba(255, 255, 255, 0.04);
  --hp-form-surface: rgba(255, 255, 255, 0.08);
  --hp-form-border: rgba(255, 255, 255, 0.18);
  --hp-form-text: currentColor;
  --hp-form-muted: rgba(255, 255, 255, 0.72);
  --hp-form-accent: #b89a63;
  --hp-form-accent-hover: #a6874f;
  --hp-form-input-bg: rgba(255, 255, 255, 0.96);
  --hp-form-input-text: #1f2937;
  --hp-form-radius: 16px;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--hp-form-border);
  border-radius: var(--hp-form-radius);
  background: linear-gradient(180deg, var(--hp-form-surface), var(--hp-form-bg));
  backdrop-filter: blur(10px);
}

.hp-gestirent-form {
  display: grid;
  gap: 18px;
}

.hp-gestirent-form__context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--hp-form-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-gestirent-form__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-gestirent-form label {
  display: grid;
  gap: 8px;
  color: var(--hp-form-text);
  font-size: 14px;
  font-weight: 600;
}

.hp-gestirent-form input,
.hp-gestirent-form select,
.hp-gestirent-form textarea,
.hp-gestirent-form button {
  width: 100%;
  box-sizing: border-box;
}

.hp-gestirent-form input,
.hp-gestirent-form select,
.hp-gestirent-form textarea {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
  background: var(--hp-form-input-bg);
  color: var(--hp-form-input-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hp-gestirent-form input::placeholder,
.hp-gestirent-form textarea::placeholder {
  color: #6b7280;
}

.hp-gestirent-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hp-gestirent-form__full {
  grid-column: 1 / -1;
}

.hp-gestirent-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
}

.hp-gestirent-form__check input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
  accent-color: var(--hp-form-accent);
  box-shadow: none;
}

.hp-gestirent-form__actions {
  display: grid;
  gap: 10px;
}

.hp-gestirent-form button[type="submit"] {
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--hp-form-accent);
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hp-gestirent-form button[type="submit"]:hover {
  background: var(--hp-form-accent-hover);
  transform: translateY(-1px);
}

.hp-gestirent-form__actions button[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.hp-gestirent-form__message {
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  display: none;
}

.hp-gestirent-form__message.is-error {
  color: #b42318;
  background: rgba(254, 228, 226, 0.95);
  display: block;
}

.hp-gestirent-form__message.is-success {
  color: #027a48;
  background: rgba(220, 252, 231, 0.95);
  display: block;
}

.hp-gestirent-form a {
  color: inherit;
  text-decoration: underline;
}

.hp-gestirent-form input:focus,
.hp-gestirent-form select:focus,
.hp-gestirent-form textarea:focus {
  outline: none;
  border-color: var(--hp-form-accent);
  box-shadow: 0 0 0 3px rgba(184, 154, 99, 0.18);
}

@media (max-width: 767px) {
  .hp-gestirent-form__grid {
    grid-template-columns: 1fr;
  }

  .hp-gestirent-form__full {
    grid-column: auto;
  }

  .hp-gestirent-form-wrapper {
    padding: 18px;
    border-radius: 12px;
  }
}
