/* =============================================================================
   DarajaERP Workspace sign-up (business/register.blade.php). Builds on
   daraja-signin.css (layouts/auth-light).
   ============================================================================= */
.al--register { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.al--register .al-l { grid-template-rows: auto auto 1fr auto; }
.al-form.rg-form { width: min(560px, 100%); align-self: start; gap: 12px; }

/* left panel */
.rg-hello h1 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.06; letter-spacing: -.03em; font-weight: 900; }
.rg-hello h1 b { color: #34D399; font-weight: 900; }
.rg-hello p { margin: 10px 0 0; color: #B7C3D8; font-size: 14.5px; max-width: 44ch; }
.rg-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.rg-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 14px; font-weight: 700; color: #B7C3D8; }
.rg-steps li i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 900; background: rgba(255,255,255,.08); color: #fff; }
.rg-steps li small { display: block; font-weight: 600; font-size: 12px; color: #8FA0BD; }
.rg-steps li.on { background: rgba(0,166,222,.18); border-color: #00A6DE; color: #fff; }
.rg-steps li.on i { background: #00A6DE; }
.rg-steps li.done { color: #fff; }
.rg-steps li.done i { background: #0E9F6E; font-size: 0; }
.rg-steps li.done i::after { content: "✓"; font-size: 14px; }
.rg-daja { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: end; }
.rg-daja img { width: 78px; height: auto; animation: al-float 3s ease-in-out infinite; }
.rg-daja p { margin: 0 0 14px; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 700; }

/* top + progress */
.rg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: #56677F; }
.rg-top a { font-weight: 700; text-decoration: none; }
.rg-bar { height: 6px; border-radius: 6px; background: #E3E9F2; overflow: hidden; }
.rg-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #00A6DE, #0878AD); transition: width .3s; }
.rg { display: grid; gap: 14px; margin: 0; }
.rg-step { display: grid; gap: 14px; }
.rg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.al-lab { font-size: 13px; font-weight: 800; color: #34465F; }
.al-opt { font-style: normal; color: #8A97AD; font-weight: 600; }
.al-help-t { font-size: 12.5px; color: #56677F; }
.rg-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-span2 { grid-column: 1 / -1; }
.rg-half { max-width: 50%; }
.rg .al-inp select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: #10213D; }
.rg-pre { font-weight: 800; color: #56677F; padding-right: 8px; border-right: 1px solid #DCE3EE; white-space: nowrap; }

/* branches */
.rg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rg-chips label { cursor: pointer; }
.rg-chips input { position: absolute; opacity: 0; pointer-events: none; }
.rg-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid #DCE3EE; background: #fff; font-weight: 700; font-size: 13.5px; color: #10213D; }
.rg-chips input:checked + span { border-color: #00A6DE; background: #E6F7FD; color: #0878AD; }
.rg-chips input:focus-visible + span { outline: 2px solid #00A6DE; outline-offset: 2px; }

/* uploads */
.rg-drop { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px dashed #B9C6D8; background: #F7F9FC; font-size: 13.5px; cursor: pointer; position: relative; }
.rg-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rg-drop:focus-within { outline: 2px solid #00A6DE; outline-offset: 2px; }
.rg-drop b { display: block; font-weight: 800; }
.rg-drop b em { font-style: normal; color: #8A97AD; font-weight: 600; }
.rg-drop small { color: #56677F; }
.rg-drop-ic { font-size: 22px; }
.rg-drop-btn { margin-left: auto; border: 1px solid #DCE3EE; background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 800; white-space: nowrap; }
.rg-drop.has { border-style: solid; border-color: #0E9F6E; background: #E3F6EE; }
.rg-drop.has small { color: #0B7F5A; font-weight: 700; }

/* settings fold */
.rg-more { border: 1px solid #DCE3EE; border-radius: 12px; padding: 12px 14px; }
.rg-more summary { cursor: pointer; font-weight: 800; font-size: 14px; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.rg-more summary::-webkit-details-marker { display: none; }
.rg-more summary::after { content: "+"; margin-left: auto; color: #0878AD; font-size: 18px; }
.rg-more[open] summary::after { content: "–"; }
.rg-more summary small { font-weight: 600; color: #56677F; font-size: 12.5px; }
.rg-more .rg-grid2 { margin-top: 12px; }

/* business type picker */
.ind { display: grid; gap: 10px; }
#ind_pickarea, #ind_browse { display: grid; gap: 10px; }
.ind-search { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid #DCE3EE; background: #F7F9FC; margin: 0; font-weight: 400; }
.ind-search:focus-within { border-color: #00A6DE; box-shadow: 0 0 0 4px rgba(0,166,222,.14); background: #fff; }
.ind-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: #10213D; }
.ind-lbl { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8A97AD; }
.ind-pop, .ind-hits, .ind-types { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-pop button, .ind-types button, .ind-hits button { min-height: 40px; border: 1px solid #DCE3EE; background: #fff; border-radius: 999px; padding: 6px 12px; font: 700 13.5px/1.2 inherit; font-family: inherit; cursor: pointer; color: #10213D; display: inline-flex; gap: 6px; align-items: center; }
.ind-pop button:hover, .ind-types button:hover, .ind-hits button:hover { border-color: #00A6DE; }
.ind-pop button[aria-pressed="true"], .ind-types button[aria-pressed="true"], .ind-hits button[aria-pressed="true"] { border-color: #00A6DE; background: #E6F7FD; color: #0878AD; }
.ind-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.ind-g { text-align: left; border: 1px solid #DCE3EE; background: #fff; border-radius: 14px; padding: 11px 12px; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; min-height: 64px; color: #10213D; font-family: inherit; }
.ind-g:hover { border-color: #00A6DE; }
.ind-g i { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px; background: #E6F7FD; display: grid; place-items: center; font-style: normal; font-size: 17px; }
.ind-g b { font-size: 14px; font-weight: 800; line-height: 1.2; }
.ind-g small { font-size: 12px; color: #56677F; line-height: 1.3; }
.ind-g[aria-expanded="true"] { border-color: #00A6DE; box-shadow: 0 0 0 3px rgba(0,166,222,.12); }
.ind-g.has { border-color: #0E9F6E; }
.ind-g.has small { color: #0E9F6E; font-weight: 800; }
.ind-types { grid-column: 1 / -1; padding: 10px; border-radius: 12px; background: #F5F8FC; border: 1px solid #E6ECF4; }
.ind-none { font-size: 13px; color: #56677F; }
.ind-none button { min-height: 0 !important; padding: 2px 8px !important; }
.ind-chosen { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid #0E9F6E; background: #E3F6EE; }
.ind-chosen > i { font-style: normal; font-size: 22px; }
.ind-chosen b { display: block; font-weight: 800; }
.ind-chosen small { color: #0B7F5A; font-weight: 700; }
.ind-chosen button { margin-left: auto; border: 1px solid #B7E4D1; background: #fff; border-radius: 10px; padding: 8px 12px; font: 800 13px/1 inherit; font-family: inherit; cursor: pointer; color: #0B7F5A; }

/* step 4 */
.rg-vbox { display: grid; gap: 10px; justify-items: center; padding: 18px; border-radius: 14px; background: #F5F8FC; border: 1px solid #E6ECF4; text-align: center; }
.rg-ph { font: 800 16px/1 ui-monospace, "SFMono-Regular", monospace; }
.rg-otp { display: flex; gap: 8px; justify-content: center; }
.rg-otp input { width: 50px; height: 58px; text-align: center; font: 900 22px/1 ui-monospace, "SFMono-Regular", monospace; border-radius: 12px; border: 1px solid #DCE3EE; background: #fff; color: #10213D; }
.rg-otp input:focus { outline: 0; border-color: #00A6DE; box-shadow: 0 0 0 4px rgba(0,166,222,.14); }
.rg-link { border: 0; background: none; color: #0878AD; font: 800 13px/1 inherit; font-family: inherit; cursor: pointer; padding: 0; }

/* buttons */
.rg-nav { display: flex; gap: 8px; }
.rg-nav .al-go { flex: 1; }
.rg-back { height: 54px; padding: 0 18px; border-radius: 13px; border: 1px solid #DCE3EE; background: #fff; font: 800 15px/1 inherit; font-family: inherit; color: #10213D; cursor: pointer; }
.rg-terms { align-items: flex-start; font-size: 13.5px; }
.rg-terms input { margin-top: 2px; flex: 0 0 auto; }

@media (max-width: 1100px) { .al--register { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
@media (max-width: 760px) {
    .al--register { grid-template-columns: 1fr; }
    .al--register .al-l { grid-template-rows: auto auto; }
    .rg-steps, .rg-daja { display: none; }
    .rg-hello h1 { font-size: 24px; }
    .rg-hello p { font-size: 13.5px; }
    .rg-grid2 { grid-template-columns: 1fr; }
    .rg-half { max-width: none; }
    .rg-otp input { width: 42px; height: 52px; }
    .rg-drop { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .rg-daja img { animation: none; } .rg-bar i { transition: none; } }
