:root {
  --primary: #fd7e14;
  --primary-dark: #dd6b0a;
  --bg: #ffffff;
  --card-bg: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --success-bg: #fff4e8;
  --success-border: #fd7e14;
  --success-text: #b1560a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  padding: 32px;
  overflow: hidden;
}

.banner {
  margin: -32px -32px 24px;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

.header {
  text-align: center;
  margin-bottom: 28px;
}

.header .logo {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .logo img {
  max-height: 64px;
  width: auto;
}

.header h1 {
  font-size: 22px;
  margin: 0 0 6px;
}

.header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

label .required {
  color: #ef4444;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(253,126,20,0.15);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px dashed var(--border);
  border-radius: 8px;
 font-size: 16px;
  font-family: inherit;
  color: var(--muted);
  background: #fafafa;
}

input[type="file"]::file-selector-button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
 font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
  transition: background .15s;
}

input[type="file"]::file-selector-button:hover {
  background: var(--primary-dark);
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 0;
}

legend {
  font-weight: 600;
  font-size: 16px;
  padding: 0 6px;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.rating-row:last-child {
  border-bottom: none;
}

.rating-row .rating-label {
  font-size: 16px;
  flex: 1 1 auto;
  min-width: 140px;
}

.stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 2px;
}

.stars input {
  display: none;
}

.stars label {
  font-size: 24px;
  color: #d1d5db;
  cursor: pointer;
  margin: 0;
  padding: 0 2px;
  transition: color .15s;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
  color: #fbbf24;
}

.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: normal;
}

.radio-option input {
  margin: 0;
  accent-color: var(--primary);
}

.helper-text {
 font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.submit-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background .15s;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  display: none;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

.success-message.show {
  display: block;
}

.error-message {
  display: none;
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

.error-message.show,
.error-message:not(:empty) {
  display: block;
}

.form-content.hide {
  display: none;
}

.recaptcha-notice {
 font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.recaptcha-notice a {
  color: var(--primary);
}
