/* Shtajr sign-in, sign-up, password and setup screens. Loaded on its own (no app bundle),
   so it carries its own small reset; everything is scoped under .oc-auth. */
.oc-auth *, .oc-auth *::before, .oc-auth *::after { box-sizing: border-box; }
.oc-auth img { max-width: 100%; }
.oc-auth p { margin: 0 0 12px; }
.oc-auth button, .oc-auth input, .oc-auth select { font: inherit; }
.oc-auth {
    --brand: #1a56db;
    --brand-strong: color-mix(in srgb, var(--brand) 82%, #000);
    --brand-deep: color-mix(in srgb, var(--brand) 38%, #050d1f);
    --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
    --ink: #0b1b33;
    --ink-2: #44546b;
    --ink-3: #6b7a90;
    --line: #e4e9f1;
    --ok: #12a26c;
    margin: 0; min-height: 100vh; height: auto;
    font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    font-size: 15px; line-height: 1.7; color: var(--ink);
    background: #fff;
}
.oc-auth h1, .oc-auth h2, .oc-auth h3, .oc-auth legend, .oc-auth label, .oc-auth input, .oc-auth button, .oc-auth select, .oc-auth a { font-family: inherit; }
.oc-auth a { text-decoration: none; }

.oc-auth__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.oc-auth--wide .oc-auth__wrap { grid-template-columns: 1fr; background: #f6f8fc; }
.oc-auth__main { display: flex; flex-direction: column; min-width: 0; padding: 24px 40px 28px; }

.oc-auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.oc-auth__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--ink); }
.oc-auth__brand:hover { color: var(--ink); }
.oc-auth__brand img { width: auto; height: 34px; max-width: 150px; object-fit: contain; }
.oc-auth__links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.oc-auth__links > a { padding: 8px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-2); }
.oc-auth__links > a:hover { background: var(--brand-soft); color: var(--brand); }
.oc-auth__links > a.is-cta { border: 1px solid var(--line); color: var(--ink); }
.oc-auth__links > a.is-cta:hover { border-color: var(--brand); color: var(--brand); background: #fff; }

.oc-lang { position: relative; }
.oc-lang summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-2); cursor: pointer; list-style: none; user-select: none; }
.oc-lang summary::-webkit-details-marker { display: none; }
.oc-lang summary:hover { background: var(--brand-soft); color: var(--brand); }
.oc-lang ul { position: absolute; inset-inline-end: 0; z-index: 20; width: 200px; max-height: 300px; margin: 6px 0 0; padding: 6px; overflow-y: auto; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px -16px rgba(11, 27, 51, .3); }
.oc-lang li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); cursor: pointer; }
.oc-lang li a:hover { background: var(--brand-soft); color: var(--brand); }

.oc-auth__body { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 420px; margin-inline: auto; padding-block: 40px; }
.oc-auth--wide .oc-auth__body { max-width: 920px; justify-content: flex-start; }
/* Legacy views still wrap themselves in Bootstrap grid columns; flatten them. */
.oc-auth__body > [class*="col-"] { float: none; width: 100%; margin: 0; padding: 0; }
.oc-auth--split .oc-auth__body .tw-ring-1 { padding: 0 !important; box-shadow: none !important; }
.oc-auth--wide .oc-auth__body .tw-ring-1 { padding: 24px !important; border-radius: 20px !important; box-shadow: 0 10px 30px -12px rgba(11, 27, 51, .18), 0 0 0 1px var(--line) !important; }
.oc-auth__foot { font-size: 13px; color: var(--ink-3); text-align: center; }

/* Form */
.oc-auth__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.oc-auth__sub { margin: 6px 0 28px; font-size: 15.5px; font-weight: 400; color: var(--ink-2); }
.oc-auth .oc-field { display: block; margin-bottom: 18px; }
.oc-auth .oc-field__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.oc-auth .oc-field__label a { font-weight: 500; color: var(--brand); }
.oc-auth .oc-field__label a:hover { text-decoration: underline; }
.oc-auth .oc-input-wrap { position: relative; display: block; }
.oc-auth .oc-input {
    display: block; width: 100%; height: 50px; padding: 0 16px !important;
    border: 1px solid var(--line); border-radius: 12px; background: #fff;
    font-size: 15px; font-weight: 500; color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.oc-auth .oc-input::placeholder { color: var(--ink-3); font-weight: 400; }
.oc-auth .oc-input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.oc-auth .has-error .oc-input { border-color: #d92d20; }
.oc-auth .oc-input--pw { padding-inline-end: 48px !important; }
.oc-auth .oc-eye { position: absolute; inset-block: 0; inset-inline-end: 6px; display: grid; place-items: center; width: 40px; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.oc-auth .oc-eye svg { width: 22px; height: 22px; stroke: currentColor; }
.oc-auth .oc-error { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 500; color: #d92d20; }
.oc-auth .oc-check { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.oc-auth .oc-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.oc-auth .oc-submit {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 52px;
    border: 0; border-radius: 12px; background: var(--brand); color: #fff;
    font-size: 16px; font-weight: 600; cursor: pointer;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent);
    transition: background .18s;
}
.oc-auth .oc-submit:hover { background: var(--brand-strong); }
.oc-auth__alt { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); text-align: center; }
/* Platform login: workspace finder first, platform administration sign-in folded below */
.oc-auth .oc-ws-find { margin-bottom: 18px; }
.oc-auth .oc-ws-admin { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.oc-auth .oc-ws-admin > summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-3); text-align: center; }
.oc-auth .oc-ws-admin > summary::-webkit-details-marker { display: none; }
.oc-auth .oc-ws-admin[open] > summary { margin-bottom: 16px; color: var(--ink-2); }
.oc-auth__alt a { font-weight: 600; color: var(--brand); }
.oc-auth__alt a:hover { text-decoration: underline; }
.oc-auth__demo { margin-top: 28px; }

/* Brand panel */
.oc-auth__aside {
    position: relative; display: flex; flex-direction: column; justify-content: center; gap: 36px;
    padding: 56px; overflow: hidden; color: #fff;
    background:
        radial-gradient(640px 360px at 10% 0%, color-mix(in srgb, var(--brand) 80%, transparent), transparent 70%),
        radial-gradient(520px 340px at 100% 100%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%),
        var(--brand-deep);
}
.oc-auth--wide .oc-auth__aside { display: none; }
.oc-auth__aside h2 { margin: 0; max-width: 460px; font-size: 34px; font-weight: 700; line-height: 1.4; color: #fff; }
.oc-auth__aside p { margin: 14px 0 0; max-width: 440px; font-size: 16.5px; color: rgba(255, 255, 255, .78); }
.oc-auth__points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.oc-auth__points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; }
.oc-auth__points i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .14); font-size: 12px; }
.oc-auth__card { max-width: 440px; padding: 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.oc-auth__bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.oc-auth__bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(255, 255, 255, .25); }
.oc-auth__bars i.is-hi { background: #fff; }

@media (max-width: 960px) {
    .oc-auth__wrap { grid-template-columns: 1fr; }
    .oc-auth__aside { display: none; }
    .oc-auth__main { padding: 18px 18px 24px; }
    .oc-auth__body { padding-block: 28px; }
    .oc-auth--wide .oc-auth__body .tw-ring-1 { padding: 14px !important; }
}

/* Register wizard (jQuery Steps) in brand colours */
.oc-auth .wizard > .steps a, .oc-auth .wizard > .steps a:hover, .oc-auth .wizard > .steps a:active { border-radius: 12px; }
.oc-auth .wizard > .steps .current a, .oc-auth .wizard > .steps .current a:hover, .oc-auth .wizard > .steps .current a:active { background: var(--brand); color: #fff; }
.oc-auth .wizard > .steps .done a, .oc-auth .wizard > .steps .done a:hover, .oc-auth .wizard > .steps .done a:active { background: var(--brand-soft); color: var(--brand); }
.oc-auth .wizard > .actions a, .oc-auth .wizard > .actions a:hover, .oc-auth .wizard > .actions a:active { padding: 10px 22px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 600; }
.oc-auth .wizard > .actions .disabled a, .oc-auth .wizard > .actions .disabled a:hover { background: #eef1f6; color: var(--ink-3); }
.oc-auth .wizard .form-control { height: 44px; border-radius: 10px; }
.oc-auth .wizard .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }

/* ---------- Onboarding (business register) ---------- */
.oc-auth [hidden] { display: none !important; }
.oc-auth--onboard .oc-auth__body { max-width: 520px; }
.oc-auth__card small { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); }
.oc-auth__card strong { display: block; font-size: 20px; font-weight: 700; }
.oc-auth__card span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.oc-ob__alert { margin-bottom: 20px; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #b42318; font-size: 14.5px; font-weight: 500; }
.oc-ob__steps { display: flex; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.oc-ob__steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 3px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-3); transition: border-color .2s, color .2s; }
.oc-ob__steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: 12.5px; }
.oc-ob__steps li.is-current, .oc-ob__steps li.is-done { border-color: var(--brand); color: var(--ink); }
.oc-ob__steps li.is-current span, .oc-ob__steps li.is-done span { background: var(--brand); color: #fff; }
.oc-ob__hint { margin: 0 0 20px; font-size: 14.5px; color: var(--ink-2); }
.oc-ob__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.oc-ob__row > * { min-width: 0; }
.oc-auth .oc-field__label em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.oc-auth .oc-help { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.oc-auth .has-error .oc-help { display: none; }
.oc-auth .oc-error:empty { display: none; }
.oc-auth select.oc-input { appearance: auto; cursor: pointer; }
.oc-auth .oc-ob__other { margin-top: 8px; }
.oc-auth .oc-ob__phone { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.oc-auth .oc-ob__phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.oc-auth .oc-ob__phone span { display: grid; place-items: center; min-width: 64px; padding-inline: 12px; background: #f6f8fc; border-inline-end: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.oc-auth .oc-ob__phone .oc-input { border: 0; border-radius: 0; box-shadow: none; }
/* Sign-up step 1: activity cards */
.oc-auth .oc-ob__acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.oc-auth .oc-ob__act { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.oc-auth .oc-ob__act:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.oc-auth .oc-ob__act input { position: absolute; opacity: 0; pointer-events: none; }
.oc-auth .oc-ob__act:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.oc-auth .oc-ob__act:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 2px; }
.oc-auth .oc-ob__act-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 17px; }
.oc-auth .oc-ob__act:has(input:checked) .oc-ob__act-icon { background: var(--brand); color: #fff; }
.oc-auth .oc-ob__act-text { display: grid; gap: 2px; min-width: 0; }
.oc-auth .oc-ob__act-text strong { font-size: 14.5px; color: var(--ink); }
.oc-auth .oc-ob__act-text small { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.oc-auth .oc-ob__acts.has-error .oc-ob__act { border-color: var(--danger, #d92d20); }
.oc-auth .oc-ob__act-other { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.oc-auth .oc-ob__act-other a { font-weight: 600; color: var(--brand); }
/* Workspace address: <input>.<base domain>, always left-to-right */
.oc-auth .oc-ob__workspace { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.oc-auth .oc-ob__workspace:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.oc-auth .oc-ob__workspace .oc-input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; text-align: left; }
.oc-auth .oc-ob__suffix { display: grid; place-items: center; padding-inline: 12px; background: #f6f8fc; border-inline-start: 1px solid var(--line); font-weight: 600; color: var(--ink-2); white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.oc-auth .has-error .oc-ob__workspace { border-color: var(--danger, #d92d20); }
.oc-ob__meter { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.oc-ob__meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.oc-ob__meter b { min-width: 48px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-align: end; }
.oc-ob__meter[data-score="1"] i:nth-child(1) { background: #e5484d; }
.oc-ob__meter[data-score="2"] i:nth-child(-n+2) { background: #f5a524; }
.oc-ob__meter[data-score="3"] i { background: var(--ok); }
.oc-auth .oc-ob__choice { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oc-auth .oc-ob__choice legend { grid-column: 1 / -1; width: auto; border: 0; }
.oc-auth .oc-ob__choice label { margin: 0; cursor: pointer; }
.oc-auth .oc-ob__choice input { position: absolute; opacity: 0; }
.oc-auth .oc-ob__choice span { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 500; text-align: center; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
.oc-auth .oc-ob__choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.oc-auth .oc-ob__choice input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.oc-ob__more { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; }
.oc-ob__more summary { padding: 13px 16px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.oc-ob__more summary em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.oc-ob__more[open] { padding: 0 16px 2px; }
.oc-ob__more[open] summary { margin-inline: -16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.oc-auth .oc-ob__file { display: block; width: 100%; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13.5px; color: var(--ink-2); }
.oc-ob__actions { display: flex; gap: 10px; margin-top: 6px; }
.oc-auth .oc-ob__back { flex: none; height: 52px; padding-inline: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.oc-auth .oc-ob__back:hover { border-color: var(--brand); color: var(--brand); }
.oc-auth .oc-submit:disabled { opacity: .6; cursor: wait; }
.oc-auth .terms_condition { color: var(--brand); cursor: pointer; text-decoration: underline; }
@media (max-width: 560px) {
    .oc-ob__row { grid-template-columns: 1fr; }
    .oc-ob__steps li { font-size: 12.5px; }
}
/* Keep the heading still while steps change height */
.oc-auth--onboard .oc-auth__body { justify-content: flex-start; padding-top: 56px; }

/* Platform login: e-mail first, then password (identifier-first, like Daftra / Google) */
.oc-auth .oc-login.has-js:not(.is-step2) .oc-login__password { display: none; }
.oc-auth .oc-login.is-step2 .oc-login__next { display: none; }
.oc-auth .oc-login__email-row { position: relative; }
.oc-auth .oc-login__change { display: none; position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--brand); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.oc-auth .oc-login__change:hover { background: var(--brand-soft); }
.oc-auth .oc-login.is-step2 .oc-login__change { display: inline-block; }
.oc-auth .oc-login.is-step2 #username { background: var(--brand-soft); }
/* The e-mail box is always left-to-right; keep its text clear of the "Change" button on the page end side */
[dir="rtl"] .oc-auth .oc-login.is-step2 #username { padding-left: 80px !important; }
[dir="ltr"] .oc-auth .oc-login.is-step2 #username { padding-right: 80px !important; }
.oc-auth .oc-login__next[disabled] { opacity: .6; cursor: wait; }
.oc-auth .oc-auth__notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--ink-2); font-size: 14px; line-height: 1.7; }
/* Top links: home + the other language, small and quiet */
.oc-auth .oc-auth__links > a { color: var(--brand); font-weight: 500; }
/* Company picker (one e-mail in several companies) */
.oc-auth .oc-choose { display: grid; gap: 10px; margin-bottom: 18px; }
.oc-auth .oc-choose form { margin: 0; }
.oc-auth .oc-choose__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-align: start; cursor: pointer; transition: border-color .15s, background .15s; }
.oc-auth .oc-choose__item:hover, .oc-auth .oc-choose__item:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.oc-auth .oc-choose__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.oc-auth .oc-choose__name { flex: 1; }
.oc-auth .oc-choose__go { color: var(--ink-3); }
[dir="ltr"] .oc-auth .oc-choose__go { transform: scaleX(-1); }
.oc-auth .oc-auth__title + form, .oc-auth .oc-auth__title + .oc-auth__notice { margin-top: 24px; }

/* Sign-up (Daftra-style short form) */
.oc-auth .oc-reg__phone { position: relative; display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.oc-auth .oc-reg__phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.oc-auth .has-error .oc-reg__phone { border-color: #d92d20; }
/* The country list opens from the code: the select sits invisibly over the "+968" label */
.oc-auth .oc-reg__phone select { position: absolute; inset-block: 0; left: 0; width: 96px; opacity: 0; cursor: pointer; z-index: 1; }
.oc-auth .oc-reg__dial { display: flex; align-items: center; gap: 6px; flex: 0 0 96px; justify-content: center; background: #f6f8fc; border-inline-end: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.oc-auth .oc-reg__dial::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-2px); }
.oc-auth .oc-reg__phone .oc-input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.oc-auth .oc-reg__phone:has(select:focus-visible) .oc-reg__dial { outline: 2px solid var(--brand); outline-offset: -2px; }
.oc-auth .oc-submit--go { background: #16a34a; }
.oc-auth .oc-submit--go:hover { background: #15803d; }
.oc-auth .oc-reg__note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.oc-auth .oc-auth__notice.is-error { background: #fef3f2; color: #b42318; }

/* Onboarding inside the new workspace */
.oc-auth .oc-onb__steps { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--ink-3); }
.oc-auth .oc-onb__steps li { display: flex; align-items: center; gap: 6px; flex: 1; padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.oc-auth .oc-onb__steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); font-weight: 700; font-size: 12px; color: var(--ink-2); }
.oc-auth .oc-onb__steps .is-on { color: var(--ink); font-weight: 600; border-color: var(--brand); }
.oc-auth .oc-onb__steps .is-on span { background: var(--brand); color: #fff; }
.oc-auth .oc-onb__steps .is-done { border-color: color-mix(in srgb, var(--brand) 45%, #fff); }
.oc-auth .oc-onb__steps .is-done span { background: color-mix(in srgb, var(--brand) 15%, #fff); color: var(--brand); }
.oc-auth .oc-onb__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
[dir="ltr"] .oc-auth .oc-onb__back .oc-arrow { transform: scaleX(-1); }
.oc-auth .oc-onb__detected { margin: 4px 0 22px; padding: 14px 16px; border-radius: 12px; background: #f6f8fc; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.oc-auth .oc-onb__detected b { color: var(--ink); }
.oc-auth .oc-onb__change { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.oc-auth .oc-onb__change:hover { text-decoration: underline; }
.oc-auth .oc-onb__region { margin-bottom: 8px; }
.oc-auth .oc-ob__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.oc-auth .oc-onb__drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 2px dashed var(--line); border-radius: 14px; text-align: center; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background .15s; }
.oc-auth .oc-onb__drop:hover, .oc-auth .oc-onb__drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
.oc-auth .oc-onb__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.oc-auth .oc-onb__drop i { font-size: 28px; color: var(--brand); }
.oc-auth .oc-onb__drop img { max-height: 64px; max-width: 180px; object-fit: contain; }
.oc-auth .oc-onb__drop u { color: var(--brand); text-decoration: none; font-weight: 600; }
.oc-auth .oc-onb__drop small { color: var(--ink-3); }
.oc-auth .oc-onb__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.oc-auth .oc-onb__act { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.oc-auth .oc-onb__act:hover, .oc-auth .oc-onb__act:focus-visible { border-color: var(--brand); box-shadow: 0 8px 22px -14px rgba(11, 27, 51, .35); color: var(--ink); }
.oc-auth .oc-onb__act.is-hint { border-color: var(--brand); background: var(--brand-soft); }
.oc-auth .oc-onb__act-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-size: 17px; }
.oc-auth .oc-onb__act b { font-size: 15.5px; }
.oc-auth .oc-onb__act small { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.oc-auth .oc-onb__act-go { position: absolute; top: 18px; inset-inline-end: 16px; color: var(--ink-3); font-size: 13px; }
[dir="ltr"] .oc-auth .oc-onb__act-go { transform: scaleX(-1); }
.oc-auth .oc-onb__other { font-size: 14px; color: var(--ink-2); }
.oc-auth .oc-onb__other a { color: var(--brand); font-weight: 600; }
.oc-auth .oc-onb__confirm { text-align: center; }
.oc-auth .oc-onb__confirm-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); font-size: 30px; }
.oc-auth .oc-onb__confirm .oc-auth__title em { font-style: normal; color: var(--brand); }
.oc-auth .oc-onb__gets { display: grid; gap: 8px; margin: 0 0 22px; padding: 16px; list-style: none; border-radius: 14px; background: #f6f8fc; text-align: start; font-size: 14.5px; }
.oc-auth .oc-onb__gets i { color: #16a34a; margin-inline-end: 6px; }
.oc-auth .oc-onb__alt-btn { display: block; margin-top: 10px; padding: 13px; border: 1px solid var(--brand); border-radius: 12px; font-weight: 600; color: var(--brand); }
.oc-auth .oc-onb__alt-btn:hover { background: var(--brand-soft); }
/* Aside: the system's own address */
.oc-onb__logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.oc-onb__link { display: flex; flex-direction: column; gap: 12px; max-width: 460px; padding: 18px; border-radius: 16px; background: #16a34a; }
.oc-onb__link code { font-family: inherit; font-size: 19px; font-weight: 600; color: #fff; overflow-wrap: anywhere; background: none; padding: 0; }
.oc-onb__copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .92); color: #15803d; font: inherit; font-weight: 600; cursor: pointer; }
.oc-onb__copy:hover { background: #fff; }
.oc-onb__email-hint { max-width: 460px; margin: 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
@media (max-width: 560px) {
    .oc-auth .oc-ob__row--3, .oc-auth .oc-onb__acts { grid-template-columns: 1fr; }
    .oc-auth .oc-onb__steps { font-size: 12px; }
}

/* Sign-up: compact like Daftra */
.oc-auth .oc-reg .oc-field { margin-bottom: 12px; }
.oc-auth .oc-reg .oc-field__label { margin-bottom: 4px; font-size: 13.5px; }
.oc-auth .oc-reg .oc-input, .oc-auth .oc-reg .oc-reg__dial { height: 46px; }
.oc-auth .oc-reg .oc-help { margin-top: 4px; }
.oc-auth .oc-reg .oc-submit { margin-top: 6px; }
.oc-auth .oc-reg__dial .fi { width: 22px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); background-size: cover; }
.oc-auth .oc-auth__title + .oc-reg { margin-top: 18px; }

/* Help card (like Daftra): talk to sales / see plans */
.oc-help-pop { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 50; width: min(380px, calc(100vw - 32px)); padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px -12px rgba(11, 27, 51, .35), 0 0 0 1px var(--line); animation: oc-pop-in .25s ease-out; }
.oc-help-pop[hidden] { display: none; }
.oc-help-pop__head { display: flex; gap: 12px; align-items: flex-start; }
.oc-help-pop__icon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 18px; }
.oc-help-pop h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.oc-help-pop p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.oc-help-pop__close { margin-inline-start: auto; padding: 4px 6px; border: 0; background: none; color: var(--ink-3); font-size: 18px; cursor: pointer; }
.oc-help-pop__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.oc-help-pop__actions a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.oc-help-pop__sales { background: #f1f4f9; color: var(--ink); }
.oc-help-pop__sales:hover { background: #e7ecf4; color: var(--ink); }
.oc-help-pop__sales i { color: #16a34a; font-size: 17px; }
.oc-help-pop__plans { background: var(--brand); color: #fff; }
.oc-help-pop__plans:hover { background: var(--brand-strong); color: #fff; }
@keyframes oc-pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .oc-help-pop { animation: none; } }

/* Terms and conditions (native dialog) */
.oc-dialog { width: min(640px, calc(100vw - 32px)); max-height: 80vh; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px -12px rgba(11, 27, 51, .4); }
.oc-dialog::backdrop { background: rgba(11, 27, 51, .45); }
.oc-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.oc-dialog__head h3 { margin: 0; font-size: 17px; }
.oc-dialog__body { padding: 16px 20px; overflow: auto; max-height: calc(80vh - 120px); font-size: 14.5px; line-height: 1.8; }
.oc-dialog__foot { padding: 12px 20px; border-top: 1px solid var(--line); text-align: end; }
.oc-dialog__foot button, .oc-dialog__head button { padding: 8px 16px; border: 0; border-radius: 10px; background: #f1f4f9; cursor: pointer; }
/* Workspace address on phones (the side panel is hidden there) */
.oc-auth .oc-onb__mobile-link { display: none; }
@media (max-width: 960px) {
    .oc-auth .oc-onb__mobile-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -8px 0 18px; padding: 10px 12px; border-radius: 12px; background: #f0fdf4; font-size: 13px; color: var(--ink-2); }
    .oc-auth .oc-onb__mobile-link span:first-child { flex-basis: 100%; }
    .oc-auth .oc-onb__mobile-link code { flex: 1; min-width: 0; overflow-wrap: anywhere; background: none; padding: 0; font-family: inherit; font-weight: 700; color: #15803d; }
    .oc-auth .oc-onb__mobile-link button { padding: 4px 10px; border: 0; border-radius: 8px; background: #dcfce7; color: #15803d; font-weight: 600; cursor: pointer; }
}

/* Activity step: main fields as an accordion, sub-activities inside */
.oc-auth .oc-onb__field { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.oc-auth .oc-onb__field[open] { border-color: var(--brand-line, #c7d6fb); }
.oc-auth .oc-onb__field summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.oc-auth .oc-onb__field summary::-webkit-details-marker { display: none; }
.oc-auth .oc-onb__field summary b { display: block; font-size: 15.5px; color: var(--ink); }
.oc-auth .oc-onb__field summary small { display: block; font-size: 13px; color: var(--ink-3); }
.oc-auth .oc-onb__field summary > span:nth-child(2) { flex: 1; }
.oc-auth .oc-onb__field-go { color: var(--ink-3); transition: transform .2s; }
.oc-auth .oc-onb__field[open] .oc-onb__field-go { transform: rotate(180deg); }
.oc-auth .oc-onb__field .oc-onb__acts { margin: 0; padding: 0 16px 16px; }
