/* محتوى العميلة والتحقق؛ التنقل والغلاف المشترك في stylesheet المنصة. */
.client-header .site-header-inner { flex-wrap: wrap; }
.client-header .brand { flex: 0 0 auto; }
.client-header .public-nav { flex: 1 1 180px; min-width: 0; }
.client-header .public-nav a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.desktop-client-page { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.desktop-client-page .page-heading { margin-bottom: 28px; }
.desktop-client-page .page-heading h1 { font-size: 2.125rem; line-height: 1.55; }
.desktop-client-page .page-heading p { margin-top: 8px; color: var(--muted); }
.desktop-page-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 28px; }
.desktop-page-heading > div { min-width: 0; }
.desktop-client-page .button, .desktop-auth .button { min-height: 48px; border-radius: 10px; padding: 11px 20px; }
.desktop-client-page .panel { border-radius: 14px; }
.desktop-client-page .account-section { margin-top: 32px; }
.desktop-client-page .section-heading { margin-bottom: 18px; gap: 16px; }
.desktop-client-page .section-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; }
.desktop-client-page .booking-list { display: grid; gap: 18px; }
.desktop-booking-card { padding: 26px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, .75fr) minmax(0, .9fr); align-items: center; gap: 22px; }
.desktop-booking-card > div { min-width: 0; }
.desktop-card-identity h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.desktop-card-identity .booking-reference { margin-top: 0; }
.desktop-card-provider { display: block; margin-top: 6px; font-size: .875rem; color: var(--muted); }
.desktop-card-facts { padding-inline: 18px; border-inline: 1px solid var(--border); font-size: .875rem; }
.desktop-card-facts p { display: flex; align-items: center; gap: 8px; }
.desktop-card-facts p + p { margin-top: 8px; }
.desktop-card-facts .field-help { display: block; font-size: .8125rem; }
.desktop-card-status { justify-content: flex-start; gap: 8px; }
.desktop-card-status .badge { max-width: 100%; }
.desktop-card-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.desktop-card-actions .button { font-size: .875rem; min-width: 0; }
.desktop-card-actions .text-link { justify-content: center; font-size: .875rem; }
.desktop-featured-booking { border-color: #ceddd8; padding: 30px; background: #fff; }
.desktop-featured-booking h3 { font-size: 1.5rem; }
.desktop-featured-booking .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1rem; }
.desktop-next-booking { margin-bottom: 32px; }
.desktop-payment-badge.success { background: #ecf4f0; color: #24614d; }
.desktop-record-tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 12px; background: white; margin-bottom: 22px; overflow: hidden; }
.desktop-record-tabs a { display: flex; flex: 1 1 160px; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 12px 20px; border-bottom: 3px solid transparent; text-decoration: none; color: var(--muted); }
.desktop-record-tabs a.active { border-bottom-color: var(--primary); color: var(--primary); background: #f6faf7; font-weight: 600; }
.desktop-empty-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 16px; background: #edf4f0; color: var(--primary); border-radius: 50%; }
.desktop-empty-icon .icon { width: 26px; height: 26px; }
.desktop-account-shortcuts { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.desktop-account-shortcuts > span { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; color: var(--muted); }
.desktop-account-panel { padding: 30px; margin-bottom: 24px; max-width: 900px; }
.desktop-account-panel h2 { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.desktop-account-panel > p { color: var(--muted); }
.desktop-account-panel .profile-facts { margin-block: 20px 0; }
.desktop-account-panel .profile-facts > div { padding-block: 16px; }
.desktop-logout-panel { padding-top: 8px; }
.desktop-booking-page .breadcrumb { margin-bottom: 16px; }
.desktop-booking-overview { padding: 26px 30px; margin-bottom: 24px; }
.desktop-booking-overview .booking-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 18px; }
.desktop-booking-overview .booking-header > div { min-width: 0; }
.desktop-booking-overview .booking-header h2 { font-size: 1.375rem; }
.desktop-booking-overview .booking-header .badges { margin-top: 0; }
.desktop-booking-overview .date-facts { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 22px; padding-block: 20px 0; border-top: 1px solid var(--border); border-bottom: 0; }
.desktop-booking-overview .date-facts > div { min-width: 0; font-size: .9375rem; }
.desktop-booking-overview .date-facts p { flex-basis: 100%; margin: 0; font-size: .875rem; }
.desktop-booking-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr); gap: 24px; align-items: start; }
.desktop-state-panel { padding: 30px; max-width: none; min-width: 0; }
.desktop-state-panel .state-content { padding: 0; }
.desktop-state-panel .state-content > h2 { font-size: 1.5rem; margin-bottom: 10px; }
.desktop-state-panel .state-content > p { color: var(--muted); }
.desktop-state-panel .saved-intake { margin-bottom: 24px; }
.desktop-state-panel details { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 10px; }
.desktop-state-panel details summary { font-weight: 500; }
.desktop-consultant-card { padding: 18px; text-align: center; min-width: 0; }
.desktop-consultant-card picture { display: block; overflow: hidden; border-radius: 10px; }
.desktop-consultant-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 43% 28%; }
.desktop-consultant-card h2 { margin-top: 18px; font-size: 1.125rem; }
.desktop-consultant-card > p { margin-top: 6px; color: var(--muted); font-size: .8125rem; }
.desktop-consultant-note { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 20px; font-size: .875rem; color: var(--muted); }
.desktop-consultant-note .icon { display: block; margin: 0 auto 12px; color: var(--primary); }
.desktop-intake-form .field { margin-block: 24px; }
.desktop-intake-form textarea { min-height: 110px; padding: 14px 16px; border-radius: 10px; }
.desktop-intake-form .button { width: auto; min-width: 200px; }
.desktop-state-emblem { display: grid; place-items: center; margin: 0 auto 22px; width: 72px; height: 72px; border-radius: 50%; background: #edf5ef; color: var(--primary); }
.desktop-state-emblem .icon { width: 32px; height: 32px; }
.desktop-state-emblem.warning { background: #fff4e5; color: #9b5d11; }
.desktop-join-panel { text-align: center; }
.desktop-join-panel .button.wide { max-width: 460px; margin-block: 26px 8px; }
.desktop-join-panel .saved-intake { text-align: start; }
.desktop-join-panel .centered-help { margin-top: 12px; }
.desktop-join-panel details { text-align: start; }
.desktop-state-panel .soft-callout { margin-block: 24px; }
.desktop-resolution-panel { text-align: center; }
.desktop-resolution-panel .state-content > .text-link { display: flex; justify-content: center; margin-top: 14px; }
.desktop-state-panel .summary-content { margin-top: 28px; }
.desktop-state-panel .summary-section { padding-block: 24px; }
.desktop-state-panel .summary-section h3 { font-size: 1.125rem; margin-bottom: 10px; }
.desktop-state-panel .summary-section p { font-size: 1rem; line-height: 1.9; }
.desktop-workshop-participation { padding: 24px; min-width: 0; }
.desktop-workshop-participation h2 { font-size: 1.125rem; margin-bottom: 18px; }
.desktop-workshop-participation .plain-list { margin: 0; padding: 0; list-style: none; }
.desktop-workshop-participation li { border-top: 1px solid var(--border); padding-block: 18px; font-size: .875rem; }
.desktop-workshop-participation li .icon { display: block; margin-bottom: 10px; color: var(--primary); }
.desktop-booking-management { margin-top: 24px; padding: 22px 28px; }
.desktop-booking-management h2 { font-size: 1.125rem; margin-bottom: 14px; }
.desktop-management-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.desktop-client-dialog { border: 1px solid var(--border); border-radius: 18px; padding: 30px; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; margin: auto; background: white; color: var(--text); }
.desktop-client-dialog::backdrop { background: rgba(19, 44, 53, .48); }
.desktop-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.desktop-dialog-header h2 { font-size: 1.5rem; }
.desktop-dialog-header .icon-button { flex: 0 0 auto; }
.desktop-current-appointment { background: #f6f7f6; border-radius: 10px; padding: 18px; margin-top: 24px; }
.desktop-current-appointment p { margin-top: 8px; }
.desktop-dialog-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.desktop-dialog-actions .button { flex: 1 1 180px; }
.desktop-login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-block: 36px; }
.desktop-login-intro { min-width: 0; max-width: 520px; }
.desktop-login-intro h1 { font-size: 2.5rem; margin-bottom: 18px; }
.desktop-login-intro > p { color: var(--muted); font-size: 1.125rem; line-height: 1.9; }
.desktop-auth-benefits { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; gap: 16px; }
.desktop-auth-benefits li { display: flex; align-items: center; gap: 12px; }
.desktop-auth-benefits .icon { color: var(--primary); }
.desktop-login-card.auth-container { max-width: 560px; width: 100%; margin: 0; padding: 32px; border-radius: 18px; justify-self: end; }
.desktop-auth { min-width: 0; overflow-wrap: anywhere; }
.desktop-auth-emblem { display: grid; place-items: center; width: 64px; height: 64px; background: #edf5ef; color: var(--primary); border-radius: 50%; margin: 0 auto 20px; }
.desktop-auth-emblem .icon { width: 30px; height: 30px; }
.desktop-auth > h2 { text-align: center; font-size: 1.5rem; margin-bottom: 12px; }
.desktop-auth > .muted { text-align: center; margin-bottom: 24px; }
.desktop-auth .field { margin-block: 24px; }
.desktop-auth .field input { min-height: 54px; border-radius: 10px; padding: 12px 14px; }
.desktop-auth .check-row { margin-block: 24px; }
.desktop-auth .resend-block { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.desktop-auth .resend-block a { display: flex; justify-content: center; }
.desktop-auth-phone { text-align: center; font-size: 1.125rem; font-weight: 500; margin-block: -10px 20px; }
.desktop-verified-label { text-align: center; color: var(--primary); margin-bottom: 18px; }
.desktop-field-error { color: #9d2929; font-size: .875rem; margin-top: 8px; }
.desktop-otp-display { position: relative; min-width: 0; }
.desktop-otp-display .otp-input { width: 100%; text-align: center; letter-spacing: .45em; font-size: 1.75rem; font-family: ui-monospace, monospace; }
.desktop-otp-cells { display: none; }
.desktop-otp-display.otp-slots-ready { min-height: 70px; }
.otp-slots-ready .desktop-otp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; pointer-events: none; }
.otp-slots-ready:has(input[maxlength="5"]) .desktop-otp-cells { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.desktop-otp-cells span { display: grid; place-items: center; border: 1px solid #c7d5df; border-radius: 10px; background: white; min-width: 0; height: 70px; font-size: 2rem; font-family: ui-monospace, monospace; }
.desktop-auth .otp-slots-ready .otp-input { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; z-index: 1; color: transparent; caret-color: transparent; background: transparent; border: 0; padding: 0; }
.desktop-otp-display.otp-slots-ready:focus-within .desktop-otp-cells span { border-color: var(--primary); }
.desktop-receipt-document.receipt { max-width: 1000px; padding: 32px 36px; margin: auto; }
.desktop-receipt-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.desktop-receipt-heading h2 { font-size: 1.75rem; }
.desktop-receipt-brand strong { display: block; font-size: 2.25rem; color: var(--primary); line-height: 1.4; }
.desktop-receipt-brand span { display: block; font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.desktop-receipt-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-block: 26px; }
.desktop-receipt-overview .review-list { margin: 0; }
.desktop-receipt-overview .review-list > div { padding-block: 12px; }
.desktop-receipt-overview .review-list dt { flex-basis: 130px; }
.desktop-receipt-service { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .55fr) minmax(0, .65fr); margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.desktop-receipt-service > div { min-width: 0; }
.desktop-receipt-service dt { background: #f4f6f5; color: var(--muted); padding: 12px 18px; font-size: .875rem; }
.desktop-receipt-service dd { margin: 0; padding: 18px; font-size: .9375rem; }
.desktop-receipt-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; background: #edf5ef; border-radius: 10px; padding: 18px; margin-top: 14px; font-size: 1.125rem; }
.desktop-receipt-refund { margin-top: 16px; }
.desktop-receipt-disclaimer { margin-top: 24px; }
.desktop-receipt-actions { max-width: 1000px; margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
@media (max-width: 1150px) {
  .desktop-booking-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 24px; }
  .desktop-card-facts { border-inline-end: 0; }
  .desktop-card-status { align-self: start; }
  .desktop-card-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .desktop-card-actions .button { flex: 1 1 auto; }
  .desktop-card-actions .text-link { flex: 1 1 auto; }
  .desktop-login-page { gap: 36px; }
}
@media (max-width: 900px) {
  .desktop-booking-layout { grid-template-columns: minmax(0, 1fr); }
  .desktop-consultant-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 20px; text-align: start; align-items: center; }
  .desktop-consultant-card picture { grid-row: span 3; }
  .desktop-consultant-card h2 { margin-top: 0; }
  .desktop-consultant-card > p { margin-top: 0; }
  .desktop-consultant-note { margin-top: 0; padding-top: 0; border: 0; display: flex; align-items: center; gap: 10px; }
  .desktop-consultant-note .icon { display: inline-block; margin: 0; flex: 0 0 auto; }
  .desktop-login-page { grid-template-columns: 1fr; gap: 28px; margin-block: 16px; }
  .desktop-login-intro { max-width: none; }
  .desktop-login-intro h1 { font-size: 2rem; }
  .desktop-auth-benefits { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 20px; font-size: .875rem; }
  .desktop-login-card.auth-container { justify-self: center; }
  .desktop-receipt-overview { gap: 20px; }
}
@media (max-width: 650px) {
  .desktop-client-page .page-heading { margin-bottom: 22px; }
  .desktop-client-page .page-heading h1 { font-size: 1.625rem; }
  .desktop-page-heading { align-items: flex-start; }
  .desktop-page-heading > .button { width: 100%; }
  .desktop-client-page .account-section { margin-top: 28px; }
  .desktop-client-page .section-heading h2 { font-size: 1.125rem; }
  .desktop-booking-card { display: flex; flex-direction: column; align-items: stretch; padding: 22px; gap: 16px; }
  .desktop-card-identity h3 { font-size: 1.1875rem; }
  .desktop-featured-booking h3 { font-size: 1.375rem; }
  .desktop-card-facts { padding: 14px 0; border-inline: 0; border-block: 1px solid var(--border); }
  .desktop-card-status { align-self: stretch; }
  .desktop-card-actions { flex-direction: column; align-items: stretch; }
  .desktop-card-actions .button { font-size: 1rem; }
  .desktop-record-tabs a { flex-basis: 110px; min-height: 54px; padding-inline: 12px; }
  .desktop-account-shortcuts > span { flex-basis: 100%; }
  .desktop-account-shortcuts .button { flex: 1 1 auto; }
  .desktop-account-panel { padding: 22px; }
  .desktop-account-panel h2 { font-size: 1.125rem; }
  .desktop-booking-overview { padding: 22px; }
  .desktop-booking-overview .booking-header h2 { font-size: 1.25rem; }
  .desktop-booking-overview .date-facts { gap: 14px; }
  .desktop-booking-overview .date-facts > div { flex-basis: 100%; }
  .desktop-state-panel { padding: 22px; }
  .desktop-state-panel .state-content > h2 { font-size: 1.25rem; }
  .desktop-intake-form .button { width: 100%; min-width: 0; }
  .desktop-consultant-card { grid-template-columns: 80px minmax(0, 1fr); gap: 6px 14px; padding: 16px; }
  .desktop-consultant-note { font-size: .8125rem; }
  .desktop-consultant-note .icon { display: none; }
  .desktop-consultant-note br { display: none; }
  .desktop-booking-management { padding: 22px; }
  .desktop-management-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .desktop-management-actions a { min-height: 44px; }
  .desktop-client-dialog { padding: 22px; max-height: calc(100dvh - 24px); }
  .desktop-dialog-header h2 { font-size: 1.25rem; }
  .desktop-login-intro h1 { font-size: 1.625rem; }
  .desktop-login-intro > p { font-size: 1rem; }
  .desktop-login-card.auth-container { padding: 24px 22px; }
  .desktop-auth > h2 { font-size: 1.25rem; }
  .desktop-auth .field { margin-block: 20px; }
  .desktop-otp-cells { gap: 6px; }
  .desktop-otp-display.otp-slots-ready { min-height: 58px; }
  .desktop-otp-cells span { height: 58px; font-size: 1.5rem; border-radius: 8px; }
  .desktop-receipt-document.receipt { padding: 22px; }
  .desktop-receipt-heading h2 { font-size: 1.375rem; }
  .desktop-receipt-overview { grid-template-columns: 1fr; gap: 0; }
  .desktop-receipt-overview .review-list dt { flex-basis: 100px; }
  .desktop-receipt-service { grid-template-columns: 1fr; }
  .desktop-receipt-service > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); }
  .desktop-receipt-service dt { padding: 12px; }
  .desktop-receipt-service dd { padding: 12px; }
  .desktop-receipt-total { font-size: 1rem; }
  .desktop-receipt-actions .button { width: 100%; }
}
@media print {
  .desktop-receipt-page > .page-heading, .desktop-receipt-actions { display: none !important; }
  .desktop-receipt-document.receipt { margin: 0; max-width: none; padding: 0; border: 0; }
  .desktop-receipt-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desktop-receipt-service { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .55fr) minmax(0, .65fr); }
  .desktop-receipt-service > div { display: block; }
  .desktop-receipt-document { break-inside: avoid; }
}
