:root{--pink:#d94f93;--pink-dark:#a92f6c;--pink-soft:#fff0f7;--ink:#281d27;--muted:#756a74;--cream:#fffafc;--line:rgba(217,79,147,.17);--shadow:0 24px 70px rgba(73,38,61,.12);--radius:28px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Cairo,Poppins,sans-serif;color:var(--ink);background:#fff;overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.topbar{position:sticky;top:0;z-index:900;display:flex;align-items:center;justify-content:space-between;padding:10px 6%;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand img{width:62px;height:62px;object-fit:contain}.brand div{display:flex;flex-direction:column;line-height:1.15}.brand strong{font:800 19px Poppins}.brand span{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--pink);font-size:20px}.icon-btn.on{background:var(--pink);color:#fff}.back-link{font-weight:800;color:var(--pink);padding:10px 14px}
.academy-hero{min-height:calc(100vh - 83px);display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:42px;padding:54px 7% 38px;background:radial-gradient(circle at 15% 25%,rgba(217,79,147,.12),transparent 28%),linear-gradient(145deg,#fff,#fff7fb)}.eyebrow{display:inline-flex;align-items:center;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 15px;color:var(--pink-dark);font-weight:800;font-size:14px}.hero-copy h1{font-size:clamp(40px,5.2vw,68px);line-height:1.18;letter-spacing:-1.5px;margin:20px 0 16px;max-width:770px}.hero-copy h1 span{color:var(--pink)}.hero-copy p{font-size:18px;line-height:1.95;color:var(--muted);max-width:680px;margin:0}.hero-actions{display:flex;gap:12px;align-items:center;margin-top:28px}.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:14px 25px;font-weight:900;border:0}.primary-btn{background:linear-gradient(135deg,var(--pink),var(--pink-dark));color:#fff;box-shadow:0 15px 32px rgba(217,79,147,.25)}.secondary-btn{background:#fff;color:var(--ink);border:1px solid var(--line)}.primary-btn:disabled{opacity:.45;cursor:not-allowed}.full{width:100%}.trust-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.trust-row span{font-size:13px;color:var(--muted);background:rgba(255,255,255,.75);border:1px solid var(--line);padding:7px 11px;border-radius:999px}.hero-reem{position:relative;min-height:580px;display:flex;align-items:flex-end;justify-content:center}.hero-reem>img{position:relative;z-index:2;max-height:570px;max-width:100%;object-fit:contain;filter:drop-shadow(0 24px 35px rgba(68,37,56,.18));animation:float 5s ease-in-out infinite}.halo{position:absolute;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(217,79,147,.26),rgba(217,79,147,.05) 53%,transparent 70%);filter:blur(4px);bottom:20px}.reem-intro-card{position:absolute;z-index:4;bottom:30px;right:2%;display:flex;gap:10px;align-items:center;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);padding:12px 15px;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow)}.reem-intro-card div{display:flex;flex-direction:column}.reem-intro-card small{color:var(--muted)}.live-dot,.online-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#55d878;box-shadow:0 0 0 5px rgba(85,216,120,.13)}@keyframes float{50%{transform:translateY(-7px)}}
.programs{padding:90px 6%;background:#fff}.section-heading{text-align:center;max-width:780px;margin:0 auto 42px}.section-heading>span{color:var(--pink);font-weight:900}.section-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.3;margin:8px 0 12px}.section-heading p{color:var(--muted);line-height:1.9;margin:0}.program-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;max-width:1500px;margin:auto}.program-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 16px 44px rgba(59,34,51,.08);display:flex;flex-direction:column;min-height:100%}.program-card.featured{border:2px solid rgba(217,79,147,.42);transform:translateY(-8px);background:linear-gradient(180deg,#fff,#fff8fc)}.popular{position:absolute;top:-14px;right:20px;background:var(--pink);color:#fff;border-radius:999px;padding:6px 13px;font-size:12px;font-weight:900}.program-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.program-top b{font:800 21px Poppins}.program-top span{color:var(--pink);font-weight:900;font-size:13px}.program-card h3{font-size:19px;margin:17px 0 8px}.program-card>p{color:var(--muted);line-height:1.75;min-height:80px;margin:0}.program-card ul{padding-right:20px;color:var(--muted);line-height:1.9;font-size:14px;flex:1}.program-card li::marker{color:var(--pink)}.program-price{display:flex;align-items:baseline;gap:6px;margin:12px 0}.program-price strong{font-size:30px}.program-price span{color:var(--muted)}.learn-program{width:100%;border:1px solid var(--line);border-radius:999px;padding:11px;background:var(--pink-soft);color:var(--pink-dark);font-weight:900}
.chat-section{padding:88px 6% 110px;background:linear-gradient(180deg,#fff8fc,#fff)}.chat-stage{display:grid;grid-template-columns:.72fr 1.28fr;max-width:1280px;margin:auto;gap:28px;align-items:stretch}.reem-stage{position:relative;min-height:650px;border-radius:34px;background:radial-gradient(circle at 50% 26%,rgba(217,79,147,.19),transparent 36%),linear-gradient(160deg,#fff,#fff4fa);border:1px solid var(--line);overflow:hidden;display:flex;align-items:flex-end;justify-content:center}.reem-stage img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;object-position:center bottom;transition:opacity .22s ease,transform .22s ease;filter:drop-shadow(0 22px 30px rgba(71,38,60,.17))}.reem-stage img.changing{opacity:.18;transform:scale(.985)}.reem-glow{position:absolute;width:410px;height:410px;border-radius:50%;background:radial-gradient(circle,rgba(217,79,147,.23),transparent 68%);bottom:70px}.reem-status{position:absolute;z-index:4;top:20px;right:20px;left:20px;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.83);backdrop-filter:blur(12px)}.human-note{position:absolute;z-index:4;bottom:18px;left:18px;right:18px;background:rgba(40,29,39,.8);color:#fff;border-radius:16px;padding:11px 14px;text-align:center;font-size:13px;backdrop-filter:blur(10px)}.chat-shell{background:#fff;border:1px solid var(--line);border-radius:34px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;min-height:650px}.chat-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;background:linear-gradient(135deg,#3a202f,#a61f62);color:#fff}.chat-person{display:flex;align-items:center;gap:12px}.chat-person img{width:54px;height:54px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.8)}.chat-head h2,.chat-head p{margin:0}.chat-head h2{font-size:18px}.chat-head p{font-size:12px;color:#f7d9e7}.online-dot{width:7px;height:7px;box-shadow:none;margin-left:4px}.restart{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;border-radius:999px;padding:8px 12px;font-weight:700}.messages{flex:1;min-height:390px;max-height:520px;overflow:auto;padding:22px;background:linear-gradient(180deg,#fffafd,#fff)}.msg{max-width:84%;padding:12px 16px;border-radius:20px;margin:9px 0;line-height:1.8;white-space:pre-line;font-size:15px}.msg.bot{background:#fff0f7;border:1px solid var(--line);border-bottom-right-radius:6px}.msg.user{margin-right:auto;background:linear-gradient(135deg,var(--pink),var(--pink-dark));color:#fff;border-bottom-left-radius:6px}.msg.insight{background:#fff;border:1px dashed rgba(217,79,147,.38);color:var(--muted);font-size:14px}.typing{display:inline-flex;gap:5px}.typing i{width:7px;height:7px;border-radius:50%;background:var(--pink);animation:b 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes b{50%{transform:translateY(-5px)}}.quick-context{padding:9px 18px 0;display:flex;gap:7px;flex-wrap:wrap}.quick-context span{background:#fff5fa;border:1px solid var(--line);border-radius:999px;padding:5px 9px;color:var(--muted);font-size:11px}.answer-area{padding:15px 18px;border-top:1px solid var(--line);display:flex;gap:9px;flex-wrap:wrap}.choice{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 15px;color:var(--ink);font-weight:800}.choice:hover,.choice.selected{background:var(--pink-soft);color:var(--pink-dark);border-color:rgba(217,79,147,.4)}.text-row{display:flex;width:100%;gap:8px}.text-row input,.text-row textarea{flex:1;border:1px solid var(--line);border-radius:18px;padding:13px;background:#fff;outline:none}.text-row input:focus,.text-row textarea:focus{border-color:rgba(217,79,147,.55);box-shadow:0 0 0 4px rgba(217,79,147,.08)}.text-row textarea{min-height:90px;resize:vertical}.chat-tools{display:flex;justify-content:space-between;align-items:center;padding:9px 18px 15px;color:var(--muted);font-size:12px}.tool-btn{border:0;background:var(--pink-soft);color:var(--pink-dark);border-radius:999px;padding:8px 12px;font-weight:800}.inline-card{width:100%;border:1px solid var(--line);border-radius:18px;padding:14px;background:#fff}.inline-card h4{margin:0 0 7px}.inline-card p{margin:0;color:var(--muted);line-height:1.75}.inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.modal{position:fixed;inset:0;z-index:2000;background:rgba(21,12,20,.72);display:grid;place-items:center;padding:18px}.modal[hidden]{display:none}.modal-card{width:min(950px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:28px;padding:20px}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0}.modal-head button{border:0;background:var(--pink-soft);color:var(--pink);width:40px;height:40px;border-radius:50%;font-size:26px}.map-note{color:var(--muted)}.map-search{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-bottom:12px}.map-search input{border:1px solid var(--line);border-radius:14px;padding:11px}.map-search button{border:0;border-radius:14px;padding:10px 14px;background:var(--pink-soft);color:var(--pink-dark);font-weight:800}#map{height:420px;border-radius:20px;overflow:hidden}.location-preview{display:flex;flex-direction:column;gap:4px;background:#fff6fa;border:1px solid var(--line);border-radius:16px;padding:12px;margin:12px 0}.location-preview small{direction:ltr;text-align:right}.toast{position:fixed;z-index:3000;left:50%;bottom:24px;transform:translate(-50%,20px);background:#241723;color:#fff;padding:12px 18px;border-radius:999px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.academy-hero{grid-template-columns:1fr}.hero-reem{min-height:500px}.program-grid{grid-template-columns:repeat(2,1fr)}.chat-stage{grid-template-columns:1fr}.reem-stage{min-height:470px}.reem-stage img{height:470px}.human-note{display:none}}
@media(max-width:680px){.topbar{padding:8px 4%}.brand img{width:54px;height:54px}.brand span{display:none}.back-link{font-size:13px}.academy-hero,.programs,.chat-section{padding-left:5%;padding-right:5%}.academy-hero{padding-top:34px;min-height:auto;gap:20px}.hero-copy h1{font-size:38px;letter-spacing:-.7px}.hero-copy p{font-size:16px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions>*{width:100%}.hero-reem{min-height:430px}.hero-reem>img{max-height:430px}.reem-intro-card{right:0;left:0;bottom:8px}.programs{padding-top:70px}.program-grid{grid-template-columns:1fr}.program-card.featured{transform:none}.chat-section{padding-top:62px}.reem-stage{min-height:380px}.reem-stage img{height:380px}.chat-shell{min-height:620px}.messages{min-height:350px;padding:14px}.msg{max-width:93%;font-size:14px}.answer-area{padding:13px}.text-row{flex-direction:column}.map-search{grid-template-columns:1fr 1fr}.map-search input{grid-column:1/-1}#map{height:330px}}

/* v3 visual refinement — unified typography and premium customer-service chat */
body{font-family:"Cairo",sans-serif;font-weight:500;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.brand strong,.program-top b,.program-price strong{font-family:"Poppins","Cairo",sans-serif}
h1,h2,h3,h4,.primary-btn,.secondary-btn,.choice,.learn-program,.restart{font-family:"Cairo",sans-serif}
.hero-reem{overflow:hidden;border-radius:36px;background:linear-gradient(155deg,#160912 0%,#401028 48%,#10080e 100%);border:1px solid rgba(217,79,147,.22);box-shadow:0 30px 75px rgba(68,17,47,.18)}
.hero-reem>img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 42%;filter:none;animation:none}
.hero-reem .halo{display:none}
.reem-intro-card{right:22px;bottom:22px;left:22px;justify-content:flex-start;border-color:rgba(255,255,255,.25);background:rgba(21,10,18,.72);color:#fff;box-shadow:0 18px 45px rgba(0,0,0,.25)}
.reem-intro-card small{color:#f6dce9}
.chat-shell{border-color:rgba(217,79,147,.22);box-shadow:0 28px 75px rgba(73,38,61,.16)}
.chat-head{padding:15px 18px;background:linear-gradient(135deg,#2d1723 0%,#6e214b 58%,#b83d7d 100%)}
.chat-person img{width:58px;height:58px;box-shadow:0 0 0 4px rgba(255,255,255,.1)}
.chat-person h2{font-size:19px;font-weight:900;line-height:1.2}
.chat-person .team-role{font-size:11px;color:#fff;font-weight:700;margin-top:2px}
.chat-person .online-status{font-size:11px;color:#f8dfea;margin-top:1px}
.messages{background:radial-gradient(circle at 10% 10%,rgba(217,79,147,.055),transparent 28%),linear-gradient(180deg,#fffafd,#fff)}
.msg{box-shadow:0 7px 20px rgba(64,30,51,.045)}
.msg.bot{background:#fff;border:1px solid rgba(217,79,147,.2);border-bottom-right-radius:7px}
.msg.user{background:linear-gradient(135deg,#d94f93,#a92f6c);box-shadow:0 10px 25px rgba(169,47,108,.2)}
.answer-area{background:rgba(255,255,255,.94)}
.choice,.learn-program{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.choice:hover,.learn-program:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(169,47,108,.11)}
.reem-stage{background:#160912;border-color:rgba(217,79,147,.25);box-shadow:0 24px 65px rgba(58,15,41,.16)}
.reem-stage img{object-fit:cover;object-position:center 35%;filter:none}
.reem-glow{display:none}
.reem-status{color:#fff;background:rgba(28,12,23,.72);border-color:rgba(255,255,255,.16)}
@media(max-width:680px){
  .hero-reem{min-height:470px;border-radius:28px}
  .hero-reem>img{height:470px;object-position:center 42%}
  .reem-intro-card{right:12px;left:12px;bottom:12px}
  .reem-stage{min-height:420px}
  .reem-stage img{height:420px;object-position:center 32%}
  .chat-person .team-role{max-width:185px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* =========================================================
   HerRide Academy v3.1 — final premium layout refinements
   ========================================================= */
:root{
  --page-max:1440px;
  --black:#140b12;
  --deep:#28101f;
  --pink:#d94f93;
  --pink-dark:#9f2863;
  --pink-bright:#f35da8;
  --surface:#ffffff;
  --surface-soft:#fff8fc;
  --text:#241a22;
  --muted:#716873;
  --line:rgba(169,47,108,.16);
}
body{background:#fff;color:var(--text)}
.topbar{height:82px;padding:8px max(5vw,28px);box-shadow:0 8px 30px rgba(45,20,36,.045)}
.brand img{width:58px;height:58px}.brand strong{font-size:20px}.brand span{font-size:11px;letter-spacing:.25px}
.icon-btn,.back-link{transition:.2s ease}.icon-btn:hover,.back-link:hover{transform:translateY(-1px)}

.academy-hero{min-height:760px;grid-template-columns:minmax(470px,.95fr) minmax(520px,1.05fr);max-width:var(--page-max);margin:auto;padding:54px 5% 64px;gap:64px;background:transparent}
.academy-hero::before{content:"";position:absolute;inset:82px 0 auto 0;height:700px;z-index:-1;background:radial-gradient(circle at 78% 24%,rgba(217,79,147,.13),transparent 27%),radial-gradient(circle at 12% 75%,rgba(217,79,147,.08),transparent 30%),linear-gradient(180deg,#fff,#fff9fc)}
.hero-copy{position:relative;z-index:3}.eyebrow{padding:9px 17px;background:#fff8fc;box-shadow:0 8px 25px rgba(169,47,108,.07)}
.hero-copy h1{font-size:clamp(50px,5.3vw,78px);line-height:1.22;letter-spacing:-2px;margin:22px 0 18px;font-weight:900}.hero-copy h1 span{display:inline-block;background:linear-gradient(135deg,#d94f93,#a92f6c);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy p{font-size:17px;line-height:2.05;max-width:650px;color:#655c66}
.hero-actions{margin-top:30px}.primary-btn,.secondary-btn{min-height:52px;padding:13px 28px;transition:transform .18s ease,box-shadow .18s ease}.primary-btn:hover,.secondary-btn:hover{transform:translateY(-2px)}.primary-btn:hover{box-shadow:0 18px 38px rgba(169,47,108,.3)}
.trust-row{gap:10px;margin-top:28px}.trust-row span{font-weight:700;background:#fff;padding:8px 13px;box-shadow:0 7px 18px rgba(45,20,36,.035)}
.hero-reem{min-height:620px;align-self:center;border-radius:38px;box-shadow:0 32px 85px rgba(51,10,36,.24);background:#130810}
.hero-reem>img{height:620px;object-fit:cover;object-position:center 39%}
.reem-intro-card{padding:14px 18px;gap:12px;border-radius:20px}.reem-intro-card b{font-size:18px}.reem-intro-card small{font-size:12px}

.programs{padding:100px 5% 110px;background:linear-gradient(180deg,#fff 0%,#fff9fc 100%)}
.section-heading{max-width:820px;margin-bottom:50px}.section-heading h2{font-size:clamp(36px,4.2vw,54px);font-weight:900;letter-spacing:-1px}.section-heading p{font-size:16px}
.program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1180px}
.program-card{padding:30px 30px 27px;border-radius:30px;box-shadow:0 18px 55px rgba(55,24,45,.07);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.program-card::after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;left:-70px;bottom:-80px;background:radial-gradient(circle,rgba(217,79,147,.10),transparent 68%);pointer-events:none}.program-card:hover{transform:translateY(-5px);box-shadow:0 28px 70px rgba(55,24,45,.11);border-color:rgba(217,79,147,.3)}
.program-card.featured{transform:none;border:2px solid rgba(217,79,147,.42);background:linear-gradient(145deg,#fff,#fff3f9)}.program-card.featured:hover{transform:translateY(-5px)}
.program-top b{font-size:24px}.program-top span{font-size:14px;background:#fff1f7;padding:6px 11px;border-radius:999px}.program-card h3{font-size:23px;margin:18px 0 8px}.program-card>p{min-height:auto;font-size:15px}.program-card ul{font-size:14px;margin:16px 0;display:grid;grid-template-columns:1fr 1fr;gap:2px 24px}.program-price{border-top:1px solid var(--line);padding-top:16px;margin-top:10px}.program-price strong{font-size:36px}.learn-program{min-height:48px;font-size:15px;background:linear-gradient(180deg,#fff7fb,#ffedf6)}

.chat-section{padding:105px 5% 125px;background:radial-gradient(circle at 5% 12%,rgba(217,79,147,.08),transparent 25%),linear-gradient(180deg,#fff9fc,#fff)}
.chat-stage{grid-template-columns:380px minmax(0,1fr);max-width:1220px;gap:24px;align-items:start}
.reem-stage{height:550px;min-height:550px;border-radius:30px;position:sticky;top:105px}.reem-stage img{height:550px;object-fit:cover;object-position:center 26%}.reem-status{top:16px;right:16px;left:16px;border-radius:16px}.human-note{font-size:12px;line-height:1.65}
.chat-shell{min-height:690px;border-radius:30px;border:1px solid rgba(169,47,108,.19);box-shadow:0 30px 90px rgba(62,28,51,.14)}
.chat-head{min-height:88px;padding:14px 20px;background:linear-gradient(115deg,#21121d 0%,#632044 62%,#b83d7d 100%);position:relative;overflow:hidden}.chat-head::after{content:"";position:absolute;left:-40px;top:-70px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.06)}
.chat-person{position:relative;z-index:1}.chat-person img{width:60px;height:60px}.chat-person h2{font-size:20px}.team-role{font-size:12px!important}.online-status{font-size:11px!important}.restart{position:relative;z-index:1;padding:9px 15px;background:rgba(255,255,255,.12)}
.messages{min-height:440px;max-height:540px;padding:26px 28px;background:radial-gradient(circle at 8% 12%,rgba(217,79,147,.05),transparent 27%),#fff}
.msg{font-size:15px;line-height:1.9;padding:14px 17px;max-width:78%;border-radius:22px;animation:messageIn .24s ease both}.msg.bot{border-bottom-right-radius:7px;background:#fff;border:1px solid rgba(217,79,147,.17);box-shadow:0 8px 22px rgba(55,24,45,.05)}.msg.user{border-bottom-left-radius:7px;box-shadow:0 12px 25px rgba(169,47,108,.2)}
@keyframes messageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.quick-context{padding:11px 22px 0}.quick-context span{padding:6px 10px;background:#fff4f9}
.answer-area{padding:17px 22px 19px;gap:10px;background:#fff;border-top:1px solid rgba(169,47,108,.12)}
.choice{min-height:44px;padding:10px 16px;background:#fff;border-color:rgba(169,47,108,.17)}.choice:hover,.choice.selected{background:linear-gradient(180deg,#fff4f9,#ffe9f4);box-shadow:0 8px 18px rgba(169,47,108,.09)}
.text-row input,.text-row textarea{background:#fffafd;border-color:rgba(169,47,108,.18)}
.chat-tools{padding:10px 22px 17px;border-top:1px solid rgba(169,47,108,.06)}.tool-btn{min-height:38px;padding:8px 14px}

@media(max-width:1100px){
  .academy-hero{grid-template-columns:1fr;max-width:850px;text-align:center;gap:34px;padding-top:45px}.academy-hero::before{height:1100px}.hero-copy p{margin:auto}.hero-actions,.trust-row{justify-content:center}.hero-reem{width:min(700px,100%);margin:auto}.program-grid{grid-template-columns:1fr 1fr}.chat-stage{grid-template-columns:300px minmax(0,1fr)}.reem-stage,.reem-stage img{height:500px;min-height:500px}
}
@media(max-width:850px){
  .chat-stage{grid-template-columns:1fr}.reem-stage{position:relative;top:auto;width:100%;height:390px;min-height:390px}.reem-stage img{height:390px;object-position:center 28%}.human-note{display:none}.program-grid{grid-template-columns:1fr}.program-card ul{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .topbar{height:70px}.brand img{width:48px;height:48px}.brand strong{font-size:17px}.icon-btn{width:38px;height:38px}.academy-hero{padding:30px 5% 52px;gap:25px;text-align:right}.academy-hero::before{top:70px}.hero-copy h1{font-size:40px;line-height:1.28;letter-spacing:-.8px}.hero-copy p{font-size:15px;line-height:1.9}.eyebrow{font-size:12px}.hero-actions{gap:9px}.trust-row{justify-content:flex-start}.hero-reem{min-height:450px;height:450px;border-radius:26px}.hero-reem>img{height:450px;object-position:center 38%}.reem-intro-card{padding:11px 13px}.programs{padding-top:72px;padding-bottom:80px}.section-heading{text-align:right;margin-bottom:30px}.section-heading h2{font-size:32px}.program-grid{gap:16px}.program-card{padding:23px 20px}.program-card ul{grid-template-columns:1fr}.program-top b{font-size:21px}.program-card h3{font-size:20px}.chat-section{padding-top:72px;padding-bottom:90px}.reem-stage{height:330px;min-height:330px;border-radius:25px}.reem-stage img{height:330px;object-position:center 25%}.chat-shell{min-height:650px;border-radius:24px}.chat-head{min-height:78px;padding:11px 13px}.chat-person img{width:50px;height:50px}.chat-person h2{font-size:17px}.team-role{font-size:10px!important;max-width:165px}.restart{padding:7px 10px;font-size:11px}.messages{padding:17px 14px;min-height:360px}.msg{max-width:91%;font-size:14px;padding:11px 14px}.answer-area{padding:13px}.choice{width:100%;text-align:right}.chat-tools{padding:9px 13px 14px;gap:8px}.chat-tools span{font-size:10px}
}

/* v3.2 — hero title and image corrections */
.hero-copy h1{
  font-size:clamp(42px,4.2vw,62px);
  line-height:1.27;
  letter-spacing:-1.2px;
  max-width:690px;
}
.hero-reem{
  min-height:600px;
  height:600px;
  padding:0;
  background:#130810;
}
.hero-reem>img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center bottom;
}
@media(max-width:1100px){
  .hero-copy h1{font-size:clamp(40px,6vw,56px);max-width:760px;margin-left:auto;margin-right:auto}
  .hero-reem{height:560px;min-height:560px}
  .hero-reem>img{height:100%;object-fit:contain;object-position:center bottom}
}
@media(max-width:680px){
  .hero-copy h1{font-size:34px;line-height:1.35;letter-spacing:-.5px}
  .hero-reem{height:440px;min-height:440px}
  .hero-reem>img{height:100%;object-fit:contain;object-position:center bottom}
}

/* =========================================================
   HerRide Academy v3.3 — unified with main HerRide identity
   ========================================================= */
body{
  background:linear-gradient(180deg,#fff 0%,#fff7fb 42%,#fff 100%);
}
.academy-header{
  position:sticky;top:0;z-index:1000;
  min-height:84px;height:auto;
  padding:10px 7%;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(217,79,147,.18);
  box-shadow:0 8px 28px rgba(35,20,32,.06);
}
.academy-header .brand img{
  width:74px;height:64px;object-fit:contain;object-position:center;
  filter:drop-shadow(0 5px 12px rgba(217,79,147,.14));
}
.academy-nav{display:flex;align-items:center;gap:24px;font-weight:800;color:#4a3b47}
.academy-nav a{position:relative;white-space:nowrap}
.academy-nav a::after{content:"";position:absolute;right:0;left:0;bottom:-8px;height:2px;background:#d94f93;transform:scaleX(0);transition:.25s}
.academy-nav a:hover::after{transform:scaleX(1)}
.header-cta,.primary-btn{
  border-radius:999px;
  background:linear-gradient(135deg,#d94f93,#be3679);
  color:#fff;
  box-shadow:0 14px 30px rgba(217,79,147,.28);
  font-weight:900;
}
.header-cta{padding:11px 18px;display:inline-flex;align-items:center;justify-content:center}
.header-cta:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(217,79,147,.34)}
.secondary-btn,.learn-program{
  border-radius:999px;
  border:1px solid rgba(217,79,147,.18);
  color:#d94f93;
  background:#fff;
  font-weight:900;
}
.secondary-btn:hover,.learn-program:hover{background:#fff1f7;transform:translateY(-2px)}

.academy-hero::before{
  background:radial-gradient(circle at 80% 22%,rgba(217,79,147,.14),transparent 27%),radial-gradient(circle at 12% 75%,rgba(217,79,147,.09),transparent 30%),linear-gradient(180deg,#fff,#fff7fb);
}
.programs{
  background:linear-gradient(180deg,#fff7fb 0%,#fff 52%,#fff7fb 100%);
}
.program-grid{align-items:stretch}
.program-card{
  background:linear-gradient(160deg,#fff 0%,#fffafd 100%);
  border:1px solid rgba(217,79,147,.16);
  box-shadow:0 18px 50px rgba(35,20,32,.08);
}
.program-card.featured{
  background:linear-gradient(150deg,#fff,#fff0f7);
  border:2px solid rgba(217,79,147,.42);
}
.program-label,.popular{
  position:static;
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin:14px 0 0;
  padding:7px 13px;
  border-radius:999px;
  background:#fff1f7;
  border:1px solid rgba(217,79,147,.17);
  color:#a92f6c;
  font-size:13px;
  line-height:1.5;
  font-weight:900;
  white-space:normal;
  text-align:center;
  box-sizing:border-box;
}
.program-card .popular{background:linear-gradient(135deg,#d94f93,#be3679);color:#fff;border:0;box-shadow:0 10px 24px rgba(217,79,147,.23)}
.program-top{margin-top:12px}
.program-card:not(.featured) .program-label + h3{margin-top:14px}
.chat-section{background:radial-gradient(circle at 6% 15%,rgba(217,79,147,.09),transparent 25%),linear-gradient(180deg,#fff7fb,#fff)}

.academy-footer{
  position:relative;overflow:hidden;
  background:#170f16;color:#fff;
  padding:58px 7% 20px;
}
.footer-glow{position:absolute;width:520px;height:520px;border-radius:50%;left:-180px;top:-240px;background:radial-gradient(circle,rgba(217,79,147,.24),transparent 68%);pointer-events:none}
.academy-footer-grid{position:relative;display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:34px;max-width:1400px;margin:auto}
.academy-footer-brand img{width:150px;height:110px;object-fit:contain;object-position:right center;filter:drop-shadow(0 0 18px rgba(217,79,147,.28))}
.academy-footer h3{font-size:25px;margin:5px 0 10px}
.academy-footer h4{color:#ffd9ea;margin:0 0 16px;font-size:18px}
.academy-footer p{color:#f2cde0;line-height:1.9;max-width:420px}
.academy-footer a{display:block;color:#f7eef4;margin:10px 0;transition:.2s}
.academy-footer a:hover{color:#ff9fc8;transform:translateX(-4px)}
.academy-footer-bottom{position:relative;text-align:center;color:#c5aabb;border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:18px}

@media(max-width:1050px){
  .academy-nav{display:none}
  .academy-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .academy-header{min-height:72px;padding:8px 5%}
  .academy-header .brand img{width:54px;height:52px}
  .academy-header .brand span{display:none}
  .header-cta{padding:9px 13px;font-size:12px}
  .program-label,.popular{font-size:12px;padding:6px 10px}
  .academy-footer{padding:45px 6% 18px}
  .academy-footer-grid{grid-template-columns:1fr;gap:22px}
  .academy-footer-brand img{width:130px;height:90px}
}


/* v3.4 visual alignment fixes */
.hero-copy h1{font-size:clamp(34px,3.7vw,52px)!important;line-height:1.30!important;letter-spacing:-1px!important;max-width:720px!important}
.program-card{padding-top:25px!important}
.program-card .popular{position:static!important;display:inline-flex!important;align-self:flex-start!important;width:max-content!important;max-width:100%!important;min-height:36px!important;align-items:center!important;margin:0 0 16px!important;padding:7px 14px!important;border-radius:999px!important;background:linear-gradient(135deg,#d94f93,#be3679)!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px rgba(217,79,147,.23)!important;font-size:13px!important;line-height:1.5!important;font-weight:900!important;white-space:normal!important;text-align:center!important}
.program-top{margin-top:0!important;min-height:36px!important;align-items:center!important}
.program-top span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;margin:0!important}
.program-card h3{margin-top:18px!important}
.footer{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(18,7,15,.92),rgba(77,17,54,.84)),url('../assets/footer-bg.png') center/cover no-repeat!important;color:#fff;padding:54px 7% 20px}
.footer:before{content:"";position:absolute;inset:0;background:url('../assets/motion-bg-2.png') center/cover;opacity:.08;filter:blur(6px)}
.footer>*{position:relative}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1fr;gap:28px;max-width:1400px;margin:auto}.footer-brand img{width:140px;height:140px;object-fit:contain;margin-bottom:8px;filter:drop-shadow(0 0 20px rgba(255,90,170,.42))}.footer h3{font-size:30px;margin:0;color:#fff}.footer h4{color:#fff;margin:0 0 14px}.footer p{color:rgba(255,255,255,.90);line-height:1.8}.footer a{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.90);margin:8px 0;transition:.2s}.footer a:hover{color:#ff9fc8;transform:translateX(-4px)}.footer-bottom{text-align:center;color:#c5aabb;border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:18px}.footer-icon{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#fff;color:#d94f93;flex:0 0 auto}.footer-icon:before{font-size:14px;font-weight:900}.phone-icon:before{content:"☎"}.email-icon:before{content:"✉"}.whatsapp-icon{background:#25D366}.telegram-icon{background:#229ED9}.facebook-icon{background:#1877F2}.instagram-icon{background:linear-gradient(135deg,#833AB4,#E1306C,#F77737)}.tiktok-icon{background:#111}.whatsapp-icon:before{content:"W";color:#fff}.telegram-icon:before{content:"T";color:#fff}.facebook-icon:before{content:"f";color:#fff;font-family:Arial}.instagram-icon:before{content:"◎";color:#fff}.tiktok-icon:before{content:"♪";color:#fff}
@media(max-width:820px){.hero-copy h1{font-size:32px!important;line-height:1.36!important}.footer-grid{grid-template-columns:1fr;text-align:center}.footer a{justify-content:center}.program-card .popular{min-height:34px!important;margin-bottom:14px!important}}


/* v3.5 FINAL polish */
.lang-btn{border:1px solid rgba(217,79,147,.28);background:#fff;color:#a92f6c;border-radius:999px;padding:9px 14px;font-weight:900;box-shadow:0 8px 20px rgba(102,31,72,.10);transition:.25s;cursor:pointer}.lang-btn:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(102,31,72,.18)}
.hero-copy h1{font-size:clamp(29px,3.15vw,44px)!important;font-weight:750!important;line-height:1.34!important;letter-spacing:-.6px!important}.hero-copy h1 span{display:inline-block;background:linear-gradient(135deg,#8e245b,#d94f93);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 7px 15px rgba(217,79,147,.12))}
.section-heading h2{font-size:clamp(27px,3vw,41px)!important;font-weight:750!important;line-height:1.35!important}.section-heading>span{font-weight:800!important}
.program-card{background:linear-gradient(155deg,#fff4fa 0%,#f9e5f0 100%)!important;border:1px solid rgba(156,48,104,.20)!important;box-shadow:0 20px 50px rgba(67,25,51,.14),0 3px 12px rgba(217,79,147,.08)!important;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease!important}.program-card:hover{transform:translateY(-10px)!important;box-shadow:0 30px 68px rgba(67,25,51,.21),0 8px 22px rgba(217,79,147,.14)!important;border-color:rgba(217,79,147,.38)!important}.program-card.featured{background:linear-gradient(150deg,#fff0f7,#f5d7e8)!important}
.learn-program{background:linear-gradient(135deg,#b32369,#8f1f58)!important;color:#fff!important;border:0!important;box-shadow:0 13px 27px rgba(128,23,78,.27)!important;transition:.28s!important}.learn-program:hover{background:linear-gradient(135deg,#bd347d,#8c1d58)!important;color:#fff!important;box-shadow:0 18px 38px rgba(128,23,78,.38)!important;transform:translateY(-3px) scale(1.015)!important}
.chat-section{background:radial-gradient(circle at 8% 10%,rgba(217,79,147,.16),transparent 28%),linear-gradient(160deg,#f6dce9 0%,#f3e5ee 48%,#ead7e2 100%)!important;padding-top:86px!important;padding-bottom:90px!important}.chat-stage{background:rgba(255,255,255,.44);border:1px solid rgba(128,23,78,.12);border-radius:34px;padding:22px;box-shadow:0 30px 85px rgba(72,28,53,.17);backdrop-filter:blur(12px)}.chat-shell,.reem-stage{box-shadow:0 24px 55px rgba(64,25,48,.16)!important;border:1px solid rgba(217,79,147,.18)!important}.chat-shell{background:rgba(255,255,255,.94)!important}.reem-stage{background:linear-gradient(160deg,#f7e8f0,#ead4e0)!important}
.reveal{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}.reveal.visible{opacity:1;transform:none}.program-card.reveal:nth-child(2){transition-delay:.08s}.program-card.reveal:nth-child(3){transition-delay:.16s}.program-card.reveal:nth-child(4){transition-delay:.24s}.hero-reem{animation:floatReem 5s ease-in-out infinite}.primary-btn,.header-cta{transition:transform .25s,box-shadow .25s;animation:softPulse 3.2s ease-in-out infinite}@keyframes floatReem{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}@keyframes softPulse{0%,100%{box-shadow:0 14px 30px rgba(217,79,147,.28)}50%{box-shadow:0 19px 40px rgba(217,79,147,.42)}}
html[dir="ltr"] body{font-family:Poppins,Cairo,sans-serif}html[dir="ltr"] .academy-nav a::after{right:0;left:0}html[dir="ltr"] .footer a:hover{transform:translateX(4px)}
@media(max-width:680px){.top-actions{gap:6px}.lang-btn{padding:8px 10px;font-size:12px}.hero-copy h1{font-size:28px!important}.section-heading h2{font-size:27px!important}.chat-stage{padding:10px;border-radius:24px}.chat-section{padding-top:55px!important}}


/* ================= v4.0 booking policy + FAQ ================= */
.booking-info{padding:78px 6vw;background:radial-gradient(circle at 15% 0%,rgba(255,55,154,.12),transparent 36%),linear-gradient(180deg,#100a17,#0b0710);position:relative;overflow:hidden}
.booking-info:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}
.policy-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1180px;margin:34px auto 0}
.policy-card{background:linear-gradient(145deg,rgba(31,21,42,.96),rgba(17,12,24,.98));border:1px solid rgba(255,104,180,.22);border-radius:24px;padding:26px;box-shadow:0 18px 45px rgba(0,0,0,.28);transition:.3s ease}
.policy-card:hover{transform:translateY(-4px);border-color:rgba(255,104,180,.48);box-shadow:0 24px 55px rgba(0,0,0,.34)}
.policy-card h3{margin:0 0 15px;color:#ff69b4;font-size:1.15rem}
.policy-card ul{margin:0;padding-inline-start:22px;display:grid;gap:10px;color:#f6eef9;line-height:1.85}
.policy-card li::marker{color:#ff4fa3}
.faq-wrap{position:relative;max-width:1180px;margin:34px auto 0;display:grid;grid-template-columns:.8fr 1.6fr;gap:28px;align-items:start}
.faq-copy span{color:#ff69b4;font-weight:800}.faq-copy h2{font-size:clamp(1.7rem,3vw,2.6rem);margin:.4rem 0;color:#fff}
.faq-list{display:grid;gap:12px}.faq-list details{background:rgba(30,20,40,.95);border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:0 20px;overflow:hidden}
.faq-list summary{cursor:pointer;list-style:none;padding:18px 34px 18px 0;font-weight:800;color:#fff;position:relative}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);color:#ff69b4;font-size:1.5rem}.faq-list details[open] summary:after{content:"−"}.faq-list p{margin:0 0 18px;color:#d9cfdf;line-height:1.8}
.reassurance-box{position:relative;max-width:920px;margin:34px auto 0;padding:24px;border-radius:22px;background:linear-gradient(135deg,rgba(255,62,159,.15),rgba(233,79,154,.10));border:1px solid rgba(255,104,180,.36);text-align:center}
.reassurance-box>p{margin:0 auto 18px;max-width:760px;color:#fff;line-height:1.85;font-weight:700}.terms-check{display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;font-weight:800;cursor:pointer}.terms-check input{width:20px;height:20px;accent-color:#ff4fa3}.reassurance-box small{display:block;margin-top:9px;color:#cbbfd1}
html[dir="ltr"] .faq-list summary{padding:18px 0 18px 34px}
@media(max-width:820px){.booking-info{padding:58px 18px}.policy-grid{grid-template-columns:1fr}.faq-wrap{grid-template-columns:1fr}.policy-card{padding:21px}.terms-check{align-items:flex-start;text-align:left}.terms-check input{flex:0 0 auto;margin-top:3px}}


/* v4.1 policy shown inside Reem chat */
.chat-policy-consent{display:grid;gap:14px;width:100%;padding:16px;border:1px solid rgba(255,104,180,.25);border-radius:18px;background:rgba(30,20,40,.88)}
.chat-policy-consent label{display:flex;align-items:flex-start;gap:10px;line-height:1.7;font-weight:800;color:#fff;cursor:pointer}
.chat-policy-consent input{width:20px;height:20px;flex:0 0 auto;margin-top:3px;accent-color:#ff4fa3}
.chat-policy-consent .primary-btn{width:100%;justify-content:center}


/* v4.2 welcoming chat and permanent composer */
.restart{display:none!important}
.persistent-composer{display:flex;gap:10px;align-items:flex-end;padding:12px 16px;border-top:1px solid rgba(128,23,78,.12);background:rgba(255,255,255,.98);position:sticky;bottom:0;z-index:4}
.persistent-composer textarea{flex:1;min-height:48px;max-height:120px;resize:vertical;border:1px solid rgba(128,23,78,.2);border-radius:16px;padding:12px 14px;font:inherit;outline:none;background:#fff;color:#2f2030;box-shadow:inset 0 1px 3px rgba(0,0,0,.04)}
.persistent-composer textarea:focus{border-color:#d94f93;box-shadow:0 0 0 3px rgba(217,79,147,.12)}
.persistent-composer button{min-height:48px;border:0;border-radius:15px;padding:0 20px;background:linear-gradient(135deg,#b32369,#8f1f58);color:#fff;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(128,23,78,.24)}
.messages:empty:before{content:'ريم بتجهز رسالتها ليكي...';display:block;text-align:center;color:#9a7f90;padding:28px}
html[dir="ltr"] .persistent-composer{direction:ltr}
@media(max-width:680px){.persistent-composer{padding:10px;gap:7px}.persistent-composer button{padding:0 14px}.persistent-composer textarea{font-size:14px}}

/* v4.5 single-input chat logic */
.persistent-composer[hidden]{display:none!important}.msg.user{width:fit-content;max-width:min(78%,720px)}


/* v4.6 — complete policy shown inside Reem chat */
.chat-policy-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 14px;width:100%}
.chat-policy-group{padding:15px 16px;border:1px solid rgba(184,72,126,.20);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(251,241,247,.96));box-shadow:0 8px 24px rgba(92,48,72,.08);text-align:start}
.chat-policy-group h4{margin:0 0 9px;color:#a33f70;font-size:1rem;font-weight:900}
.chat-policy-group ul{margin:0;padding-inline-start:20px;display:grid;gap:7px}
.chat-policy-group li{line-height:1.65;color:#4b3d46;font-size:.92rem}
.chat-policy-group li::marker{color:#cf5a91}
@media (max-width:760px){.chat-policy-groups{grid-template-columns:1fr}.chat-policy-group{padding:14px}.chat-policy-group li{font-size:.9rem}}

.whatsapp-final-notice{display:flex;flex-direction:column;gap:6px;padding:14px 16px;margin:8px 0 12px;border:1px solid rgba(255,79,163,.55);border-radius:16px;background:rgba(255,79,163,.10);line-height:1.7}.whatsapp-final-notice b{color:#ff4fa3}.whatsapp-final-btn{display:flex!important;justify-content:center;align-items:center;text-align:center;min-height:54px;font-size:1rem}


/* HerRide Core Template Final additions */
.chat-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chat-tools #progressText{margin-inline-start:auto}
.location-preview a{display:inline-block;margin-top:8px;color:#ff3d9a;font-weight:800;text-decoration:underline;word-break:break-all}
.hr-picker-overlay{position:fixed;inset:0;background:rgba(15,10,20,.54);backdrop-filter:blur(7px);z-index:99999;display:grid;place-items:center;padding:16px}
.hr-picker-card{width:min(420px,96vw);background:#fff;border:1px solid rgba(255,61,154,.22);border-radius:26px;box-shadow:0 25px 80px rgba(33,10,28,.26);padding:22px;direction:rtl}
html[dir="ltr"] .hr-picker-card{direction:ltr}
.hr-picker-card h3{margin:0 0 14px;font-size:1.18rem;color:#241622}
.hr-picker-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin:14px 0}
.hr-picker-row.two{grid-template-columns:1fr 1fr}
.hr-picker-card select,.hr-picker-card input{width:100%;min-height:50px;border:1px solid #ead7e2;border-radius:14px;padding:10px;background:#fff;font:inherit;color:#241622}
.hr-picker-actions{display:flex;gap:10px;margin-top:16px}
.hr-picker-actions button{flex:1;min-height:48px;border-radius:14px;border:0;font-weight:800;cursor:pointer}
.hr-picker-confirm{background:linear-gradient(135deg,#ff2f92,#ff5bb0);color:#fff}
.hr-picker-cancel{background:#f5eef3;color:#4a3342}
.whatsapp-confirm-box{margin-top:12px;padding:15px;border-radius:18px;background:#fff7fb;border:1px solid #f3bfd9;display:grid;gap:10px}
.whatsapp-confirm-box .confirm-actions{display:flex;gap:8px;flex-wrap:wrap}
.whatsapp-confirm-box button{flex:1;min-width:145px}
.final-thanks{white-space:pre-line;padding:17px;border-radius:18px;background:linear-gradient(135deg,#fff7fb,#fff);border:1px solid #f2c4dc;line-height:1.8}


/* FINAL shared analog clock + pink calendar */
.analog-time-card{width:min(460px,96vw)!important}.analog-clock{position:relative;width:250px;height:250px;margin:12px auto 18px;border-radius:50%;background:radial-gradient(circle at 50% 45%,#fff 0 56%,#fff0f7 57% 100%);border:8px solid #ffd1e7;box-shadow:inset 0 0 0 2px #ff4b9f,0 16px 38px rgba(191,39,113,.18)}
.clock-center{position:absolute;left:50%;top:50%;width:16px;height:16px;border-radius:50%;background:#c92f7c;transform:translate(-50%,-50%);z-index:6;box-shadow:0 0 0 5px #ffd2e6}.clock-hand{position:absolute;left:50%;bottom:50%;transform-origin:50% 100%;border-radius:999px;z-index:4;transition:transform .2s ease}.hour-hand{width:7px;height:66px;background:#5f2946}.minute-hand{width:4px;height:90px;background:#ff2f92}.clock-number{--r:101px;position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px;border:0;border-radius:50%;background:transparent;color:#4b2b3e;font-weight:900;cursor:pointer;transform:rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)))}.clock-number:hover{background:#ffd8eb;color:#b7246b}.clock-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.clock-controls label{display:grid;gap:6px;text-align:center;font-weight:800}.clock-controls input{min-height:48px;text-align:center}.period-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.period-toggle button{min-height:44px;border:1px solid #f1bfd7;border-radius:14px;background:#fff4f9;color:#7f365d;font-weight:900;cursor:pointer}.period-toggle button.active{background:linear-gradient(135deg,#ff2f92,#c92f7c);color:#fff;border-color:transparent}.calendar-card{width:min(470px,96vw)!important}.calendar-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px}.calendar-head h3{text-align:center;margin:0}.calendar-head button{border:0;border-radius:12px;min-height:42px;background:#f7eaf2;font-size:1.5rem;cursor:pointer}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar-week{margin:16px 0 8px;color:#806b79;font-size:.78rem;text-align:center}.calendar-grid button{aspect-ratio:1;border:0;border-radius:12px;background:#fff3f9;color:#30222c;font-weight:800;cursor:pointer}.calendar-grid button:hover{background:#ffd8eb}.calendar-grid button.selected{background:linear-gradient(135deg,#ff2f92,#c92f7c);color:#fff}.calendar-grid button:disabled{opacity:.25;cursor:not-allowed}.date-preview,.time-preview{margin-top:14px;padding:12px;border-radius:14px;background:#fff3f9;text-align:center;font-weight:900;color:#c42e79}
@media(max-width:520px){.analog-clock{width:220px;height:220px}.clock-number{--r:88px}.hour-hand{height:58px}.minute-hand{height:80px}}

/* FINAL shared refinements */
.back-step-btn{margin-inline-end:auto!important;border:1px solid rgba(255,55,170,.45)!important;background:rgba(255,255,255,.92)!important;color:#9b1768!important;font-weight:800!important}
.back-step-btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(255,47,166,.2)}
.vehicle-pill{display:inline-flex!important;width:max-content!important;min-width:0!important;padding:6px 13px!important;border-radius:999px!important;background:linear-gradient(135deg,#ff2aa6,#ff63c4)!important;color:#fff!important;box-shadow:0 6px 18px rgba(255,42,166,.35)!important;font-size:.83rem!important;line-height:1!important}
.vehicle-card img{width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important;border-radius:20px!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* FINAL RC3 unified assistant stage + classic gray analog clock */
.reem-stage{height:550px!important;min-height:550px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:linear-gradient(160deg,#eee9ed,#d9d4d8)!important}
.reem-stage img,.reem-stage #nourAvatar{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center 28%!important;padding:0!important}
.analog-clock{background:radial-gradient(circle at 50% 45%,#fbfbfb 0 58%,#e8e8e8 59% 100%)!important;border:7px solid #b9b9b9!important;box-shadow:inset 0 0 0 2px #777,0 16px 38px rgba(35,35,35,.18)!important}
.clock-center{background:#e34b91!important;box-shadow:0 0 0 5px #f3bfd6!important}
.hour-hand{background:#4d4d4d!important}.minute-hand{background:#e34b91!important}.clock-number{color:#363636!important}.clock-number:hover{background:#dedede!important;color:#b51e66!important}
@media(max-width:900px){.reem-stage{height:420px!important;min-height:420px!important}.reem-stage img,.reem-stage #nourAvatar{height:420px!important;object-position:center 25%!important}}
@media(max-width:560px){.reem-stage{height:340px!important;min-height:340px!important}.reem-stage img,.reem-stage #nourAvatar{height:340px!important;object-position:center 23%!important}}


/* ===== FINAL MOBILE MATERIAL CLOCK — HerRide Pink ===== */
.material-time-overlay{padding:14px!important;align-items:center!important;justify-content:center!important;background:rgba(14,8,15,.62)!important;backdrop-filter:blur(8px)}
.material-time-card{width:min(410px,94vw)!important;max-height:94dvh!important;overflow:auto!important;padding:0!important;border-radius:28px!important;background:#211b21!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 28px 80px rgba(42,8,27,.42)!important;direction:rtl}
.mtp-top{padding:20px 22px 16px!important;background:linear-gradient(145deg,#4a2238,#351c2a)!important;border-radius:28px 28px 0 0!important}
.mtp-title{text-align:right;font-weight:900;font-size:1.05rem;color:#fff;margin-bottom:10px}
.mtp-display{display:flex;align-items:center;justify-content:center;gap:4px;font-family:Poppins,Cairo,sans-serif}
.mtp-display>span{font-size:3.15rem;line-height:1;font-weight:600;color:#fff}
.mtp-value{border:0;background:transparent;color:#fff;font-size:3.3rem;line-height:1;font-weight:600;padding:2px 4px;border-radius:12px;cursor:pointer;min-width:72px}
.mtp-value.active{color:#ff54a8;text-shadow:0 0 22px rgba(255,47,146,.28)}
.mtp-period{display:grid;gap:2px;margin-inline-start:8px;direction:ltr}
.mtp-period button{border:0;background:transparent;color:#cdbfc8;font-weight:900;font-size:.9rem;padding:2px 5px;border-radius:7px;cursor:pointer;white-space:nowrap}
.mtp-period button.active{color:#ff54a8;background:rgba(255,47,146,.12)}
.mtp-body{padding:18px 18px 12px!important;background:#211b21!important}
.mtp-dial{position:relative;width:min(300px,76vw);height:min(300px,76vw);max-width:300px;max-height:300px;margin:2px auto 10px;border-radius:50%;background:#3a2b33;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.mtp-center{position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:50%;background:#ff3b96;transform:translate(-50%,-50%);z-index:6;box-shadow:0 0 0 3px rgba(255,59,150,.16)}
.mtp-hand{position:absolute;left:50%;top:50%;width:2px;height:38%;transform-origin:50% 0;z-index:4;pointer-events:none;transition:transform .06s linear}
.mtp-hand::before{content:"";position:absolute;left:50%;top:0;width:3px;height:100%;background:#ff3b96;transform:translateX(-50%);border-radius:4px;box-shadow:0 0 12px rgba(255,59,150,.18)}
.mtp-hand span{position:absolute;left:50%;bottom:-17px;width:34px;height:34px;border-radius:50%;background:#ff3b96;transform:translateX(-50%);box-shadow:0 5px 16px rgba(255,59,150,.3)}
.mtp-numbers{position:absolute;inset:0;z-index:5;pointer-events:none}
.mtp-number{--r:min(123px,31vw);position:absolute;left:50%;top:50%;width:42px;height:42px;margin:-21px;border:0;border-radius:50%;background:transparent;color:#fff;font-family:Poppins,Cairo,sans-serif;font-size:1.02rem;font-weight:600;transform:rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));pointer-events:auto;cursor:pointer}
.mtp-number.selected{background:#ff3b96;color:#fff;box-shadow:0 4px 16px rgba(255,59,150,.35)}
.mtp-help{text-align:center;color:#cdbfc8;font-size:.78rem;line-height:1.55;margin:4px 8px 10px}
.mtp-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;direction:ltr;border-top:1px solid rgba(255,255,255,.07);padding-top:8px}
.mtp-actions button{min-height:44px;border:0;background:transparent;color:#ff70b5;font-weight:900;font-size:.95rem;border-radius:12px;cursor:pointer}
.mtp-actions button:hover,.mtp-actions button:focus-visible{background:rgba(255,59,150,.1);outline:none}
.mtp-confirm{color:#fff!important;background:linear-gradient(135deg,#ff2f92,#c92f7c)!important}
@media(max-width:520px){
 .material-time-overlay{padding:8px!important;align-items:center!important}
 .material-time-card{width:min(390px,96vw)!important;border-radius:24px!important}
 .mtp-top{padding:16px 16px 12px!important}
 .mtp-title{font-size:.98rem;margin-bottom:6px}
 .mtp-value{font-size:2.75rem;min-width:60px}
 .mtp-display>span{font-size:2.65rem}
 .mtp-body{padding:14px 12px 10px!important}
 .mtp-dial{width:min(286px,78vw);height:min(286px,78vw)}
 .mtp-number{--r:min(116px,31.5vw);width:40px;height:40px;margin:-20px;font-size:.98rem}
 .mtp-actions button{min-height:46px;font-size:.9rem}
}
@media(max-width:370px){.mtp-dial{width:260px;height:260px}.mtp-number{--r:105px}.mtp-value{font-size:2.45rem;min-width:54px}.mtp-display>span{font-size:2.35rem}}


/* ===== RC4 FINAL CLOCK FIX — geometry + touch + HerRide identity ===== */
.material-time-card{background:#171117!important;border:1px solid rgba(255,69,159,.22)!important;box-shadow:0 28px 80px rgba(36,5,24,.55)!important}
.mtp-top{background:linear-gradient(145deg,#681640 0%,#4d1d36 52%,#2d1723 100%)!important}
.mtp-title{text-align:center!important;font-size:1.12rem!important;letter-spacing:0!important}
.mtp-body{background:#171117!important}
.mtp-mode-label{text-align:center;color:#f8d7e8;font-weight:900;font-size:.94rem;margin:0 0 10px}
.mtp-display{gap:2px!important}
.mtp-value{font-weight:700!important;min-width:66px!important}
.mtp-value.active{color:#ff4fa3!important;text-shadow:0 0 18px rgba(255,79,163,.35)!important}
.mtp-period{margin-inline-start:10px!important;gap:5px!important}
.mtp-period button{min-width:62px;padding:7px 9px!important;color:#f6d8e7!important;background:rgba(255,255,255,.055)!important}
.mtp-period button.active{color:#fff!important;background:linear-gradient(135deg,#ff4fa3,#c72c78)!important;box-shadow:0 6px 18px rgba(255,79,163,.24)!important}
.mtp-dial{width:min(318px,80vw)!important;height:min(318px,80vw)!important;max-width:318px!important;max-height:318px!important;background:radial-gradient(circle at 50% 46%,#3d2d36 0%,#30212a 68%,#281a22 100%)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 10px 30px rgba(0,0,0,.18)!important;cursor:grab!important}
.mtp-dial:active{cursor:grabbing!important}
.mtp-center{width:12px!important;height:12px!important;background:#ff4fa3!important;box-shadow:0 0 0 4px rgba(255,79,163,.18),0 0 12px rgba(255,79,163,.35)!important}
/* Hand starts at the center and points UP at 0°. This fixes hour/minute geometry. */
.mtp-hand{left:50%!important;top:auto!important;bottom:50%!important;width:4px!important;height:38%!important;transform-origin:50% 100%!important;transition:transform .045s linear!important}
.mtp-hand::before{left:50%!important;top:0!important;width:4px!important;height:100%!important;background:#ff4fa3!important;box-shadow:0 0 10px rgba(255,79,163,.28)!important}
.mtp-hand span{left:50%!important;top:-17px!important;bottom:auto!important;width:34px!important;height:34px!important;background:#ff4fa3!important;box-shadow:0 5px 18px rgba(255,79,163,.38),0 0 0 5px rgba(255,79,163,.10)!important}
.mtp-number{--r:min(132px,33.2vw)!important;width:46px!important;height:46px!important;margin:-23px!important;font-size:1.04rem!important;font-weight:800!important;color:#fff!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.mtp-number.selected{background:#ff4fa3!important;box-shadow:0 5px 18px rgba(255,79,163,.42)!important}
.mtp-help{font-size:.82rem!important;color:#d8c2ce!important;margin-top:8px!important}
.mtp-actions{gap:8px!important;padding-top:10px!important}
.mtp-actions button{min-height:48px!important;font-size:.96rem!important;-webkit-tap-highlight-color:transparent}
.mtp-confirm{background:linear-gradient(135deg,#ff4fa3,#c72c78)!important;box-shadow:0 8px 20px rgba(255,79,163,.20)!important}
@media(max-width:520px){
 .material-time-card{width:min(398px,97vw)!important;max-height:96dvh!important}
 .mtp-top{padding:15px 14px 12px!important}
 .mtp-title{font-size:1.02rem!important}
 .mtp-value{font-size:2.9rem!important;min-width:58px!important}
 .mtp-display>span{font-size:2.75rem!important}
 .mtp-period button{min-width:58px!important;padding:6px 7px!important;font-size:.86rem!important}
 .mtp-body{padding:13px 10px 10px!important}
 .mtp-mode-label{margin-bottom:7px!important;font-size:.9rem!important}
 .mtp-dial{width:min(310px,84vw)!important;height:min(310px,84vw)!important}
 .mtp-number{--r:min(129px,35vw)!important;width:46px!important;height:46px!important;margin:-23px!important;font-size:1rem!important}
 .mtp-help{font-size:.78rem!important;margin:6px 4px 8px!important}
 .mtp-actions button{min-height:48px!important}
}
@media(max-width:370px){
 .mtp-dial{width:282px!important;height:282px!important}
 .mtp-number{--r:117px!important;width:44px!important;height:44px!important;margin:-22px!important}
 .mtp-value{font-size:2.55rem!important;min-width:52px!important}
 .mtp-display>span{font-size:2.45rem!important}
}

/* ===== HerRide FINAL Clock Geometry Fix (SVG hand, mobile first) ===== */
.material-time-card{background:#171117!important;border:1px solid rgba(255,79,163,.24)!important;box-shadow:0 28px 80px rgba(36,5,24,.58)!important}
.mtp-dial{position:relative!important;isolation:isolate!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important}
.mtp-hand{display:none!important}
.mtp-center{display:none!important}
.mtp-hand-svg{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;overflow:visible}
.mtp-hand-line{stroke:#ff4fa3;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 5px rgba(255,79,163,.45))}
.mtp-hand-tip{fill:#ff4fa3;filter:drop-shadow(0 4px 7px rgba(255,79,163,.42))}
.mtp-hand-center{fill:#ff4fa3;stroke:rgba(255,255,255,.28);stroke-width:2}
.mtp-numbers{z-index:5!important}
.mtp-number{color:#fff!important;font-weight:800!important;-webkit-tap-highlight-color:transparent!important}
.mtp-number.selected{background:#ff4fa3!important;color:#fff!important;box-shadow:0 5px 18px rgba(255,79,163,.42)!important}
.mtp-value.active,.mtp-period button.active,.mtp-confirm{background:#ff4fa3!important;color:#fff!important}
@media(max-width:520px){
  .material-time-overlay{padding:8px!important}
  .material-time-card{width:min(398px,97vw)!important;max-height:96dvh!important}
  .mtp-dial{width:min(318px,86vw)!important;height:min(318px,86vw)!important;margin-inline:auto!important}
  .mtp-number{--r:min(129px,35vw)!important;width:46px!important;height:46px!important;margin:-23px!important;font-size:1rem!important}
  .mtp-help{font-size:.92rem!important;line-height:1.5!important;padding-inline:10px!important}
}
@media(max-width:370px){
  .mtp-dial{width:276px!important;height:276px!important}
  .mtp-number{--r:112px!important;width:44px!important;height:44px!important;margin:-22px!important}
}


/* ===== HerRide FINAL DUAL-HAND CLOCK v5 ===== */
.hr2-card{width:min(430px,96vw)!important;max-height:96vh!important;overflow:auto!important;background:#171117!important;border-radius:28px!important;box-shadow:0 24px 70px rgba(30,7,22,.42)!important}
.hr2-top{padding:18px 18px 15px;background:linear-gradient(145deg,#5b2345 0%,#421b35 48%,#25151f 100%);border-radius:28px 28px 0 0}
.hr2-title{text-align:center;color:#fff;font-weight:900;font-size:1.08rem;margin-bottom:10px}
.hr2-display{display:flex;align-items:center;justify-content:center;gap:3px;font-family:Poppins,Cairo,sans-serif}
.hr2-time-part{border:0;background:transparent;color:#fff;font-size:3.05rem;line-height:1;font-weight:750;min-width:62px;padding:4px 6px;border-radius:12px;cursor:pointer}
.hr2-time-part.active{color:#ff58aa;background:rgba(255,88,170,.08);text-shadow:0 0 18px rgba(255,88,170,.35)}
.hr2-colon{font-size:2.7rem;color:#fff;font-weight:600;line-height:1}
.hr2-period{display:grid;gap:4px;margin-inline-start:9px;direction:ltr}.hr2-period button{border:0;border-radius:8px;padding:6px 8px;min-width:60px;background:rgba(255,255,255,.055);color:#f3dce8;font-weight:900;cursor:pointer}.hr2-period button.active{background:linear-gradient(135deg,#ff4fa3,#c72c78);color:#fff;box-shadow:0 6px 18px rgba(255,79,163,.24)}
.hr2-body{padding:14px 12px 12px;background:#171117}.hr2-mode-label{text-align:center;color:#ffe5f2;font-weight:900;font-size:.94rem;margin:0 0 8px}
.hr2-dial{position:relative;width:min(330px,84vw);height:min(330px,84vw);max-width:330px;max-height:330px;margin:0 auto 8px;border-radius:50%;background:radial-gradient(circle at 50% 46%,#43333f 0%,#34262f 66%,#281c24 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 12px 34px rgba(0,0,0,.2);touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;overflow:visible}.hr2-dial:active{cursor:grabbing}
.hr2-svg{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible}.hr2-guide{fill:none;stroke:rgba(255,255,255,.055);stroke-width:1}.hr2-guide-hour{stroke:rgba(255,133,191,.09)}
.hr2-hour-line{stroke:#f3a2ca;stroke-width:7;stroke-linecap:round;opacity:.88;filter:drop-shadow(0 0 4px rgba(243,162,202,.22))}.hr2-hour-tip{fill:#f3a2ca;stroke:#fff3f8;stroke-width:2;opacity:.95}.hr2-minute-line{stroke:#ff3f99;stroke-width:4;stroke-linecap:round;opacity:.92;filter:drop-shadow(0 0 6px rgba(255,63,153,.32))}.hr2-minute-tip{fill:#ff3f99;stroke:#ffd2e7;stroke-width:2}.hr2-center{fill:#ff4fa3;stroke:#fff;stroke-opacity:.45;stroke-width:2;filter:drop-shadow(0 0 7px rgba(255,79,163,.45))}.hr2-hour-line.active,.hr2-minute-line.active{opacity:1;filter:drop-shadow(0 0 8px rgba(255,79,163,.58))}.hr2-hour-tip.active,.hr2-minute-tip.active{filter:drop-shadow(0 0 9px rgba(255,79,163,.7))}
.hr2-hour-labels,.hr2-minute-labels{position:absolute;inset:0;z-index:5;pointer-events:none}.hr2-label{position:absolute;transform:translate(-50%,-50%);border:0;border-radius:50%;background:transparent;color:#fff;text-align:center;font-family:Poppins,Cairo,sans-serif;font-weight:850;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent}.hr2-hour-label{width:35px;height:35px;font-size:.92rem;color:#f9ecf3}.hr2-minute-label{width:40px;height:40px;font-size:.83rem;color:#d9c8d2}.hr2-hour-label.selected{background:#ef9bc5;color:#27131f;box-shadow:0 0 0 4px rgba(239,155,197,.10)}.hr2-minute-label.selected{background:#ff4fa3;color:#fff;box-shadow:0 5px 18px rgba(255,79,163,.35)}
.hr2-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;color:#d9c6d1;font-size:.75rem;margin:5px 0 2px}.hr2-legend span{display:flex;align-items:center;gap:5px}.hr2-dot{width:12px;height:4px;border-radius:4px;display:inline-block}.hr2-dot.hour{background:#f3a2ca;height:6px}.hr2-dot.minute{background:#ff3f99}
.hr2-help{text-align:center;color:#cdbbc5;font-size:.78rem;line-height:1.45;margin:5px 6px 9px}.hr2-actions{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:7px;border-top:1px solid rgba(255,255,255,.07);padding-top:9px;direction:ltr}.hr2-actions button{min-height:46px;border:0;border-radius:12px;background:transparent;color:#ff76b9;font-weight:900;font-size:.92rem;cursor:pointer}.hr2-actions button:hover,.hr2-actions button:focus-visible{background:rgba(255,79,163,.1);outline:none}.hr2-confirm{background:linear-gradient(135deg,#ff4fa3,#c72c78)!important;color:#fff!important;box-shadow:0 7px 18px rgba(255,79,163,.2)}
@media(max-width:520px){.hr2-card{width:min(410px,97vw)!important;border-radius:24px!important}.hr2-top{padding:14px 12px 12px}.hr2-title{font-size:1rem;margin-bottom:6px}.hr2-time-part{font-size:2.72rem;min-width:54px}.hr2-colon{font-size:2.4rem}.hr2-period button{min-width:56px;padding:6px 7px;font-size:.84rem}.hr2-body{padding:11px 8px 10px}.hr2-dial{width:min(320px,88vw);height:min(320px,88vw)}.hr2-hour-label{width:33px;height:33px;font-size:.88rem}.hr2-minute-label{width:38px;height:38px;font-size:.80rem}.hr2-help{font-size:.76rem}.hr2-actions button{min-height:48px}}
@media(max-width:370px){.hr2-dial{width:286px;height:286px}.hr2-time-part{font-size:2.4rem;min-width:48px}.hr2-colon{font-size:2.2rem}.hr2-period button{min-width:52px;font-size:.8rem}.hr2-legend{font-size:.68rem;gap:8px}}

/* ===== HerRide Single-Dial Dual-Hand Clock v6 ===== */
.hr3-card{width:min(430px,96vw)!important;background:#17121b!important;border:1px solid rgba(255,93,165,.28)!important;box-shadow:0 22px 58px rgba(43,9,30,.38)!important;overflow:hidden!important}
.hr3-top{background:linear-gradient(145deg,#572042 0%,#8d285f 52%,#b42d72 100%)!important;padding:18px 18px 16px!important}
.hr3-body{background:linear-gradient(180deg,#18151d 0%,#121016 100%)!important;padding:15px 14px 12px!important}
.hr3-mode-label{text-align:center;color:#fff!important;font-weight:900!important;font-size:.95rem!important;min-height:26px;margin-bottom:8px}
.hr3-dial{position:relative;width:min(326px,86vw)!important;height:min(326px,86vw)!important;margin:0 auto 12px!important;border-radius:50%;background:radial-gradient(circle at 50% 42%,#3a3340 0%,#29232d 64%,#211b24 100%)!important;border:1px solid rgba(255,110,174,.34)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 12px 32px rgba(0,0,0,.28)!important;touch-action:none;user-select:none;-webkit-user-select:none}
.hr3-svg{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.hr3-face{fill:transparent;stroke:none}.hr3-tick{stroke:rgba(255,255,255,.28);stroke-width:1.5;stroke-linecap:round}.hr3-tick.major{stroke:#f0bfd7;stroke-width:2.8}
.hr3-hour-line{stroke:#f4c0d8!important;stroke-width:8!important;stroke-linecap:round;opacity:.95!important;filter:drop-shadow(0 0 4px rgba(244,192,216,.25))}.hr3-minute-line{stroke:#ff4fa3!important;stroke-width:4.5!important;stroke-linecap:round;opacity:.98!important;filter:drop-shadow(0 0 7px rgba(255,79,163,.38))}.hr3-hour-tip{fill:#f4c0d8!important;stroke:#fff!important;stroke-width:2!important}.hr3-minute-tip{fill:#ff4fa3!important;stroke:#ffd4e8!important;stroke-width:2!important}.hr3-center{fill:#ff4fa3!important;stroke:#fff!important;stroke-opacity:.65!important;stroke-width:2!important}
.hr3-hour-line.active,.hr3-minute-line.active{filter:drop-shadow(0 0 10px rgba(255,79,163,.75))!important}.hr3-hour-tip.active,.hr3-minute-tip.active{filter:drop-shadow(0 0 9px rgba(255,79,163,.75))!important}
.hr3-hour-labels{position:absolute;inset:0;z-index:5;pointer-events:none}.hr3-hour-label{width:38px!important;height:38px!important;font-size:1rem!important;color:#fff!important;background:rgba(20,16,22,.18)!important;pointer-events:auto!important}.hr3-hour-label.selected{background:#f5d5e4!important;color:#57203d!important;box-shadow:0 0 0 3px rgba(255,79,163,.25),0 4px 14px rgba(0,0,0,.22)!important}
.hr3-help{margin:2px auto 9px;max-width:355px;text-align:center;color:#e8dce3;font-size:.78rem;line-height:1.65}.hr3-help b{display:inline-block;color:#fff;font-size:.82rem;margin-bottom:1px}.hr3-actions{margin-top:6px!important}
.hr3-top .hr2-display{justify-content:center!important}.hr3-top .hr2-time-part{color:#fff!important}.hr3-top .hr2-time-part.active{color:#ff72b7!important;background:rgba(255,255,255,.08)!important}.hr3-top .hr2-period button{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.08)!important}.hr3-top .hr2-period button.active{background:#ff4fa3!important;color:#fff!important;box-shadow:0 4px 16px rgba(255,79,163,.35)!important}
@media(max-width:520px){.hr3-card{width:min(390px,97vw)!important;border-radius:24px!important}.hr3-top{padding:14px 12px 12px!important}.hr3-body{padding:11px 8px 10px!important}.hr3-dial{width:min(308px,86vw)!important;height:min(308px,86vw)!important}.hr3-hour-label{width:36px!important;height:36px!important;font-size:.94rem!important}.hr3-help{font-size:.74rem;padding:0 7px}.hr3-help b{font-size:.78rem}}


/* ===== HerRide Clock v7 — final visual polish only (no flow changes) ===== */
.hr3-mode-label{font-size:1rem!important;min-height:24px!important;margin-bottom:7px!important;letter-spacing:0!important}
.hr3-hour-label{width:42px!important;height:42px!important;font-size:1.08rem!important;font-weight:900!important;background:rgba(20,16,22,.15)!important}
.hr3-help{font-size:.80rem!important;line-height:1.55!important;margin:3px auto 8px!important}
.hr3-help b{font-size:.84rem!important}
@media(max-width:520px){
 .hr3-hour-label{width:40px!important;height:40px!important;font-size:1.02rem!important}
 .hr3-help{font-size:.76rem!important;line-height:1.5!important;padding-inline:8px!important}
 .hr3-help b{font-size:.80rem!important}
}
@media(max-width:370px){.hr3-hour-label{width:38px!important;height:38px!important;font-size:.98rem!important}}


/* ===== HerRide Academy v8.4 — unified Nour location + payment confirmation ===== */
.map-search-suggestions{display:grid;gap:7px;margin:8px 0 6px;max-height:265px;overflow:auto}
.map-search-suggestions[hidden]{display:none!important}
.map-suggestion-item{width:100%;border:1px solid rgba(217,79,147,.18);background:#fff;border-radius:14px;padding:10px 12px;text-align:right;display:grid;gap:3px;cursor:pointer;color:#342431}
.map-suggestion-item:hover,.map-suggestion-item:focus{border-color:#d94f93;background:#fff7fb}
.map-suggestion-item b{font-size:.93rem}.map-suggestion-item span{font-size:.78rem;color:#806b79;line-height:1.45}
.map-smart-status{margin:8px 0 10px;padding:9px 11px;border-radius:12px;background:#fff3f9;color:#7d365d;font-size:.82rem;line-height:1.55}
.academy-payment-final{display:grid;gap:8px;padding:18px;border:1px solid rgba(217,79,147,.2);border-radius:20px;background:linear-gradient(180deg,#fff,#fff8fc);text-align:center;margin-bottom:12px}
.academy-payment-final>span{color:#806b79;font-size:.86rem}
.academy-payment-final>strong{font-size:2rem;color:#c92f7c}
.academy-payment-final>small{font-size:.9rem;color:#4e3b48}
.academy-instapay-note{margin-top:6px;padding:11px;border-radius:14px;background:#fff0f7;color:#6b3554;line-height:1.65;font-size:.86rem}
@media(max-width:520px){.map-suggestion-item{padding:9px 10px}.academy-payment-final>strong{font-size:1.75rem}}

/* v8.5 final WhatsApp handoff feedback */
.request-id-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 8px;padding:11px 13px;border-radius:14px;background:#fff9fc;border:1px solid rgba(199,44,120,.16)}
.copy-request-btn{border:1px solid rgba(199,44,120,.24);background:#fff;color:#b12569;border-radius:12px;padding:8px 11px;font-weight:800;cursor:pointer}
.whatsapp-final-btn.is-opened{opacity:.72;pointer-events:none}
.whatsapp-opened-card{margin-top:12px;padding:14px 16px;border-radius:16px;background:#f3fff7;border:1px solid #a9ddba;color:#285c39;display:grid;gap:7px;line-height:1.7}
.whatsapp-opened-card[hidden]{display:none!important}
@media(max-width:520px){.request-id-row{align-items:stretch}.copy-request-btn{width:100%}}

/* Google Maps location picker v1.1 */
#mapModal #hrGoogleAutocomplete{width:100%;min-width:0;display:block}
#mapModal .map-search{align-items:stretch}
#mapModal #mapSearchBtn,#mapModal #currentLocationBtn{white-space:nowrap;cursor:pointer}
#mapModal #confirmLocationBtn:not(:disabled){cursor:pointer;opacity:1;pointer-events:auto}
@media(max-width:680px){#mapModal #hrGoogleAutocomplete{grid-column:1/-1}}

/* Academy FINAL mobile fixes — visible consent + clear last step */
.academy-consent-label{
  position:relative;display:grid!important;grid-template-columns:30px 1fr;align-items:start!important;
  gap:12px!important;padding:14px 15px!important;border-radius:16px!important;
  background:#fff7fb!important;border:1px solid #efbfd7!important;color:#432f3b!important
}
.academy-consent-label input{
  position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important
}
.academy-check-visual{
  width:28px;height:28px;border-radius:8px;border:2px solid #d94f93;background:#fff;color:transparent;
  display:grid;place-items:center;font-size:20px;font-weight:1000;line-height:1;
  box-shadow:0 3px 10px rgba(180,45,111,.12)
}
.academy-consent-label input:checked + .academy-check-visual{
  background:linear-gradient(135deg,#ff3f9e,#c72f78)!important;color:#fff!important;border-color:#c72f78!important;
  box-shadow:0 7px 18px rgba(199,47,120,.30)
}
.academy-consent-label input:focus-visible + .academy-check-visual{outline:3px solid rgba(255,63,158,.25);outline-offset:2px}
.academy-policy-submit:disabled{opacity:.42!important;filter:saturate(.55)!important;cursor:not-allowed!important;box-shadow:none!important}
.academy-policy-submit:not(:disabled){opacity:1!important;box-shadow:0 12px 28px rgba(199,47,120,.30)!important}
.academy-final-send-btn{
  width:100%!important;min-height:66px!important;padding:16px 20px!important;border-radius:18px!important;
  font-size:1.08rem!important;font-weight:1000!important;
  background:linear-gradient(135deg,#ff3f9e,#c72f78)!important;color:#fff!important;
  box-shadow:0 15px 34px rgba(199,47,120,.34)!important
}
.whatsapp-final-btn{
  width:100%!important;min-height:64px!important;padding:15px 18px!important;border-radius:18px!important;
  font-size:1.04rem!important;font-weight:1000!important;box-shadow:0 14px 30px rgba(199,47,120,.28)!important
}
@media(max-width:680px){
  .academy-check-visual{width:30px;height:30px;font-size:22px}
  .academy-final-send-btn,.whatsapp-final-btn{min-height:68px!important;font-size:1.05rem!important}
}


/* ACADEMY LOCK: EXACT ORDERS CALENDAR VISUAL */
/* Calendar: same visual family as the dark analog clock */
.academy-page .hr-picker-overlay{
  background:rgba(18,8,14,.78)!important;
  backdrop-filter:blur(9px)!important;
}
.academy-page .hr-picker-card.calendar-card{
  width:min(430px,96vw)!important;
  background:linear-gradient(180deg,#19131b 0%,#100d12 100%)!important;
  border:1px solid rgba(255,93,165,.30)!important;
  border-radius:27px!important;
  padding:17px!important;
  box-shadow:0 26px 70px rgba(0,0,0,.42)!important;
  color:#fff!important;
}
.academy-page .calendar-head h3{
  color:#fff!important;
  font-size:1.18rem!important;
  font-weight:950!important;
}
.academy-page .calendar-head button{
  background:#3d2634!important;
  color:#fff!important;
  border:1px solid rgba(255,113,180,.25)!important;
  box-shadow:none!important;
}
.academy-page .calendar-week{
  background:#2b2028!important;
  color:#f6dce9!important;
  padding:10px 5px!important;
  font-weight:900!important;
}
.academy-page .calendar-week span{font-size:.86rem!important}
.academy-page .calendar-grid{gap:7px!important}
.academy-page .calendar-grid button{
  min-width:0!important;
  aspect-ratio:1!important;
  border-radius:13px!important;
  border:1px solid rgba(255,255,255,.055)!important;
  background:#29232d!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:950!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
.academy-page .calendar-grid button:hover:not(:disabled){
  background:#4b2e3e!important;
  border-color:rgba(255,113,180,.30)!important;
}
.academy-page .calendar-grid button.selected{
  background:linear-gradient(135deg,#ff4fa3,#c72c78)!important;
  color:#fff!important;
  border-color:#ffd5e8!important;
  box-shadow:0 0 0 3px rgba(255,79,163,.20),0 10px 25px rgba(199,44,120,.38)!important;
  transform:scale(1.08)!important;
  font-size:1.12rem!important;
}
.academy-page .calendar-grid button:disabled{
  background:#1d181f!important;
  color:#756671!important;
  opacity:.48!important;
}
.academy-page .date-preview{
  background:#2b2028!important;
  color:#fff!important;
  border:1px solid rgba(255,113,180,.18)!important;
  font-weight:900!important;
}
.academy-page .hr-picker-actions .hr-picker-cancel{
  background:#2b2028!important;color:#f5dce8!important;border-color:#47313d!important;
}
.academy-page .hr-picker-actions .hr-picker-confirm:not(:disabled){
  background:linear-gradient(135deg,#b72d70,#ef4f99)!important;color:#fff!important;
  box-shadow:0 10px 22px rgba(199,44,120,.32)!important;
}

/* Keep clock comfortably large on small phones */
@media(max-width:520px){
  .academy-page .hr3-card{width:min(396px,98vw)!important}
  .academy-page .hr3-dial{width:min(318px,88vw)!important;height:min(318px,88vw)!important}
  .academy-page .hr3-hour-label{width:42px!important;height:42px!important;font-size:1.05rem!important}
  .academy-page .hr-picker-card.calendar-card{width:min(394px,97vw)!important;padding:13px!important}
  .academy-page .calendar-grid button{font-size:1.02rem!important}
}
@media(max-width:370px){
  .academy-page .hr3-dial{width:286px!important;height:286px!important}
  .academy-page .calendar-grid{gap:5px!important}
  .academy-page .calendar-grid button{font-size:.95rem!important;border-radius:11px!important}
}



/* ACADEMY LOCK: unmistakable final WhatsApp handoff */
.academy-page .whatsapp-final-btn{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:none!important;min-height:76px!important;
  margin:16px 0 6px!important;padding:18px 20px!important;border-radius:19px!important;
  background:linear-gradient(135deg,#b72d70,#ef4f99)!important;color:#fff!important;
  font-size:1.08rem!important;font-weight:1000!important;line-height:1.5!important;text-align:center!important;
  box-shadow:0 16px 34px rgba(199,44,120,.36),0 0 24px rgba(239,79,153,.18)!important;
  border:1px solid rgba(255,255,255,.32)!important
}
.academy-page .whatsapp-final-btn::before{
  content:"الخطوة الأخيرة  •  "!important;font-weight:1000!important
}
html[lang="en"] .academy-page .whatsapp-final-btn::before{content:"FINAL STEP  •  "!important}
@media(max-width:520px){
 .academy-page .whatsapp-final-btn{min-height:80px!important;font-size:1.03rem!important;padding:18px 14px!important}
}


/* HerRide MASTER PHONE DIRECTION LOCK — numbers always read left-to-right */
input[type="tel"], input[inputmode="tel"]{
  direction:ltr!important;
  unicode-bidi:plaintext!important;
  text-align:left!important;
}


/* ACADEMY MASTER: ORDERS CALENDAR LOCK */
/* Calendar: same visual family as the dark analog clock */
.academy-page .hr-picker-overlay{
  background:rgba(18,8,14,.78)!important;
  backdrop-filter:blur(9px)!important;
}
.academy-page .hr-picker-card.calendar-card{
  width:min(430px,96vw)!important;
  background:linear-gradient(180deg,#19131b 0%,#100d12 100%)!important;
  border:1px solid rgba(255,93,165,.30)!important;
  border-radius:27px!important;
  padding:17px!important;
  box-shadow:0 26px 70px rgba(0,0,0,.42)!important;
  color:#fff!important;
}
.academy-page .calendar-head h3{
  color:#fff!important;
  font-size:1.18rem!important;
  font-weight:950!important;
}
.academy-page .calendar-head button{
  background:#3d2634!important;
  color:#fff!important;
  border:1px solid rgba(255,113,180,.25)!important;
  box-shadow:none!important;
}
.academy-page .calendar-week{
  background:#2b2028!important;
  color:#f6dce9!important;
  padding:10px 5px!important;
  font-weight:900!important;
}
.academy-page .calendar-week span{font-size:.86rem!important}
.academy-page .calendar-grid{gap:7px!important}
.academy-page .calendar-grid button{
  min-width:0!important;
  aspect-ratio:1!important;
  border-radius:13px!important;
  border:1px solid rgba(255,255,255,.055)!important;
  background:#29232d!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:950!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
.academy-page .calendar-grid button:hover:not(:disabled){
  background:#4b2e3e!important;
  border-color:rgba(255,113,180,.30)!important;
}
.academy-page .calendar-grid button.selected{
  background:linear-gradient(135deg,#ff4fa3,#c72c78)!important;
  color:#fff!important;
  border-color:#ffd5e8!important;
  box-shadow:0 0 0 3px rgba(255,79,163,.20),0 10px 25px rgba(199,44,120,.38)!important;
  transform:scale(1.08)!important;
  font-size:1.12rem!important;
}
.academy-page .calendar-grid button:disabled{
  background:#1d181f!important;
  color:#756671!important;
  opacity:.48!important;
}
.academy-page .date-preview{
  background:#2b2028!important;
  color:#fff!important;
  border:1px solid rgba(255,113,180,.18)!important;
  font-weight:900!important;
}
.academy-page .hr-picker-actions .hr-picker-cancel{
  background:#2b2028!important;color:#f5dce8!important;border-color:#47313d!important;
}
.academy-page .hr-picker-actions .hr-picker-confirm:not(:disabled){
  background:linear-gradient(135deg,#b72d70,#ef4f99)!important;color:#fff!important;
  box-shadow:0 10px 22px rgba(199,44,120,.32)!important;
}

/* Keep clock comfortably large on small phones */
@media(max-width:520px){
  .academy-page .hr3-card{width:min(396px,98vw)!important}
  .academy-page .hr3-dial{width:min(318px,88vw)!important;height:min(318px,88vw)!important}
  .academy-page .hr3-hour-label{width:42px!important;height:42px!important;font-size:1.05rem!important}
  .academy-page .hr-picker-card.calendar-card{width:min(394px,97vw)!important;padding:13px!important}
  .academy-page .calendar-grid button{font-size:1.02rem!important}
}
@media(max-width:370px){
  .academy-page .hr3-dial{width:286px!important;height:286px!important}
  .academy-page .calendar-grid{gap:5px!important}
  .academy-page .calendar-grid button{font-size:.95rem!important;border-radius:11px!important}
}




/* HerRide MASTER TERMS CHECKMARK LOCK */
.hr-master-consent{
  position:relative!important;
  display:grid!important;
  grid-template-columns:32px 1fr!important;
  align-items:start!important;
  gap:12px!important;
  cursor:pointer!important;
}
.hr-master-consent > input[type="checkbox"]{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
.hr-master-check{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  border:2px solid #d94f93!important;
  background:#fff!important;
  color:transparent!important;
  font-size:21px!important;
  font-weight:1000!important;
  line-height:1!important;
  box-shadow:0 3px 10px rgba(110,53,79,.08)!important;
  transition:all .18s ease!important;
}
.hr-master-consent > input[type="checkbox"]:checked + .hr-master-check{
  background:linear-gradient(145deg,#f05aa0,#c9337d)!important;
  border-color:#c9337d!important;
  color:#fff!important;
  box-shadow:0 0 0 5px rgba(217,79,147,.16),0 8px 18px rgba(173,35,104,.25)!important;
  transform:scale(1.06)!important;
}
.hr-master-consent:has(input[type="checkbox"]:checked){
  background:linear-gradient(145deg,#fff5f9,#ffe2ed)!important;
  border-color:rgba(217,79,147,.45)!important;
}


/* HerRide MASTER FINAL HANDOFF */
.hr-final-handoff{
  width:100%!important;box-sizing:border-box!important;margin:18px 0 8px!important;padding:18px!important;
  border-radius:20px!important;background:#fff3f8!important;border:2px solid #e45a9b!important;
  box-shadow:0 14px 32px rgba(181,45,112,.18)!important;text-align:center!important
}
.hr-final-handoff-title{font-size:1.12rem!important;font-weight:1000!important;color:#a92769!important;margin-bottom:7px!important}
.hr-final-handoff-note{font-weight:800!important;line-height:1.7!important;color:#4d3743!important;margin-bottom:13px!important}
.hr-final-handoff .whatsapp-final-btn,.hr-final-handoff a,.hr-final-handoff button{
  width:100%!important;min-height:70px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:18px!important;background:linear-gradient(135deg,#b72d70,#ef4f99)!important;color:#fff!important;
  font-size:1.06rem!important;font-weight:1000!important;box-shadow:0 14px 30px rgba(199,44,120,.32)!important
}


/* HerRide MOBILE LOCATION ACTION — use full available CHAT width */
@media(max-width:720px){
  /* Explicitly tagged location/map actions */
  .hr-mobile-location-full,
  .location-map-btn,
  .open-map-btn,
  .map-open-btn,
  [data-action="open-map"],
  [data-map-action="open"]{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
    margin-left:0!important;
    margin-right:0!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    min-height:54px!important;
  }
}

/* FINAL CHARACTER ALIGN LOCK — visual only */
#chatSection .chat-stage{align-items:stretch!important}
#chatSection .reem-stage{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;align-self:stretch!important;overflow:hidden!important;background:linear-gradient(160deg,#27121f,#120b11)!important}
#chatSection .reem-stage #reemAvatar,#chatSection .reem-stage img{width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;margin:0!important;padding:0!important;display:block!important}
@media(max-width:900px){#chatSection .chat-stage{align-items:stretch!important}#chatSection .reem-stage{height:auto!important;min-height:0!important}#chatSection .reem-stage #reemAvatar,#chatSection .reem-stage img{height:100%!important;min-height:100%!important;object-fit:contain!important;object-position:center center!important}}
