/* MyRihla site — phone mockup internals (recreated app screens, app's English UI + Arabic accents). */

/* shared inner bits */
.mk-greet-ar { font-family: var(--font-arabic); font-size: 15px; color: var(--mr-gold-deep); line-height: 1; }
.mk-h { font-family: var(--font-serif); font-weight: 600; color: var(--mr-ink); }
.mk-row { display: flex; align-items: center; }
.mk-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#1d6b4e,#0c3f2e); box-shadow: 0 0 0 2.5px #fff; flex-shrink: 0; }
.mk-icon-btn { width: 36px; height: 36px; border-radius: 12px; background: #fff; border: 1px solid var(--mr-line); display: grid; place-items: center; }
.mk-icon-btn svg { width: 18px; height: 18px; }

/* ── HOME mock ── */
.scr-home { background: var(--mr-cream); height: 100%; }
.scr-home .home-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 6px 18px 0; }
.scr-home .home-head .mk-h { font-size: 24px; line-height: 1.05; margin-top: 3px; }
.hcard { margin: 16px 18px 0; height: 196px; border-radius: 24px; position: relative; overflow: hidden; box-shadow: 0 22px 38px -22px rgba(14,74,55,.55); }
.hc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease-out); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.hc-slide.on { opacity: 1; }
.hc-slide .kick { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mr-gold-soft); margin-bottom: auto; }
.hc-slide .kick .kd { width: 6px; height: 6px; border-radius: 50%; background: var(--mr-gold); }
.hc-trip { background: linear-gradient(160deg,#1B6B4F,#08301F); }
.hc-trip .ttl { font-family: var(--font-serif); font-size: 25px; font-weight: 600; color: #fff; line-height: 1.02; max-width: 70%; }
.hc-trip .loc { font-size: 11px; color: rgba(245,240,230,.82); font-weight: 600; margin-top: 5px; }
.hc-trip .days { margin-top: 12px; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 13px; font-size: 11.5px; font-weight: 700; color: #fff; }
.hc-verse { background: linear-gradient(150deg,#0C3F2E,#072A1C); align-items: center; text-align: center; justify-content: center; }
.hc-verse .va { font-family: var(--font-arabic); font-size: 22px; color: var(--mr-gold-soft); line-height: 1.6; direction: rtl; }
.hc-verse .vt { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: rgba(245,240,230,.92); margin-top: 8px; line-height: 1.3; }
.hc-verse .vr { font-size: 10.5px; font-weight: 700; color: var(--mr-gold); margin-top: 10px; letter-spacing: .4px; }
.hc-slide .arrow { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--mr-gold); display: grid; place-items: center; }
.hc-slide .arrow svg { width: 18px; height: 18px; }
.hc-dots { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 4; }
.hc-dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.4); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 18px 0; }
.quick-tile { background: #fff; border: 1px solid var(--mr-line); border-radius: 16px; padding: 12px 6px 10px; text-align: center; box-shadow: var(--shadow-card); }
.quick-tile .qi { width: 36px; height: 36px; border-radius: 11px; background: var(--mr-cream); display: grid; place-items: center; margin: 0 auto 7px; }
.quick-tile .qi svg { width: 19px; height: 19px; }
.quick-tile span { font-size: 9.5px; font-weight: 700; color: var(--mr-ink); }
.sect-mini { padding: 18px 18px 0; }
.sect-mini .mk-h { font-size: 17px; }

/* ── PLACE DETAIL mock ── */
.scr-place { height: 100%; background: var(--mr-cream); }
.scr-place .pphoto { height: 46%; position: relative; background: linear-gradient(180deg,#2A4258 0%,#5A6E72 38%,#B98A5E 78%,#8C5E3E 100%); }
.scr-place .pphoto .ptop { position: absolute; top: 44px; left: 16px; right: 16px; display: flex; justify-content: space-between; }
.scr-place .pphoto .pround { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); display: grid; place-items: center; }
.scr-place .pphoto .pround svg { width: 18px; height: 18px; }
.scr-place .psheet { position: absolute; left: 0; right: 0; bottom: 0; top: 40%; background: var(--mr-cream); border-radius: 30px 30px 0 0; padding: 16px 20px; }
.scr-place .psheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--mr-sand-deep); margin: 0 auto 12px; }
.scr-place .ploc { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--mr-emerald-600); }
.scr-place .ploc .ar { font-family: var(--font-arabic); color: var(--mr-gold-deep); font-size: 14px; margin-left: auto; }
.scr-place .ptitle { font-family: var(--font-serif); font-size: 34px; font-weight: 600; color: var(--mr-ink); line-height: 1; margin: 4px 0 14px; }
.scr-place .ptabs { display: flex; gap: 16px; border-bottom: 1px solid var(--mr-line); padding-bottom: 9px; margin-bottom: 12px; }
.scr-place .ptabs span { font-size: 12px; font-weight: 700; color: var(--mr-muted); }
.scr-place .ptabs span.on { color: var(--mr-ink); position: relative; }
.scr-place .ptabs span.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--mr-gold); }
.scr-place .pdesc { font-size: 12.5px; color: var(--mr-sub); line-height: 1.5; }
.scr-place .pstats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 14px 0; }
.scr-place .pstat { background: var(--mr-cream-warm); border: 1px solid var(--mr-line); border-radius: 14px; padding: 11px 8px; }
.scr-place .pstat b { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--mr-ink); display: block; }
.scr-place .pstat span { font-size: 9.5px; font-weight: 600; color: var(--mr-muted); }
.scr-place .pcta { background: var(--mr-emerald); color: #fff; border-radius: 999px; padding: 14px; text-align: center; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow-emerald); }
.scr-place .pcta svg { width: 16px; height: 16px; }

/* ── LEARN mock ── */
.scr-learn { height: 100%; background: var(--mr-cream); }
.scr-learn .lhead { padding: 6px 18px 0; }
.scr-learn .lhead .mk-h { font-size: 26px; }
.lprog { margin: 14px 18px 0; background: linear-gradient(150deg,#0C3F2E,#093526); border-radius: 20px; padding: 16px 18px; position: relative; overflow: hidden; }
.lprog .lp-k { font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mr-gold-soft); }
.lprog .lp-t { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: #fff; margin: 4px 0 12px; }
.lprog .lp-bar { height: 7px; border-radius: 7px; background: rgba(255,255,255,.16); overflow: hidden; }
.lprog .lp-bar i { display: block; height: 100%; width: 62%; background: var(--mr-gold); border-radius: 7px; }
.lprog .lp-pct { font-size: 10px; font-weight: 700; color: rgba(245,240,230,.8); margin-top: 7px; }
.lsec { padding: 18px 18px 0; }
.lsec .mk-h { font-size: 17px; margin-bottom: 11px; }
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ltile { background: #fff; border: 1px solid var(--mr-line); border-radius: 16px; padding: 13px 14px; box-shadow: var(--shadow-card); }
.ltile .li { width: 34px; height: 34px; border-radius: 11px; background: var(--mr-cream); display: grid; place-items: center; margin-bottom: 10px; }
.ltile .li svg { width: 18px; height: 18px; }
.ltile b { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--mr-ink); display: block; line-height: 1.1; }
.ltile span { font-size: 10px; color: var(--mr-muted); font-weight: 600; }

/* ── MYRIHLA / travel mock ── */
.scr-trip { height: 100%; background: var(--mr-cream); }
.scr-trip .thead { padding: 6px 18px 0; }
.scr-trip .thead .mk-h { font-size: 24px; }
.tcard { margin: 14px 18px 0; background: #fff; border: 1px solid var(--mr-line); border-radius: 20px; padding: 15px 16px; box-shadow: var(--shadow-card); }
.tcard .tc-k { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mr-gold-deep); margin-bottom: 12px; }
.tcard .tc-k .ar { font-family: var(--font-arabic); font-size: 14px; letter-spacing: 0; text-transform: none; }
.titin { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--mr-line); }
.titin:last-child { border-bottom: 0; padding-bottom: 0; }
.titin .ttime { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--mr-emerald); width: 46px; flex-shrink: 0; }
.titin .tbody b { font-size: 13px; font-weight: 700; color: var(--mr-ink); display: block; }
.titin .tbody span { font-size: 11px; color: var(--mr-muted); }
.titin .trsvp { margin-left: auto; align-self: center; font-size: 9.5px; font-weight: 700; color: var(--mr-emerald-600); background: rgba(21,97,74,.1); padding: 4px 9px; border-radius: 999px; }
.tchat { margin: 12px 18px 0; background: #fff; border: 1px solid var(--mr-line); border-radius: 20px; padding: 13px 15px; box-shadow: var(--shadow-card); display: flex; gap: 11px; align-items: center; }
.tchat .ca { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#16847B,#0C5E57); flex-shrink: 0; box-shadow: 0 0 0 2px #fff; }
.tchat .cb b { font-size: 12.5px; font-weight: 700; color: var(--mr-ink); }
.tchat .cb p { font-size: 11px; color: var(--mr-sub); margin: 2px 0 0; line-height: 1.3; }
.tchat .cdot { margin-left: auto; align-self: flex-start; width: 18px; height: 18px; border-radius: 50%; background: var(--mr-gold); color: var(--mr-emerald-900); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.temerg { margin: 12px 18px 0; background: rgba(176,70,60,.12); border: 1px solid rgba(176,70,60,.3); border-radius: 16px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; }
.temerg .ed { width: 9px; height: 9px; border-radius: 50%; background: var(--mr-danger); box-shadow: 0 0 0 0 rgba(176,70,60,.5); animation: epulse 2s var(--ease-out) infinite; }
@keyframes epulse { 0% { box-shadow: 0 0 0 0 rgba(176,70,60,.5); } 70% { box-shadow: 0 0 0 8px rgba(176,70,60,0); } 100% { box-shadow: 0 0 0 0 rgba(176,70,60,0); } }
.temerg b { font-size: 12px; font-weight: 700; color: var(--mr-danger); }
.temerg span { font-size: 10.5px; color: var(--mr-danger); opacity: .85; }
@media (prefers-reduced-motion: reduce) { .temerg .ed { animation: none; } }
