/* Public pages stylesheet (source SCSS). Compiled to assets/css/public.css by Gulp. */
/* Clean redesigned cart styles */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-weight: 700;
  font-style: normal;
  src: url("../IBMPlexSansArabic-SemiBold.woff2") format("woff2");
}
.btn:disabled {
  color: #bdbdbd;
  border-color: #bdbdbd;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  background-color: #f4f6f9;
}

.forceRenderLTR {
  direction: ltr !important;
  unicode-bidi: embed;
  display: inline;
}

/* Layout */
.cart-container {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 24px;
  position: relative;
}

@media (max-width: 992px) {
  .cart-container {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    position: static;
  }
}
.catalog-header, .filter-bar {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 12px;
  margin-bottom: 10px;
  align-items: center;
}

@media (max-width: 768px) {
  .catalog-header, .filter-bar {
    grid-template-columns: 1fr;
  }
}
/* Service card */
.service-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.service-meta {
  color: #6b7280;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sidebar */
.cart-sidebar {
  position: sticky;
  top: 16px;
  height: fit-content;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
}

.cart-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cart-item-actions {
  display: flex;
  gap: 8px;
}

/* Time slots */
.time-slots {
  display: contents;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slot-btn {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.time-slot-btn:hover {
  transform: translateY(-1px);
}

/* .time-slot-btn.selected { background:#16a34a; color:#fff; border-color:#16a34a; animation: pop .16s ease-out; } */
.time-slot-btn.selected {
  background: #dcfce7;
  color: #065f46;
  border-color: #86efac;
}

.time-slot-btn.spanning {
  background: #dcfce7;
  color: #065f46;
  border-color: #86efac;
}

/* Stepper */
.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f8f9fa;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
}

.wizard-step {
  text-align: center;
  color: #9aa3af;
  padding: 10px;
  border-radius: 6px;
  border: 1px dashed transparent;
}

.wizard-step .step-number {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #111827;
  display: inline-block;
  margin-bottom: 0.5rem;
  border: 1px solid #ced4da;
}

.wizard-step.active {
  color: #111827;
  background: #eef2ff;
  border-color: #c7d2fe;
  font-weight: 600;
}

.wizard-step.completed {
  color: #16a34a;
  background: #ecfdf5;
  border-color: #86efac;
}

/* Helpers */
.step-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  color: #6b7280;
  background: #f8fafc;
}

/* Minor tweaks */
/* Primary actions in black */
.btn-primary {
  background: #000;
  border-color: #000;
}

.btn-primary:hover {
  background: #111;
  border-color: #111;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* Disabled primary -> gray */
.btn-primary:disabled,
.btn-primary.disabled,
.btn-primary:disabled:hover,
.btn-primary.disabled:hover,
.btn-primary:disabled:focus,
.btn-primary.disabled:focus {
  background: #6c757d; /* gray */
  border-color: #6c757d;
  color: #fff;
  opacity: 1; /* keep full opacity for clarity */
  cursor: not-allowed;
  box-shadow: none;
}

/* Outline primary in black */
.btn-outline-primary {
  color: #000;
  border-color: #000;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.form-control {
  border-radius: 4px;
}

/* Vue transition animations */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.22s ease;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

.list-enter-active, .list-leave-active {
  transition: all 0.22s ease;
}

.list-enter {
  opacity: 0;
  transform: translateY(6px);
}

.list-leave-to {
  opacity: 0;
  transform: translateY(-6px);
}

.list-move {
  transition: transform 0.22s ease;
}

.collapse-enter-active, .collapse-leave-active {
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.18s ease;
}

.collapse-enter {
  max-height: 0;
  opacity: 0;
}

.collapse-enter-to {
  max-height: 480px;
  opacity: 1;
}

.collapse-leave {
  max-height: 480px;
  opacity: 1;
}

.collapse-leave-to {
  max-height: 0;
  opacity: 0;
}

@keyframes pop {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}
/* Small gap between label icon and text */
.form-label i + span {
  margin-inline-start: 6px;
}

/* Vue cloak */
[v-cloak] {
  display: none;
}

/* Search input helper */
.search-input {
  flex: 1;
}

/* Summary block (cart sidebar) */
.summary {
  padding-top: 12px;
  margin-top: 12px;
}

/* Filter bar input-group alignment fixes (icon box + selects/inputs) */
.filter-bar .input-group {
  align-items: stretch;
}

.filter-bar .input-group .input-group-text {
  border-inline-end: 0;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.filter-bar .input-group .form-select,
.filter-bar .input-group .form-control {
  border-inline-start: 0;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

/* Use matching corner radii for joined controls (match 4px used by .form-control above) */
[dir=ltr] .filter-bar .input-group .input-group-text {
  border-radius: 4px 0 0 4px;
}

[dir=ltr] .filter-bar .input-group .form-select,
[dir=ltr] .filter-bar .input-group .form-control {
  border-radius: 0 4px 4px 0;
}

[dir=rtl] .filter-bar .input-group .input-group-text {
  border-radius: 0 4px 4px 0;
}

[dir=rtl] .filter-bar .input-group .form-select,
[dir=rtl] .filter-bar .input-group .form-control {
  border-radius: 4px 0 0 4px;
}

/* --- Mobile optimizations --- */
@media (max-width: 768px) {
  /* Stack filter bar controls and make them full width */
  .catalog-header, .filter-bar {
    grid-template-columns: 1fr;
  }
  .catalog-header .input-group, .filter-bar .input-group {
    max-width: 100% !important;
    width: 100%;
  }
  /* Slightly larger tap targets for time slots */
  .time-slot-btn {
    padding: 4px 10px;
    font-size: 14px;
  }
  /* Tighten spacing */
  .cart-container {
    gap: 16px;
  }
  .navbar-nav a.btn {
    margin-top: 20px;
  }
  .navbar-nav {
    text-align: center;
  }
}
@media (max-width: 576px) {
  /* Ensure inputs fill width on very small screens */
  .filter-bar .input-group-text {
    min-width: 42px;
    justify-content: center;
  }
  .filter-bar .form-select, .filter-bar .form-control {
    font-size: 14px;
  }
  /* Add room for fixed mobile checkout bar */
  body {
    padding-bottom: 72px;
  }
}
/* Sticky mobile checkout bar */
.mobile-checkout-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.06);
  padding: 10px 12px;
  z-index: 1030;
}

@media (max-width: 991.98px) { /* same breakpoint family as Bootstrap lg */
  .mobile-checkout-bar {
    display: block;
  }
}
/* Keep the catalog filter bar sticky under the fixed header on mobile */
@media (max-width: 991.98px) {
  .catalog-header.filter-bar.sticky-top {
    position: sticky; /* ensure stickiness even if Bootstrap CSS changes */
    top: 62px; /* adjust if your fixed header height differs */
    z-index: 1020; /* below fixed navbar (1030) but above content */
    background: #fff;
  }
}
/* RTL fix: input-group with form-control + btn should have mirrored corner radii */
[dir=rtl] .input-group > .form-control:not(:last-child),
[dir=rtl] .input-group > .form-select:not(:last-child) {
  /* Round the visual outer-right corners, flatten the inner (left) join */
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

[dir=rtl] .input-group > .btn:not(:first-child) {
  /* Round the visual outer-left corners, flatten the inner (right) join */
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Flip Bootstrap start/end margin utilities in RTL so icon/text spacing is correct */
[dir=rtl] .ms-1 {
  margin-right: 0.25rem !important;
  margin-left: 0 !important;
}

[dir=rtl] .ms-2 {
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
}

[dir=rtl] .ms-3 {
  margin-right: 1rem !important;
  margin-left: 0 !important;
}

[dir=rtl] .me-1 {
  margin-left: 0.25rem !important;
  margin-right: 0 !important;
}

[dir=rtl] .me-2 {
  margin-left: 0.5rem !important;
  margin-right: 0 !important;
}

[dir=rtl] .me-3 {
  margin-left: 1rem !important;
  margin-right: 0 !important;
}

/* Shared public styles for non-cart pages (orders, order details, profile, legal) */
/* Keep a neutral background (public.css uses a gray background we don't want here) */
body {
  background: #fff;
}

/* Comfortable typography for content pages */
main p,
main li {
  line-height: 1.8;
}

main h1 {
  font-size: 1.75rem;
}

main h5,
h5.section-title {
  margin-top: 1.25rem;
}

/* Lists with logical padding for RTL/LTR */
ul {
  padding-inline-start: 1rem;
}

[dir=rtl] .modal-header .btn-close {
  margin-inline-end: 0 !important;
  margin-inline-start: auto !important;
}

/* Input-group corner radii fixes for control + button combos (LTR/RTL) */
[dir=ltr] .input-group > .form-control:not(:last-child),
[dir=ltr] .input-group > .form-select:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

[dir=ltr] .input-group > .btn:not(:first-child),
[dir=ltr] .input-group > .input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

[dir=rtl] .input-group > .form-control:not(:last-child),
[dir=rtl] .input-group > .form-select:not(:last-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

[dir=rtl] .input-group > .btn:not(:first-child),
[dir=rtl] .input-group > .input-group-text:not(:first-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* Dark theme support removed per request */
body {
  background-color: #f8f9fa;
  color: #212529;
}

.card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.input-group > :first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > :last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

[dir=rtl] .input-group > :first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

[dir=rtl] .input-group > :last-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

[dir=rtl] .modal-header .btn-close {
  margin-inline-start: 0;
  margin-inline-end: -0.5rem;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg-new {
  background-color: #FFDD99 !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-confirmed {
  background-color: #D0E8FF !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-attended {
  background-color: #D1F2EB !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-completed {
  background-color: #D4EDDA !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-missed {
  background-color: #F8D7DA !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-canceled {
  background-color: #E2E3E5 !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-pending_payment {
  background-color: #FFDD99 !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-partially_paid {
  background-color: #D1ECF1 !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-fully_paid {
  background-color: #D4EDDA !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-partially_refunded {
  background-color: #CCE5FF !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-fully_refunded {
  background-color: #E2E3E5 !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-pending {
  background-color: #FFDD99 !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-paid {
  background-color: #D4EDDA !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

.bg-failed {
  background-color: #F8D7DA !important;
  color: #000000 !important;
  font-size: 0.8rem !important;
}

:root {
  --z-text:#111;
  --z-muted:#6a6a6a;
  --z-border:rgba(0,0,0,.12);
}

body {
  padding-top: 64px;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 56px;
  }
}
/* ZARA minimal header */
.header-zara {
  background: #fff;
  border-bottom: 1px solid var(--z-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand-glow {
  filter: none;
}

.navbar-nav .nav-link {
  color: rgba(17, 17, 17, 0.85);
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  color: #111;
  transform: translateY(-1px);
  text-decoration: none;
}

.navbar-nav .nav-link.active {
  color: #111;
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: -10px;
  height: 3px;
  background: #111;
  border-radius: 0;
}

/* Buttons (monochrome) */
.btn-primary {
  background: #111;
  border-color: #111;
  color: #fff;
}

.btn-primary:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

.btn-outline-dark {
  border-color: #111;
  color: #111;
}

.btn-outline-dark:hover {
  background: #111;
  color: #fff;
}

.navbar-toggler {
  color: #111;
  border-color: transparent;
}

.navbar-nav a.btn,
.navbar-nav a.btn:hover,
.navbar-nav a.btn:focus,
.navbar-nav a.btn:active {
  text-decoration: none !important;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item + .nav-item {
    margin-inline-start: 1.25rem;
  }
}
.navbar-nav .nav-link i {
  margin-inline-end: 0.35rem;
}

@media (max-width: 768px) {
  .navbar-nav .nav-link.active::after {
    bottom: 0px !important;
  }
  .navbar-nav .nav-link.active {
    background: #dddddd;
    position: static !important;
    border-radius: 5px !important;
  }
}