/* Skupni slog obrazcev: enak kot blagajna (plavajoča oznaka, primer ob kliku, napaka pod poljem, kljukica). */

/* === .orin-form === */
.orin-form .form-row { position: relative; display: block; width: 100%; margin: 0 0 9px; padding: 0; float: none; }
.orin-form .form-row > label {
  position: absolute; left: 12px; top: 24.5px; transform: translateY(-50%); z-index: 1;
  margin: 0; padding: 0; max-width: calc(100% - 44px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: inherit; font-size: var(--fs-small); font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none;
  color: #6D6C69; pointer-events: none;
  transition: top .12s ease, font-size .12s ease, transform .12s ease;
}
.orin-form .form-row.is-filled > label,
.orin-form .form-row.is-select > label,
.orin-form .form-row:focus-within > label { top: 8px; transform: none; font-size: var(--fs-caption); }
.orin-form .form-row.is-textarea > label { top: 17px; }
.orin-form .form-row.is-textarea.is-filled > label,
.orin-form .form-row.is-textarea:focus-within > label { top: 8px; }
.orin-form .form-row label .required, .orin-form .form-row label abbr.required { display: none; }
.orin-form .form-row input[type="text"], .orin-form .form-row input[type="email"], .orin-form .form-row input[type="tel"],
.orin-form .form-row input[type="password"], .orin-form .form-row input[type="number"], .orin-form .form-row select, .orin-form .form-row textarea {
  box-sizing: border-box; display: block; width: 100% !important; max-width: 100% !important; height: 49px; min-height: 49px; margin: 0;
  padding: 14px 11px; background: #fff; border: 1px solid #CFC9C1; border-radius: 12px; box-shadow: none;
  font-family: inherit; font-size: var(--fs-small); line-height: 1.35; color: #2F2E2C; appearance: none; -webkit-appearance: none;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.orin-form .form-row.is-filled input, .orin-form .form-row:focus-within input, .orin-form .form-row.is-select select { padding-top: 21px; padding-bottom: 6px; }
.orin-form .form-row textarea { height: auto; min-height: 120px; padding: 26px 11px 10px; resize: vertical; }
.orin-form .form-row input::placeholder, .orin-form .form-row textarea::placeholder { color: transparent; }
.orin-form .form-row:focus-within input::placeholder, .orin-form .form-row:focus-within textarea::placeholder { color: #6D6C69; }
.orin-form .form-row input:focus, .orin-form .form-row select:focus, .orin-form .form-row textarea:focus {
  outline: 0; background: #fff; border-color: #2F2E2C; box-shadow: inset 0 0 0 1px #2F2E2C;
}
.orin-form .form-row select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 18px 18px;
}
.orin-form .form-row.orin-has-error input, .orin-form .form-row.orin-has-error select, .orin-form .form-row.orin-has-error textarea {
  border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e;
}
.orin-form .orin-field-error { display: flex; gap: 6px; align-items: flex-start; margin: 6px 2px 0; font-size: var(--fs-caption); line-height: 1.35; color: #b3261e; }
.orin-form .orin-field-error::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b3261e' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M10 6v5'/%3E%3Ccircle cx='10' cy='14' r='.6' fill='%23b3261e'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
}
.orin-form .form-row.orin-is-valid.is-check input {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232e7d4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px 18px;
}

/* === .orin-p #review_form form.orin-form === */
.orin-p #review_form form.orin-form .form-row { position: relative; display: block; width: 100%; margin: 0 0 9px; padding: 0; float: none; }
.orin-p #review_form form.orin-form .form-row > label {
  position: absolute; left: 12px; top: 24.5px; transform: translateY(-50%); z-index: 1;
  margin: 0; padding: 0; max-width: calc(100% - 44px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: inherit; font-size: var(--fs-small); font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none;
  color: #6D6C69; pointer-events: none;
  transition: top .12s ease, font-size .12s ease, transform .12s ease;
}
.orin-p #review_form form.orin-form .form-row.is-filled > label,
.orin-p #review_form form.orin-form .form-row.is-select > label,
.orin-p #review_form form.orin-form .form-row:focus-within > label { top: 8px; transform: none; font-size: var(--fs-caption); }
.orin-p #review_form form.orin-form .form-row.is-textarea > label { top: 17px; }
.orin-p #review_form form.orin-form .form-row.is-textarea.is-filled > label,
.orin-p #review_form form.orin-form .form-row.is-textarea:focus-within > label { top: 8px; }
.orin-p #review_form form.orin-form .form-row label .required, .orin-p #review_form form.orin-form .form-row label abbr.required { display: none; }
.orin-p #review_form form.orin-form .form-row input[type="text"], .orin-p #review_form form.orin-form .form-row input[type="email"], .orin-p #review_form form.orin-form .form-row input[type="tel"],
.orin-p #review_form form.orin-form .form-row input[type="password"], .orin-p #review_form form.orin-form .form-row input[type="number"], .orin-p #review_form form.orin-form .form-row select, .orin-p #review_form form.orin-form .form-row textarea {
  box-sizing: border-box; display: block; width: 100% !important; max-width: 100% !important; height: 49px; min-height: 49px; margin: 0;
  padding: 14px 11px; background: #fff; border: 1px solid #CFC9C1; border-radius: 12px; box-shadow: none;
  font-family: inherit; font-size: var(--fs-small); line-height: 1.35; color: #2F2E2C; appearance: none; -webkit-appearance: none;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.orin-p #review_form form.orin-form .form-row.is-filled input, .orin-p #review_form form.orin-form .form-row:focus-within input, .orin-p #review_form form.orin-form .form-row.is-select select { padding-top: 21px; padding-bottom: 6px; }
.orin-p #review_form form.orin-form .form-row textarea { height: auto; min-height: 120px; padding: 26px 11px 10px; resize: vertical; }
.orin-p #review_form form.orin-form .form-row input::placeholder, .orin-p #review_form form.orin-form .form-row textarea::placeholder { color: transparent; }
.orin-p #review_form form.orin-form .form-row:focus-within input::placeholder, .orin-p #review_form form.orin-form .form-row:focus-within textarea::placeholder { color: #6D6C69; }
.orin-p #review_form form.orin-form .form-row input:focus, .orin-p #review_form form.orin-form .form-row select:focus, .orin-p #review_form form.orin-form .form-row textarea:focus {
  outline: 0; background: #fff; border-color: #2F2E2C; box-shadow: inset 0 0 0 1px #2F2E2C;
}
.orin-p #review_form form.orin-form .form-row select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 18px 18px;
}
.orin-p #review_form form.orin-form .form-row.orin-has-error input, .orin-p #review_form form.orin-form .form-row.orin-has-error select, .orin-p #review_form form.orin-form .form-row.orin-has-error textarea {
  border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e;
}
.orin-p #review_form form.orin-form .orin-field-error { display: flex; gap: 6px; align-items: flex-start; margin: 6px 2px 0; font-size: var(--fs-caption); line-height: 1.35; color: #b3261e; }
.orin-p #review_form form.orin-form .orin-field-error::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b3261e' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M10 6v5'/%3E%3Ccircle cx='10' cy='14' r='.6' fill='%23b3261e'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
}
.orin-p #review_form form.orin-form .form-row.orin-is-valid.is-check input {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232e7d4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px 18px;
}

/* Temno ozadje (modri bloki .cta): svetlejša napaka, polja ostanejo bela. */
.cta .orin-form .form-row { margin: 0; }
.cta .orin-form .orin-field-error { color: #ffc2bc; }
.cta .orin-form .orin-field-error::before { filter: brightness(1.6); }
.cta .orin-form .form-row.orin-has-error input, .cta .orin-form .form-row.orin-has-error textarea, .cta .orin-form .form-row.orin-has-error select { border-color: #ffc2bc; box-shadow: inset 0 0 0 1px #ffc2bc; }
.orin-form .orin-lead-err { margin: .8rem 0 0; }
