/* Partner pages (/tr/ortaklik form, /ortak/*): site.css tokens, a few forms. */
.ort-form { display: grid; gap: 18px; max-width: 440px; }
.ort-form[hidden] { display: none; }
.ort-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.ort-form input[type="text"], .ort-form input[type="email"], .ort-form input[type="password"],
.ort-form input[type="url"], .ort-form input[type="number"], .ort-form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.ort-form textarea { resize: vertical; min-height: 5.2em; }
.ort-form ::placeholder { color: var(--ink-2); opacity: .55; }
.ort-form input:focus, .ort-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.ort-form [aria-invalid="true"] { border-color: #b3261e; }
.ort-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, #b3261e 20%, transparent); }
.ort-err { color: #b3261e; font-weight: 400; font-size: .88rem; }
@media (prefers-color-scheme: dark) {
  .ort-err { color: #ffb4ab; }
  .ort-form [aria-invalid="true"] { border-color: #ffb4ab; }
}
.ort-chan { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ort-chan li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; overflow-wrap: anywhere; }
.ort-chan b { min-width: 7.5em; }
.ort-chan code { flex: 1 1 14em; }
.ort-check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; }
.ort-check input { margin-top: .3em; width: 18px; height: 18px; flex: 0 0 auto; }
.ort-btn {
  font: 600 1rem/1 var(--sans); padding: 13px 22px; border-radius: 8px; border: 0;
  background: var(--brand); color: var(--brand-ink); cursor: pointer; justify-self: start;
}
.ort-btn:hover:not([disabled]) { filter: brightness(1.08); }
.ort-form .ort-btn { width: 100%; }
.ort-btn[disabled] { opacity: .55; cursor: default; }
.ort-btn.line { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.ort-msg { min-height: 1.4em; font-weight: 500; font-size: .95rem; }
.ort-msg:empty { display: none; }
.ort-msg.err { color: #b3261e; }
.ort-msg.ok { color: var(--brand); }
@media (prefers-color-scheme: dark) { .ort-msg.err { color: #ffb4ab; } }
.ort-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 18px 0; }
.ort-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ort-card b { display: block; font: 700 1.6rem/1.2 var(--sans); color: var(--brand); font-variant-numeric: tabular-nums; }
.ort-card span { color: var(--ink-2); font-size: .92rem; }
.ort-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; overflow-wrap: anywhere; }
.ort-link code { font-size: 1rem; }
.ort-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; }
.ort-pill.pending { background: #b26a00; } .ort-pill.approved { background: #2c6fb3; }
.ort-pill.refunded, .ort-pill.rejected { background: #b3261e; } .ort-pill.sent { background: #2f7d5b; }
.ort-section { margin-top: 34px; }
.ort-hidden { display: none !important; }
.ort-terms { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.ort-terms li { margin: 8px 0; }
.ort-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
/* "Send a new code" under the confirmation code (account changes need the e-mailed code). */
.ort-again { background: none; border: 0; padding: 4px 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; justify-self: start; }
.ort-again:disabled { color: var(--ink-2); cursor: default; text-decoration: none; }
/* "My account": username and the address change codes go to. */
.ort-account { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 6px; }
.ort-account dt { color: var(--ink-2); }
.ort-account dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* The partner page's one call to action, under the ticks next to the video. */
.ort-cta { display: inline-block; margin-top: 18px; text-decoration: none; text-align: center; }
/* "Try the app": the partner's gift code and how to enter it. */
.ort-try { margin: 12px 0 8px; padding-left: 1.4em; display: grid; gap: 6px; }
.ort-when { margin: 12px 0 8px; padding-inline-start: 1.2em; display: grid; gap: 8px; max-width: 68ch; }
