/* Public customer and owner entry screens; forms remain the Botble forms. */
body:has(.iacheia-auth-page) main { background: #fcfaff; }
body:has(.iacheia-auth-page) main > .page-default-content { width: 100%; max-width: none; padding: 0 !important; }
.iacheia-auth-page { padding: clamp(28px, 5vw, 70px) 24px 90px; color: var(--ic-text); font-family: Urbanist, sans-serif; }
.iacheia-auth-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); width: min(100%, 1180px); margin: 0 auto; overflow: hidden; border: 1px solid #e8d8f5; border-radius: 26px; background: #fff; box-shadow: 0 20px 48px rgba(45, 7, 78, .09); }
.iacheia-auth-story { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 610px; padding: clamp(35px, 5vw, 70px); overflow: hidden; background: #23053d; color: #fff; isolation: isolate; }
.iacheia-auth-story::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../images/iacheia/hero-night.jpg') center / cover no-repeat; opacity: .72; }
.iacheia-auth-story::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, rgba(29, 4, 55, .96) 4%, rgba(46, 4, 88, .86) 55%, rgba(74, 0, 126, .54)); }
.iacheia-auth-kicker { display: inline-flex; align-items: center; width: fit-content; margin-bottom: 17px; padding: 6px 12px; border-radius: 999px; background: #e9d4ff; color: #5c008e; font-size: 13px; font-weight: 800; line-height: 1.2; }
.iacheia-auth-story .iacheia-auth-kicker { background: rgba(202, 124, 255, .22); color: #f5ddff; }
.iacheia-auth-story h1 { max-width: 450px; margin: 0 0 18px; color: #fff !important; font-size: clamp(38px, 3.6vw, 54px); font-weight: 850; letter-spacing: -.045em; line-height: 1.04; }
.iacheia-auth-register .iacheia-auth-story { justify-content: flex-start; padding-top: 105px; }
.iacheia-auth-story p { max-width: 420px; margin: 0; color: #f3e8ff; font-size: 18px; line-height: 1.5; }
.iacheia-auth-story-points { display: grid; gap: 15px; margin-top: 52px; }
.iacheia-auth-story-points span { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.35; }
.iacheia-auth-story-points svg { flex: 0 0 22px; width: 22px; height: 22px; color: #d898ff; }
.iacheia-auth-panel { min-width: 0; padding: clamp(26px, 3vw, 50px); }
.iacheia-auth-role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid #e8d8f5; border-radius: 14px; background: #f7f1fc; }
.iacheia-auth-role-switch a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 12px; border-radius: 10px; color: #5b4772; font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; }
.iacheia-auth-role-switch a.active { background: #fff; color: #6b00ad; box-shadow: 0 3px 10px rgba(69, 10, 106, .11); }
.iacheia-auth-role-switch a:focus-visible { outline: 2px solid #8b12ce; outline-offset: 2px; }
.iacheia-auth-panel-heading { margin: 32px 0 23px; }
.iacheia-auth-panel-heading h2 { margin: 0 0 5px; color: #1e0937; font-size: clamp(30px, 3vw, 38px); font-weight: 850; letter-spacing: -.035em; line-height: 1.1; }
.iacheia-auth-panel-heading p { margin: 0; color: #695a76; font-size: 16px; line-height: 1.45; }
.iacheia-auth-panel .auth-card { background: transparent !important; box-shadow: none !important; }
.iacheia-auth-panel .auth-card .card-header { display: none; }
.iacheia-auth-panel > .container, .iacheia-auth-panel > .container > .row { width: 100%; max-width: none; margin: 0; padding: 0 !important; }
.iacheia-auth-panel > .container > .row > [class*='col-'] { width: 100%; max-width: none; padding: 0; }
.iacheia-auth-panel .auth-card .card-body { padding: 0 !important; }
.iacheia-auth-panel .form-label { margin-bottom: 7px; color: #241337; font-size: 14px; font-weight: 750; }
.iacheia-auth-panel .form-control, .iacheia-auth-panel .form-select { min-height: 50px; border: 1px solid #dfd0ee; border-radius: 11px; background: #fff; color: #241337; font-size: 15px; }
.iacheia-auth-panel .form-control:focus, .iacheia-auth-panel .form-select:focus { border-color: #8c18d2; box-shadow: 0 0 0 3px rgba(149, 32, 218, .11); }
.iacheia-auth-panel .mb-3 { margin-bottom: 19px !important; }
.iacheia-auth-panel .form-check-label { color: #51405e; font-size: 14px; line-height: 1.4; }
.iacheia-auth-panel .form-check-input:checked { border-color: #8900d4; background-color: #8900d4; }
.iacheia-auth-panel .btn-auth-submit { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 0; border-radius: 11px; background: var(--ic-gradient); box-shadow: 0 8px 20px rgba(104, 0, 170, .18); color: #fff; font-size: 16px; font-weight: 800; }
.iacheia-auth-panel .btn-auth-submit:hover { color: #fff; filter: brightness(1.08); }
.iacheia-auth-panel .btn-auth-submit svg { width: 19px; height: 19px; }
.iacheia-auth-panel a:not(.iacheia-auth-role-switch a) { color: #7100b7; font-weight: 750; }
.iacheia-auth-register.role-ready .auth-card .mb-3:has(input[name='is_vendor']) { display: none; }

@media (max-width: 767px) {
    .iacheia-auth-page { padding: 18px 16px 64px; }
    .iacheia-auth-layout { grid-template-columns: 1fr; border-radius: 19px; }
    .iacheia-auth-story { min-height: 0; padding: 29px 26px 30px; }
    .iacheia-auth-register .iacheia-auth-story { padding-top: 29px; }
    .iacheia-auth-story h1 { max-width: 550px; margin-bottom: 10px; font-size: clamp(31px, 8vw, 41px); }
    .iacheia-auth-story p { font-size: 15px; }
    .iacheia-auth-story-points { display: none; }
    .iacheia-auth-panel { padding: 26px 20px 32px; }
    .iacheia-auth-panel-heading { margin: 27px 0 22px; }
    .iacheia-auth-role-switch a { min-height: 45px; font-size: 13px; }
}
