/* Roodito sign-in and sign-up: one layout for every role.
   Left: brand art built from the logo's rings and four colours. Right: the form. */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');
:root { --au-blue: #1ba1e2; --au-yellow: #f5ec12; --au-red: #e8192c; --au-green: #7cb82f; --au-primary: #1f78c1; --au-navy: #0b2442; --au-ink: #0f1e2e; --au-soft: #44566a; --au-line: #d8e3ee; --au-tint: #e4f0fa; --au-surface: #f5f9fd; }
.au-body { margin: 0; font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--au-ink); background: var(--au-surface); -webkit-font-smoothing: antialiased; }
.au *, .au *::before, .au *::after { box-sizing: border-box; }
.au { --au-role: var(--au-blue); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100vh; font-family: 'Open Sans', system-ui, sans-serif; color: var(--au-ink); }
.au[data-role="parent"] { --au-role: var(--au-yellow); }
.au[data-role="tutor"] { --au-role: var(--au-red); }
.au[data-role="teacher"] { --au-role: var(--au-green); }

/* ——— Photo panel ——— */
.au-aside { position: relative; overflow: hidden; background: #0d2f52; color: #fff; padding: 32px 44px 44px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; }
.au-aside__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.au-aside__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,52,.35) 0%, rgba(8,28,52,0) 30%, rgba(8,28,52,.55) 70%, rgba(8,28,52,.88) 100%); }
.au-logo { position: relative; z-index: 2; display: inline-flex; align-self: flex-start; background: #fff; border-radius: 12px; padding: 10px 16px; }
.au-logo img { height: 28px; width: auto; display: block; }
.au-aside__body { position: relative; z-index: 2; max-width: 440px; }
.au-aside h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; font-weight: 800; margin: 0; letter-spacing: -.02em; color: #fff; }
.au-aside h2 span { display: block; font-size: .56em; line-height: 1.4; font-weight: 600; letter-spacing: 0; margin-top: 8px; color: rgba(255,255,255,.88); }

/* ——— Form side ——— */
.au-main { display: flex; flex-direction: column; min-height: 100vh; padding: 26px 44px 28px; background: #fff; min-width: 0; }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; }
.au-top a { color: var(--au-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; }
.au-top a:hover { color: var(--au-primary); }
.au-top a b { color: var(--au-primary); }
.au-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 22px 0; }
.au-card { width: 100%; max-width: 440px; background: #fff; padding: 8px 0; }
.au-card--wide { max-width: 620px; }
.au-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--au-line); margin: 0 0 26px; }
.au-roles a { display: flex; align-items: center; justify-content: center; padding: 10px 4px 12px; font-size: 14px; font-weight: 600; color: var(--au-soft); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.au-roles a:hover { color: var(--au-ink); }
.au-roles a.is-active { color: var(--au-primary); border-bottom-color: var(--au-primary); font-weight: 700; }
.au-card h1, .au-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; color: var(--au-ink); line-height: 1.2; }
.au-sub { margin: 0 0 22px; color: var(--au-soft); font-size: 15px; line-height: 1.55; }
.au-field { display: block; margin: 0 0 16px; }
.au-field > span:first-child { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--au-ink); }
.au-field input, .au-field select, .au-field textarea { width: 100%; height: 52px; border: 1.5px solid var(--au-line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; color: var(--au-ink); transition: border-color .15s, box-shadow .15s; }
.au-field input::placeholder { color: #8fa0b2; }
.au-field input:focus, .au-field select:focus { outline: none; border-color: var(--au-primary); box-shadow: 0 0 0 4px rgba(31,120,193,.16); }
.au-pw { position: relative; display: block; }
.au-pw input { padding-right: 52px; }
.au-pw button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--au-soft); display: flex; align-items: center; justify-content: center; }
.au-pw button:hover { background: var(--au-tint); color: var(--au-primary); }
.au-pw svg { width: 22px; height: 22px; }
.au-row { display: flex; justify-content: flex-end; margin: -6px 0 18px; }
.au-link, .au-alt a { color: var(--au-primary) !important; font-weight: 700; text-decoration: none; }
.au-link:hover, .au-alt a:hover { text-decoration: underline; }
.au-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 12px; border: 2px solid var(--au-primary); background: var(--au-primary); color: #fff !important; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none !important; transition: background .15s, transform .1s; }
.au-btn:hover { background: #17609c; border-color: #17609c; }
.au-btn:active { transform: scale(.99); }
.au-btn--ghost { background: #fff; color: var(--au-primary) !important; margin-top: 10px; }
.au-btn--ghost:hover { background: var(--au-tint); }
.au-alt { text-align: center; margin: 20px 0 0; font-size: 14.5px; color: var(--au-soft); }
.au-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--au-primary) !important; text-decoration: none; }
.au-alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.au-alert--ok { background: #e9f5ea; color: #1b5e20; } .au-alert--err { background: #fbeae9; color: #b3261e; }
.au-foot { text-align: center; font-size: 12.5px; color: #6f8093; padding-top: 6px; }
.au-foot a { color: var(--au-soft); font-weight: 600; }

@media (max-width: 960px) {
	.au { grid-template-columns: 1fr; }
	.au-aside { min-height: 0; height: 190px; padding: 18px 20px; }
	.au-aside__shade { background: linear-gradient(180deg, rgba(8,28,52,.25) 0%, rgba(8,28,52,.7) 100%); }
	.au-aside h2 { font-size: 22px; }
	.au-aside h2 span { font-size: .62em; margin-top: 4px; }
	.au-main { min-height: 0; padding: 14px 20px 24px; }
	.au-center { align-items: flex-start; padding: 16px 0; }
	.au-card h1, .au-title { font-size: 24px; }
	.au-top a:last-child span { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .au-card { animation: auIn .35s ease-out; } @keyframes auIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
.au-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .au-grid { grid-template-columns: 1fr; } }
.au-field--full { grid-column: 1 / -1; }

/* Existing wizard fields and buttons pick up the same look */
.au .rd-field { display: block; margin: 0 0 16px; }
.au .rd-field > span:first-child { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--au-ink); }
.au .rd-field input, .au .rd-field select { width: 100%; height: 52px; border: 1.5px solid var(--au-line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; color: var(--au-ink); box-sizing: border-box; }
.au .rd-field input:focus, .au .rd-field select:focus { outline: none; border-color: var(--au-primary); box-shadow: 0 0 0 4px rgba(31,120,193,.16); }
.au .rd-field input.is-invalid, .au .rd-field select.is-invalid { border-color: var(--au-red); box-shadow: 0 0 0 4px rgba(232,25,44,.12); }
.au .rd-btn { height: 52px; border-radius: 12px; }
.au .rd-btn--primary { background: var(--au-primary); } .au .rd-btn--primary:hover { background: #17609c; }
.au .rd-btn--ghost { color: var(--au-primary) !important; border-color: var(--au-line); background: #fff; }
.au .kr__step h1 { color: var(--au-ink); font-size: 26px; letter-spacing: -.02em; }
.au .kr__steps li.is-active { color: var(--au-primary); } .au .kr__steps li.is-active span { background: var(--au-primary); color: #fff; }
.au .kr__bar i { background: linear-gradient(90deg, var(--au-blue), var(--au-yellow)); }
.au .kr__guardian { background: #fff9d6; border-color: #efe38a; }
.au .alert { border-radius: 12px; font-size: 14px; font-weight: 600; }

/* Legacy bootstrap forms inside the card (parent and tutor sign-up) */
.au-reg .form-group { margin-bottom: 16px; }
.au-reg label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--au-ink); }
.au-reg .form-control, .au-reg select, .au-reg input[type=text], .au-reg input[type=email], .au-reg input[type=password], .au-reg input[type=number], .au-reg input[type=tel] { width: 100%; height: 52px; border: 1.5px solid var(--au-line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; color: var(--au-ink); box-shadow: none; }
.au-reg .form-control:focus, .au-reg select:focus { outline: none; border-color: var(--au-primary); box-shadow: 0 0 0 4px rgba(31,120,193,.16); }
.au-reg #bottom-wizard { margin-top: 8px; }
.au-reg #bottom-wizard button, .au-reg #bottom-wizard .backward { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 12px; border: 0; background: var(--au-primary); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; float: none; }
.au-reg #bottom-wizard button:hover { background: #17609c; }
.au-reg .row { margin-left: -8px; margin-right: -8px; } .au-reg .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; }
.au-reg .alert { border-radius: 12px; font-size: 14px; font-weight: 600; }
.au-reg .step, .au-reg #middle-wizard { padding: 0 !important; margin: 0 !important; min-height: 0 !important; border: 0 !important; background: none !important; }
.au-reg .dzFormMsg:empty { display: none; }
.au-reg .main_question { display: none; }
.au-otp { text-align: center; letter-spacing: .5em; font-size: 24px !important; font-weight: 800; }
