/* Modiv's Education: shared auth card with student side panel (login + student sign up) */
.ac-box{position:relative;z-index:1;width:100%;max-width:960px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);background:#fff;border:1px solid var(--line,#dfe5ee);border-radius:24px;overflow:hidden;box-shadow:0 18px 50px rgba(20,33,61,.12),0 2px 6px rgba(20,33,61,.04)}
.ac-main{padding:34px 36px 30px;min-width:0}
.ac-side{position:relative;background:linear-gradient(160deg,#dbe9fb 0%,#eef3fb 45%,#fbe9bf 100%);min-height:100%}
.ac-side-in{position:sticky;top:0;height:min(100vh,780px);display:flex;flex-direction:column;overflow:hidden}
.ac-photo{position:relative;flex:1 1 auto;min-height:0}
.ac-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 8%;display:block}
.ac-band{position:relative;margin-top:-54px;padding:70px 24px 22px;background:#14213d;color:#fff;clip-path:polygon(0 38px,100% 0,100% 100%,0 100%);flex:none}
.ac-script{font-family:"Caveat","Segoe Script","Bradley Hand",cursive;font-weight:700;font-size:2.15rem;line-height:1.05;color:#fabd4e;margin:0 0 14px;transform:rotate(-5deg);transform-origin:left bottom;letter-spacing:.01em}
.ac-checks{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:.92rem;font-weight:500}
.ac-checks li{display:flex;gap:9px;align-items:center}
.ac-checks li::before{content:"";width:18px;height:18px;flex:none;border-radius:50%;background:#fabd4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}
@media(prefers-reduced-motion:no-preference){.ac-photo img{animation:acPhoto 1s cubic-bezier(.22,1,.36,1) both}.ac-script{animation:acScript .9s .5s cubic-bezier(.34,1.56,.64,1) both}}
@keyframes acPhoto{from{opacity:0;transform:scale(1.06)}to{opacity:1;transform:none}}
@keyframes acScript{from{opacity:0;transform:translateX(-20px) rotate(-5deg)}to{opacity:1;transform:rotate(-5deg)}}
@media(max-width:820px){
 .ac-box{grid-template-columns:1fr;max-width:520px}
 .ac-side{order:-1;min-height:0}
 .ac-side-in{position:relative;height:auto}
 .ac-photo{height:230px;flex:none}
 .ac-photo img{object-position:70% 12%}
 .ac-band{margin-top:-30px;padding:46px 20px 16px;clip-path:polygon(0 24px,100% 0,100% 100%,0 100%)}
 .ac-script{font-size:1.6rem;margin-bottom:8px}
 .ac-checks{display:none}
 .ac-main{padding:26px 20px 24px}
}
.auth-card.ac-box{max-width:960px;padding:0}
.ac-main>.brand{display:flex;justify-content:center;margin:0 auto 18px;width:100%}
.ac-main>.brand img{height:76px}
.ac-main h1{font-size:1.75rem}
@media(max-width:520px){.auth-card.ac-box{padding:0;border-radius:18px}.auth-form{padding:16px 12px}}

/* ===== Tutor sign up: 5-step wizard ===== */
.tsu{position:relative;z-index:1;width:100%;max-width:940px;margin:0 auto;background:rgba(255,255,255,.55);border:1px solid var(--line,#dfe5ee);border-radius:24px;padding:28px 32px 32px;box-shadow:0 18px 50px rgba(20,33,61,.10)}
.tsu-logo img{height:64px;width:auto;display:block}
.tsu h1{font-size:2rem;margin:14px 0 4px}
.tsu>.sub{margin:0 0 24px}
.tsu-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}
.tsu-steps{list-style:none;margin:0;padding:0;position:relative}
.tsu-steps li{display:flex;gap:14px;align-items:flex-start;padding-bottom:30px;position:relative}
.tsu-steps li:last-child{padding-bottom:0}
.tsu-steps li:not(:last-child)::after{content:"";position:absolute;left:15px;top:34px;bottom:2px;width:2px;background:#d3d8e2}
.tsu-steps li.done:not(:last-child)::after{background:#fabd4e}
.tsu-steps i{width:32px;height:32px;border-radius:50%;background:#c9ced9;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:.9rem;flex:none;transition:background .25s,transform .25s}
.tsu-steps li.on i{background:#14213d;transform:scale(1.08);box-shadow:0 0 0 4px rgba(20,33,61,.12)}
.tsu-steps li.done i{background:#fabd4e;color:#14213d}
.tsu-steps b{display:block;font-size:.95rem;color:#14213d;line-height:1.25;padding-top:5px}
.tsu-steps small{display:block;color:#5d6b82;font-size:.78rem;line-height:1.3}
.tsu-box{background:#fff;border:1px solid var(--line,#dfe5ee);border-radius:18px;padding:24px 26px 26px;box-shadow:0 6px 24px rgba(20,33,61,.06)}
.tsu-kicker{font-size:.8rem;color:#5d6b82;margin:0}
.tsu-box h2{font-size:1.35rem;margin:2px 0 2px;letter-spacing:-.01em}
.tsu-box .tsu-sub{color:#5d6b82;font-size:.88rem;margin:0 0 6px}
.tsu-box label,.tsu-box .lab{display:block;font-weight:600;font-size:.88rem;margin:15px 0 6px}
.tsu-box .hint{font-weight:400;color:#5d6b82;font-size:.8rem}
.tsu-box input[type=text],.tsu-box input[type=email],.tsu-box input[type=password],.tsu-box input[type=tel],.tsu-box input[type=number],.tsu-box select,.tsu-box textarea{width:100%;padding:12px 14px;border:1.5px solid var(--line,#dfe5ee);border-radius:10px;background:#fff;color:#14213d;font:inherit}
.tsu-box input:focus,.tsu-box select:focus,.tsu-box textarea:focus{border-color:#e0a82a;box-shadow:0 0 0 4px rgba(250,189,78,.25);outline:none}
.tsu-box input.bad,.tsu-box select.bad{border-color:#b3261e}
.tsu-box input[type=file]{width:100%;padding:10px;border:1.5px dashed #c9ced9;border-radius:10px;background:#fafbfd;font:inherit;font-size:.85rem}
.tsu-phone{display:flex;gap:10px}
.tsu-cc{display:flex;align-items:center;gap:7px;padding:0 12px;border:1.5px solid var(--line,#dfe5ee);border-radius:10px;font-weight:600;background:#fff;flex:none}
.tsu-chips{display:flex;flex-wrap:wrap;gap:8px}
.tsu-chip{position:relative;margin:0!important;font-weight:400!important}
.tsu-chip input{position:absolute;opacity:0}
.tsu-chip span{display:block;padding:8px 14px;border:1.5px solid var(--line,#dfe5ee);border-radius:999px;cursor:pointer;font-size:.88rem;background:#fff}
.tsu-chip input:checked+span{background:#fff4d6;border-color:#e0a82a;font-weight:600}
.tsu-chip input:focus-visible+span{outline:3px solid #7fd1bd;outline-offset:2px}
.tsu-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tsu-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:22px;padding:14px;border:0;border-radius:10px;background:#fabd4e;color:#14213d;font-weight:700;font-size:1rem;cursor:pointer;transition:transform .15s,box-shadow .2s,background .2s}
.tsu-go:hover{background:#f5b232;transform:translateY(-2px);box-shadow:0 8px 20px rgba(250,189,78,.45)}
.tsu-go[disabled]{opacity:.6;cursor:wait;transform:none}
.tsu-back{display:block;margin:12px auto 0;background:none;border:0;color:#5d6b82;font-weight:600;cursor:pointer;font-size:.88rem;font-family:inherit}
.tsu-back:hover{color:#14213d;text-decoration:underline}
.tsu-days{width:100%;border-collapse:collapse;font-size:.85rem;margin-top:4px}
.tsu-days th,.tsu-days td{padding:6px 4px;text-align:center;border-bottom:1px solid #eef1f6}
.tsu-days td:first-child,.tsu-days th:first-child{text-align:left;font-weight:600}
.tsu-days input{width:18px;height:18px;accent-color:#14213d}
.tsu-box .msg{color:#b3261e;font-size:.85rem;min-height:1.2em;margin-top:10px}
.tsu .switch{text-align:center;margin-top:18px}
@media(max-width:760px){
 .tsu{padding:20px 16px 24px;border-radius:18px}
 .tsu-grid{grid-template-columns:1fr;gap:18px}
 .tsu-steps{display:flex;justify-content:space-between;gap:4px}
 .tsu-steps li{flex-direction:column;align-items:center;text-align:center;padding:0;flex:1;gap:6px}
 .tsu-steps li:not(:last-child)::after{left:calc(50% + 20px);right:calc(-50% + 20px);top:15px;bottom:auto;width:auto;height:2px}
 .tsu-steps small{display:none}.tsu-steps b{font-size:.7rem;padding-top:0}
 .tsu-box{padding:20px 16px}
 .tsu-two{grid-template-columns:1fr}
}
.ac-main .btn{background:#fabd4e;color:#14213d;font-weight:700}
.ac-main .btn:hover{background:#f5b232;box-shadow:0 8px 20px rgba(250,189,78,.45)!important}

/* ===== Tutor sign up: fields merged from the old profile page ===== */
.tsu-box .req{color:#b3261e;font-weight:700}
.tsu-box .hide{display:none!important}
.tsu-box .phone-row{display:flex;gap:8px}
.tsu-box .phone-row .cc-box{flex:0 0 130px}
.tsu-box .phone-row input{flex:1;min-width:0}
.tsu-box textarea{min-height:110px;resize:vertical}
.tsu-box input[readonly]{background:#f2f5f9;color:#5d6b82}
.tsu-box select + input.pl-txt{margin-top:8px}
.tsu-dprow{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.tsu-dp{width:96px;height:96px;border-radius:50%;background:#fff4d6;color:#14213d;display:grid;place-items:center;font-weight:800;font-size:1.6rem;overflow:hidden;border:2px solid var(--line,#dfe5ee);flex:none}
.tsu-dp img{width:100%;height:100%;object-fit:cover;display:block}
.tsu-dpside{display:flex;flex-direction:column;gap:8px;align-items:flex-start;flex:1;min-width:200px}
.tsu-dpbtns{display:flex;gap:8px;flex-wrap:wrap}
.tsu-ghost{padding:8px 16px;border:1.5px solid var(--line,#dfe5ee);border-radius:10px;background:#fff;color:#14213d;font:inherit;font-weight:600;font-size:.88rem;cursor:pointer}
.tsu-ghost:hover{border-color:#14213d}
.tsu-warn{color:#7a5600;font-size:.82rem;min-height:1.1em}
.tsu-check{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important}
.tsu-check input{margin-top:4px;accent-color:#14213d}
.tsu-check a{color:#0a5f4e;font-weight:600}
.tsu-card{position:relative;background:#f7f8fb;border:1px solid #eef1f6;border-radius:12px;padding:6px 16px 16px;margin:10px 0}
.tsu-rm{position:absolute;top:8px;right:10px;border:0;background:none;color:#5d6b82;cursor:pointer;font-weight:600;font-size:.82rem;font-family:inherit}
.tsu-add{border:1.5px dashed #e0a82a;background:#fff;color:#14213d;font:inherit;font-weight:600;border-radius:10px;padding:10px 14px;cursor:pointer;margin-top:4px}
.tsu-addrow{display:flex;gap:8px;flex-wrap:wrap}
.tsu-addrow input{flex:1;min-width:200px}
.tsu-done{text-align:center;padding:24px 0}
.tsu-status{display:inline-block;background:#fff4d6;color:#7a5600;font-weight:700;font-size:.88rem;padding:6px 16px;border-radius:99px;margin-bottom:18px}

.tsu-box input[type=date]{width:100%;padding:11px 14px;border:1.5px solid var(--line,#dfe5ee);border-radius:10px;background:#fff;color:#14213d;font:inherit}
.tsu-box input[type=date].bad{border-color:#b3261e}
.tsu-box .tsu-two>div>label:first-child{margin-top:15px}

/* ===== Login: home-page theme (cream / navy / yellow) + tutor mode ===== */
#login .auth-form{background:#FEF7EA}
#login .auth-form::before{background:radial-gradient(circle at 40% 40%,rgba(235,185,46,.22),rgba(235,185,46,0) 70%)}
#login .auth-form::after{background:radial-gradient(circle at 50% 50%,rgba(26,32,53,.10),rgba(26,32,53,0) 70%)}
#login .ac-box{border-color:#eadfc9;box-shadow:0 18px 50px rgba(26,32,53,.12)}
#login .login-tabs{background:#FEF7EA!important;border:1.5px solid #eadfc9}
#login .ltab:not(.on):hover{color:#1A2035!important}
#login input[type=email],#login input[type=password]{border-color:#eadfc9;border-radius:10px}
#login input[type=email]:focus,#login input[type=password]:focus{border-color:#EBB92E;box-shadow:0 0 0 4px rgba(235,185,46,.22)}
#login .ac-main .btn{background:#EBB92E;color:#1A2035;border-radius:10px}
#login .ac-main .btn:hover{background:#dcaa20;box-shadow:0 8px 20px rgba(235,185,46,.4)!important}
#login .row a,#login .switch a{color:#1A2035;text-decoration:underline;text-decoration-color:#EBB92E;text-underline-offset:3px;font-weight:600}
#login .gbtn{border-color:#eadfc9;border-radius:10px}
#login .ac-band{background:#1A2035}
#login .ac-script{color:#EBB92E}
#login .ac-checks li::before{background-color:#EBB92E}
#login.is-tutor .ac-side{background:linear-gradient(160deg,#fff4d6 0%,#FEF7EA 60%,#f6e3b4 100%)}
#login.is-tutor .ac-photo img{object-position:50% 20%}
.tjoin{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;border:1.5px solid #eadfc9;border-radius:14px;background:#FEF7EA;color:#1A2035;text-decoration:none;font-size:.88rem;line-height:1.4;transition:border-color .15s,transform .15s}
.tjoin[hidden]{display:none}
.tjoin b{display:block;font-size:.95rem}
.tjoin i{font-style:normal;flex:none;width:34px;height:34px;border-radius:50%;background:#EBB92E;display:grid;place-items:center;font-weight:700}
.tjoin:hover{border-color:#EBB92E;transform:translateY(-1px)}
#login.is-tutor #signupSwitch{display:none!important}
@media(min-width:821px){#login .ac-side-in{position:relative;height:100%;min-height:min(100vh,780px)}}
#login #signupSwitch{display:none!important}
#login:not(.is-tutor) .ac-side{background:linear-gradient(160deg,#fff4d6 0%,#FEF7EA 55%,#f6e3b4 100%)}
#login .tjoin .tjoin-t{display:inline}

/* login: "Hey … New to Modiv's?" steps and the no-account notice */
#login .msg .noacc{display:grid;gap:6px;margin:4px 0 6px;padding:14px 16px;border:1.5px dashed #EBB92E;border-radius:14px;background:#fff8e6;color:#1A2035;font-size:.88rem;line-height:1.45}
#login .noacc b{font-size:.98rem}
#login .noacc em{font-style:normal;font-weight:700;overflow-wrap:anywhere}
#login .noacc-btn{justify-self:start;margin-top:4px;padding:9px 16px;border-radius:10px;background:#1A2035;color:#FEF7EA;font-weight:700;text-decoration:none}
#login .noacc-btn:hover{background:#2a3350}
#login .ac-photo img{object-position:50% 12%}
#login.is-tutor .ac-photo img{object-position:50% 14%}
/* "New to Modiv's?" step cards */
.tjoin.tj-card{display:block;padding:16px 16px 14px;background:linear-gradient(135deg,#FEF7EA 0%,#fff3d1 100%);position:relative;overflow:hidden}
.tjoin.tj-card::after{content:"";position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;background:rgba(235,185,46,.18);pointer-events:none}
.tj-card .tj-top{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:1}
.tj-card .tj-top b{font-size:.98rem}
.tj-card .tj-top i{transition:transform .2s}
.tj-card:hover .tj-top i{transform:translateX(3px)}
.tj-card .tj-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;position:relative;z-index:1}
.tj-card .tj-grid::before{content:"";position:absolute;left:16%;right:16%;top:31px;border-top:2px dashed #EBB92E;z-index:-1}
.tj-card .tj-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px 11px;background:#fff;border:1.5px solid #eadfc9;border-radius:14px;text-align:center;box-shadow:0 3px 10px rgba(26,32,53,.05);transition:transform .2s,border-color .2s,box-shadow .2s}
.tj-card:hover .tj-step{transform:translateY(-3px);border-color:#EBB92E;box-shadow:0 8px 18px rgba(26,32,53,.1);transition-delay:calc(var(--d) * 60ms)}
.tj-card .tj-step em{position:absolute;top:-8px;left:-6px;width:22px;height:22px;border-radius:50%;background:#EBB92E;color:#1A2035;font-style:normal;font-weight:800;font-size:.72rem;display:grid;place-items:center;box-shadow:0 0 0 3px #FEF7EA}
.tj-card .tj-ic{width:40px;height:40px;border-radius:12px;background:#1A2035;display:grid;place-items:center}
.tj-card .tj-ic svg{width:20px;height:20px;fill:none;stroke:#EBB92E;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tj-card .tj-lb{font-size:.78rem;font-weight:700;line-height:1.3;color:#1A2035}
@media(prefers-reduced-motion:no-preference){.tj-card .tj-step{animation:tjIn .5s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--d) * 90ms + .2s)}}
@keyframes tjIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:420px){.tj-card .tj-grid{gap:8px}.tj-card .tj-step{padding:11px 5px 9px}.tj-card .tj-lb{font-size:.72rem}.tj-card .tj-ic{width:36px;height:36px}}

/* tutor wizard: grouped sections, same look as the Post a requirement page */
.tsu-qs{border-top:1px solid var(--line,#dfe5ee);margin-top:22px;padding-top:4px}
.tsu-qs>.lab:first-child{margin-top:14px}

/* tutor wizard: profile completion line above the step */
.tsu-pct{margin:0 0 16px}
.tsu-pct-t{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:.92rem;color:#14213d}
.tsu-pct-t b{font-size:1.05rem}
.tsu-pct-t small{color:#5d6b82;font-size:.78rem}
.tsu-pbar{position:relative;height:8px;border-radius:99px;background:#e6ebf2;margin-top:8px;overflow:hidden}
.tsu-pbar i{position:absolute;left:0;top:0;bottom:0;background:#0e7c66;border-radius:99px;transition:width .3s}
.tsu-pbar u{position:absolute;left:80%;top:0;bottom:0;width:2px;background:#14213d;opacity:.45}
