/* /en/complaints and /ar/complaints: "Submit a complaint or request" page. */

@font-face { font-family: "Beatrice Medium"; src: url("/assets/fonts/XCCUPgi7lBkYdcM7y52MNYe2jk.otf"); font-display: swap; }
@font-face { font-family: "Beatrice Bold"; src: url("/assets/fonts/37tIitUEKzJaySmBZC3rjJdTxk.otf"); font-display: swap; }
@font-face { font-family: "Beatrice Extrabold"; src: url("/assets/fonts/gBNdFboPPqDXAoCLq0CFlfsvDs.otf"); font-display: swap; }
@font-face { font-family: "Ping AR + LT Medium"; src: url("/assets/fonts/xqQ1drj6MO31K5Rptone3CjU.otf"); font-display: swap; }
@font-face { font-family: "Ping AR + LT Bold"; src: url("/assets/fonts/SkuIuvoGvvJnpf3w3x0891Rh88.otf"); font-display: swap; }
@font-face { font-family: "Ping AR + LT Black"; src: url("/assets/fonts/oo74On9OI9IadiRSDrQyo7Ic5Y.otf"); font-display: swap; }

:root {
  --tq-orange: #ff6a00;
  --tq-ink: #222;
  --tq-muted: #6f6f6f;
  --tq-line: #d7d7d7;
  --tq-error: #c62828;
  --tq-font: "Beatrice Medium", sans-serif;
  --tq-font-bold: "Beatrice Bold", sans-serif;
  --tq-font-heading: "Beatrice Extrabold", sans-serif;
}

:root:lang(ar) {
  --tq-font: "Ping AR + LT Medium", sans-serif;
  --tq-font-bold: "Ping AR + LT Bold", sans-serif;
  --tq-font-heading: "Ping AR + LT Black", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f5;
  color: var(--tq-ink);
  font: 15px/1.5 var(--tq-font);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.tq-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 84px;
}

.tq-breadcrumb {
  margin: 0 0 32px;
  color: #7a7a7a;
  font-size: 13px;
}

.tq-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.tq-breadcrumb a:hover {
  color: var(--tq-orange);
}

.tq-eyebrow {
  margin: 0 0 10px;
  color: var(--tq-orange);
  font: 13px/1.4 var(--tq-font-bold);
  text-transform: uppercase;
}

:lang(ar) .tq-eyebrow {
  text-transform: none;
}

.tq-page h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font: clamp(32px, 5vw, 48px)/1.1 var(--tq-font-heading);
  letter-spacing: -0.03em;
}

:lang(ar) .tq-page h1 {
  letter-spacing: 0;
  line-height: 1.3;
}

.tq-intro {
  max-width: 700px;
  margin: 0 0 36px;
  color: var(--tq-muted);
  font-size: 16px;
  line-height: 1.65;
}

.tq-card {
  padding: 34px;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.035);
}

.tq-card h2 {
  margin: 0 0 28px;
  font: 21px/1.3 var(--tq-font-bold);
}

.tq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.tq-field--full {
  grid-column: 1 / -1;
}

.tq-label {
  display: block;
  margin-bottom: 9px;
  font: 14px/1.4 var(--tq-font-bold);
}

.tq-required {
  color: var(--tq-orange);
}

.tq-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--tq-line);
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea.tq-input {
  min-height: 150px;
  resize: vertical;
}

.tq-input:focus {
  border-color: var(--tq-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* Numbers, email and the +966 prefix stay left-to-right on the Arabic page. */
.tq-input[dir="ltr"] {
  text-align: left;
}

/* ...but an Arabic placeholder in such a field still reads right-to-left. */
:lang(ar) #tq-national_id::placeholder {
  direction: rtl;
  text-align: right;
}

.tq-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: 48px;
}

.tq-option,
.tq-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.tq-option input,
.tq-consent input {
  accent-color: var(--tq-orange);
}

.tq-consent {
  align-items: flex-start;
  color: #555;
  font-size: 13px;
}

.tq-consent input {
  margin-top: 3px;
}

.tq-phone {
  display: flex;
  direction: ltr;
}

.tq-phone__code {
  display: grid;
  place-items: center;
  flex: 0 0 86px;
  min-height: 48px;
  border: 1px solid var(--tq-line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fafafa;
  font: 14px var(--tq-font-bold);
}

.tq-phone .tq-input {
  min-width: 0;
  border-radius: 0 8px 8px 0;
}

/* Honeypot: hidden from people, filled in by naive bots. */
/* No offscreen offset: in RTL a negative left would widen the scrollable page. */
.tq-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tq-error {
  display: block;
  margin-top: 6px;
  color: var(--tq-error);
  font-size: 13px;
}

.tq-error:empty {
  display: none;
}

.tq-field--invalid .tq-input,
.tq-field--invalid .tq-phone__code {
  border-color: var(--tq-error);
}

.tq-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.tq-submit {
  min-width: 150px;
  min-height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--tq-orange);
  color: #fff;
  font-family: var(--tq-font-bold);
  cursor: pointer;
}

.tq-submit:hover {
  filter: brightness(0.96);
}

.tq-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.tq-alert {
  margin-top: 20px;
  padding: 15px 17px;
  border-radius: 10px;
  font-size: 14px;
}

.tq-alert[hidden] {
  display: none;
}

.tq-alert--error {
  border: 1px solid #f1c4c4;
  background: #fff5f5;
  color: var(--tq-error);
}

.tq-alert--success {
  border: 1px solid #bfe7cc;
  background: #f2fff7;
  color: #1f5b34;
}

.tq-reference {
  font-family: var(--tq-font-bold);
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 780px) {
  .tq-page {
    padding-top: 28px;
  }

  .tq-card {
    padding: 24px 18px;
  }

  .tq-grid {
    grid-template-columns: 1fr;
  }
}
