/* Phone-first stop-desk page. French and Arabic are shown together. */
:root {
  --desk-navy: #043c6d;
  --desk-blue: #0880e8;
  --desk-text: #1e293b;
  --desk-muted: #64748b;
  --desk-line: #e2eaf3;
  --desk-bg: #eef4fb;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body.desk-page {
  font-family: "Open Sans", sans-serif;
  color: var(--desk-text);
  background:
    radial-gradient(900px 360px at 50% -80px, #d7ebff 0%, transparent 70%),
    var(--desk-bg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.desk-ar {
  font-family: "Cairo", sans-serif;
  direction: rtl;
  text-align: right;
}

.desk-wrap {
  width: min(640px, calc(100% - 16px));
  margin: 0 auto;
  padding: 14px 0 calc(24px + env(safe-area-inset-bottom));
}

.desk-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.desk-brand img {
  height: 40px;
  width: auto;
}

.desk-sheet {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(4, 60, 109, 0.12);
  overflow: hidden;
}

.desk-head {
  padding: 18px 16px 16px;
  background: linear-gradient(145deg, #043c6d 0%, #0a5cad 58%, #0880e8 100%);
  color: #fff;
}

.desk-code {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.desk-head h1 {
  margin: 0 0 6px;
  font-family: "Raleway", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
}

.desk-commune {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.desk-body { padding: 8px; }

.desk-block {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid var(--desk-line);
}

.desk-block--hours {
  background: #fff8ee;
  border-color: #f6d7a8;
}

.desk-block__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--desk-blue);
  font-size: 17px;
}

.desk-block--hours .desk-block__icon { color: #d97706; }

.desk-block__text { min-width: 0; flex: 1; }

.desk-labels,
.desk-rules__title,
.desk-map__labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.desk-labels {
  margin-bottom: 4px;
}

.desk-labels span:first-child,
.desk-rules__title span:first-child {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--desk-muted);
}

.desk-labels [lang="ar"],
.desk-rules__title [lang="ar"] {
  font-family: "Cairo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--desk-navy);
  line-height: 1.2;
}

.desk-block p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.desk-when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.desk-when + .desk-when { margin-top: 6px; }

.desk-when.desk-ar { align-items: flex-end; }

.desk-when__time {
  font-weight: 700;
  color: var(--desk-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.desk-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.desk-phones a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #c9dcf3;
  color: var(--desk-navy);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.desk-phones a:active { background: #e8f3ff; }

.desk-mail {
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.desk-mail a { color: var(--desk-blue); }

.desk-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--desk-navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.desk-map i { font-size: 20px; }

.desk-map__labels {
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1.25;
}

.desk-map__labels span:first-child { font-size: 16px; }
.desk-map__labels [lang="ar"] {
  font-family: "Cairo", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.desk-map:active { background: var(--desk-blue); }

.desk-rules {
  margin: 4px 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: #fff7f7;
  border: 1px solid #f3c7c7;
}

.desk-rules__title {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3d0d0;
}

.desk-rule {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.desk-rule + .desk-rule {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #f0c4c4;
}

.desk-rule__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #a91314;
  font-size: 16px;
}

.desk-rule p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

.desk-rule .desk-ar {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--desk-navy);
  line-height: 1.7;
}

.desk-empty {
  padding: 36px 18px;
  text-align: center;
}

.desk-empty i { font-size: 32px; color: var(--desk-blue); }
.desk-empty h1 {
  margin: 10px 0 6px;
  font-family: "Raleway", sans-serif;
  color: var(--desk-navy);
  font-size: 1.4rem;
}
.desk-empty p { margin: 0; font-size: 18px; font-weight: 700; }

@media (min-width: 480px) {
  .desk-wrap { width: min(640px, calc(100% - 28px)); padding-top: 22px; }
  .desk-brand img { height: 46px; }
  .desk-head { padding: 24px 22px 20px; }
  .desk-head h1 { font-size: 1.9rem; }
  .desk-body { padding: 12px; }
  .desk-block { padding: 14px 16px; }
  .desk-rules { margin: 4px 12px 14px; padding: 16px; }
}