* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    color: #333;
    font-family: 'Zain', sans-serif;
}
.OI::placeholder {
    color: #BF9456;
    opacity: 1;
}
/* Main Container */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}
/* Content Area */
.content {
    flex: 1;
    background: #F9F6F0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 10px;
}

@media (max-width: 768px) {
    .progress-bar {
        flex-wrap: wrap;
    }
}

.progress-step {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid white;
    color: #979797;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #BF9456;
    /* Green for active step */
    color: white;
}

.progress-step.completed {
    background: #BF9456;
    /* Green for completed step */
    color: white;
}

/* Optional: Hover effect for clickable steps */
.progress-step:hover:not(.active):not(.completed) {
    background: #BF945629;
}

/* Disable hover and cursor for future steps */
.progress-step:not(.active):not(.completed) {
    cursor: not-allowed;
}

/* Gender Selection */
.gender-selection {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
}

.gender-card {
    background: rgba(224, 247, 250, 0.5);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.gender-card:hover {
    border-color: #C8A882;
    transform: translateY(-5px);
}

.gender-card.selected {
    border-color: #C8A882;
    background: rgba(200, 168, 130, 0.1);
}

.gender-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.gender-icon.male {
    background: linear-gradient(135deg, #4a90e2, #7b68ee);
}

.gender-icon.female {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 10px;
}

.service-card {
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: 139px;
}

.service-card.selected {
    border: 4px solid #BF9456;
}

.service-card h4 {
    font-size: 15px;
    margin: 6px 0 0;
    line-height: 1.3;
}

.service-card:hover {
    border: 4px solid #BF9456;
    transform: translateY(-5px);
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.service-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Staff Selection */
.staff-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.staff-card {
    background: rgba(224, 247, 250, 0.3);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.staff-card:hover {
    border-color: #C8A882;
    transform: translateY(-5px);
}

.staff-card.selected {
    border-color: #C8A882;
    background: rgba(200, 168, 130, 0.1);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.staff-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Time Slots */
.time-slots {
    margin-top: 30px;
}

.time-period {
    margin-bottom: 20px;
}

.time-period-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
}

.time-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.time-slot {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.time-slot:hover {
    border-color: #C8A882;
}

.time-slot.selected {
    background: #C8A882;
    color: white;
    border-color: #C8A882;
}
/* Service Detail */
.service-detail {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}

.service-image {
    width: 300px;
    height: 200px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.service-info p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Location Form */
.location-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select {
    width: 38%;
    font-family: 'Lemonada', sans-serif;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color:#979797;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #C8A882;
}

/* Navigation Buttons */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #BF9456;
    color: white;
}

.btn-primary:hover {
    background: #BF9456;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 20px;
    }

    .gender-selection {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .service-grid {
        /*if d-block in mob*/
        /*grid-template-columns: 1fr;*/
        display: none;
    }

    .staff-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-detail {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

.hidden2 {
    display: none ;
}
.show {
    display: block !important;
}

/* Special styling for massage service cards */
.massage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.massage-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.massage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(200, 168, 130, 0.2);
}

.massage-card.selected {
    box-shadow: gray 0px 0px 13px;
}

.massage-name {
    font-size: 18px;
    font-weight: bold;
    color: #BF9456;
    margin-bottom: 10px;
}

.massage-location {
    font-size: 14px;
    color: #666;
}

.massage-duration {
    font-weight: bold;
    margin-bottom: 10px;
    color: #979797;
    text-align: right;
}

.massage-price {
    font-size: 16px;
    color: #979797;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: right;
}
.most-wanted {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffc107;
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    transform: rotate(15deg);
}

#staffGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.staff-card {
    background: #f1f1f1;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
}

.staff-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 8px;
}

.branch-options input[type="radio"]:checked+img {
    border-color: #007bff;
    box-shadow: 0 0 5px #007bff;
}

label {
    font-size: 1.08rem;
    color: #bc9a69;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 700px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    #step1 {
        padding: 18px 6px;
    }
}

.logo a img {
    height: 60px;
    width: auto;
    border-radius: 12px;
    object-fit: contain;
}

.header-title h2 {
    font-size: 2.2rem;
    color: #a8834b;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin: 0;
}

@media (max-width: 768px) {
    .logo a img {
        height: 30px;
    }

    .header-title h2 {
        font-size: 17px;
    }

    .massage-cards {
        grid-template-columns: none;
    }

    #staffGrid {
        grid-template-columns: none;
    }
}
#serviceSearch{
    margin-top: 40px;
    border: 1.5px solid #e2c89c;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1.1rem;
    margin-bottom: 6px;
    background: #faf8f5;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px #bc9a6920;
}
        .tooltip-label {
  position: relative;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  width: 532px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 8px;
  border-radius: 4px;

  position: absolute;
  bottom: 100%; /* فوق العنصر */
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;

  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.tooltip-label:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
h5, .h5 {
    font-size: 15.6px;
}
.gap-4 {
    gap: 19.5px !important;
}
.line {
    flex: 0.1;
    height: 2px;
    background: #ccc;
}
.top-label{
    font-weight: bold;
    font-size: 21px;
    display: block;
    color: black;
    text-align: center;
    background: white;
    padding: 12px;
    box-shadow: #8080804a 0px 1px 9px 0px 1px 9px;
}
.sammary-steps{
    width: 100%;
    height: fit-content;
    background: white;
    border-radius: 14px;
    padding: 20px;
}
 .selected-card{
border:2px solid #BF9456;
}
.calendar {
    width: 400px;
    background: white;
    padding: 13px;
    border-radius: 15px;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.calendar-header button {
  color: black;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.calendar-title {
  color: #BF9456;
  font-weight: bold;
}

.scroll-btn {
  color: black;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.calendar-day {
    text-align: center;
    padding: 6px;
    font-size: 13px;
    border-radius: 9px;
    overflow: auto;
    height: 52px;
    flex-direction: column;
}

.calendar-day.selected {
    background: #BF9456;
    color:white;
    font-weight: bold;
}

.calendar-day.disabled {
  display: none;
  background: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
}
.calendar-days{
    display: flex;
    width: fit-content;
    gap: 6px;
    cursor: pointer;
}
.calen , .times{
    width: 50%;
}
.sub-label{
    margin-bottom: 30px;
    color: black;
    font-size: 18px;
}
.time-toggle {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 10px;
  width: 50%;
  background: #D9D9D9;
}

.time-toggle button {
  flex: 1;
  padding: 5px 0;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
}

.time-toggle button.active {
  white-space: nowrap;
  padding: 9px;
  border-radius: 19px;
  background: #fff;
  font-weight: bold;
}

.times button {
  margin: 5px;
  padding: 5px 10px;
  background: #D9D9D9;
  cursor: pointer;
}
#wifi-loader {
  --background: #62abff;
  --front-color: #BF9456;
  --back-color: #c3c8de;
  --text-color: #414856;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg circle {
  position: absolute;
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-100deg);
  transform-origin: center;
}

#wifi-loader svg circle.back {
  stroke: var(--back-color);
}

#wifi-loader svg circle.front {
  stroke: var(--front-color);
}

#wifi-loader svg.circle-outer {
  height: 86px;
  width: 86px;
}

#wifi-loader svg.circle-outer circle {
  stroke-dasharray: 62.75 188.25;
}

#wifi-loader svg.circle-outer circle.back {
  animation: circle-outer135 1.8s ease infinite 0.3s;
}

#wifi-loader svg.circle-outer circle.front {
  animation: circle-outer135 1.8s ease infinite 0.15s;
}

#wifi-loader svg.circle-middle {
  height: 60px;
  width: 60px;
}

#wifi-loader svg.circle-middle circle {
  stroke-dasharray: 42.5 127.5;
}

#wifi-loader svg.circle-middle circle.back {
  animation: circle-middle6123 1.8s ease infinite 0.25s;
}

#wifi-loader svg.circle-middle circle.front {
  animation: circle-middle6123 1.8s ease infinite 0.1s;
}

#wifi-loader svg.circle-inner {
  height: 34px;
  width: 34px;
}

#wifi-loader svg.circle-inner circle {
  stroke-dasharray: 22 66;
}

#wifi-loader svg.circle-inner circle.back {
  animation: circle-inner162 1.8s ease infinite 0.2s;
}

#wifi-loader svg.circle-inner circle.front {
  animation: circle-inner162 1.8s ease infinite 0.05s;
}

#wifi-loader .text {
  position: absolute;
  bottom: -40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
}

#wifi-loader .text::before, #wifi-loader .text::after {
  content: attr(data-text);
}

#wifi-loader .text::before {
  color: var(--text-color);
}

#wifi-loader .text::after {
  color: var(--front-color);
  animation: text-animation76 3.6s ease infinite;
  position: absolute;
  left: 0;
}

@keyframes circle-outer135 {
  0% {
    stroke-dashoffset: 25;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 301;
  }

  80% {
    stroke-dashoffset: 276;
  }

  100% {
    stroke-dashoffset: 276;
  }
}

@keyframes circle-middle6123 {
  0% {
    stroke-dashoffset: 17;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 204;
  }

  80% {
    stroke-dashoffset: 187;
  }

  100% {
    stroke-dashoffset: 187;
  }
}

@keyframes circle-inner162 {
  0% {
    stroke-dashoffset: 9;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 106;
  }

  80% {
    stroke-dashoffset: 97;
  }

  100% {
    stroke-dashoffset: 97;
  }
}

@keyframes text-animation76 {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  50% {
    clip-path: inset(0);
  }

  100% {
    clip-path: inset(0 0 0 100%);
  }
}
.btn-e {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 35px;
  font-size: 16px;
  border-radius: 50px;
  border: 2px solid #cc902b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  color: #cc902b;
  width: 28%;
  overflow: hidden;
}

.btn-outline img {
  transition: transform 1s ease;
}

.btn-outline:hover img {
  transform: translateX(140px);
}

.btn-filled {
  background: #cc902b;
  color: black;
  width: 28%;
}

.btn-filled:hover {
  background: #b1791f;
}

.btn-e i {
  font-style: normal;
}
.ti {
    font-size: 27px;
    margin: 30px 0;
    font-weight: bold;
    color: black;
}
.total-sunmary{
    width: 100%;
    border: 1px solid #D9D9D9;
    margin: 28px 0;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #979797;
}
.sub-sammary-total{
    color: #BF9456;
}
.two-btn{
    display: flex;
    justify-content: space-around;
    margin: 50px 0 0px 0;
}
.branch-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.branch-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  width: 250px; /* تقدر تعدلها */
}

.branch-card:hover {
  transform: translateY(-5px);
}

.branch-option input:checked + .branch-image img {
  border: 2px solid #f7931e; /* لون مميز عند التحديد */
}

.branch-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
}

.branch-info {
  padding: 10px 15px;
}

.branch-name {
  color: #BF9456;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 18px;
}

.branch-address {
  color: #555;
  font-size: 14px;
}
@media (max-width: 576px) {
    .w-100-mob {
        width: 100% !important;
    }
    .branch-cards {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }
    .sammary-steps {
        grid-template-columns: repeat(1, minmax(250px, 1fr)) !important;
    }
    .summary-card {
        border: 1px solid #BF9456;
    }
    .sub-label {
        display: none;
    }
    .Date-Time-Mob {
        flex-direction: column;
    }
    .calen, .times {
        width: 100%;
    }
    .calendar {
        width: 100%;
    }
    .time-toggle {
        width: 100%;
    }
    .btn-filled {
        width: fit-content;
    }
    .btn-outline {
        width: fit-content;
    }
    .two-btn {
        width: 108%;
    }
}
.notify{
    background: white !important;
    color: black !important;
    width: fit-content !important;
}
.notify .desc11{
    color: black !important;
}
/* أيقونة السلة */
.cart-icon {
    position: fixed;
    top: 150px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #BF9456;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* السلة الجانبية */
.sammary-steps.cart {
    position: fixed;
    top: 100px;
    right: -600px; /* مخفية خارج الشاشة */
    width: 567px;
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
}

/* عند الفتح */
.sammary-steps.cart.open {
    right: 20px;
}

/* عناصر السلة */
#cartItems .summary-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 14px;
}
/* لجعل التمرير سلس */
.sammary-steps.cart {
    overflow-y: auto;
    scroll-behavior: smooth; /* smooth scroll */
}

/* لتخصيص شكل scrollbar في المتصفحات الحديثة */
.sammary-steps.cart::-webkit-scrollbar {
    width: 8px;
}

.sammary-steps.cart::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
}

.sammary-steps.cart::-webkit-scrollbar-thumb {
    background-color: #BF9456;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
}
.step-help-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    transition: right 0.45s cubic-bezier(.4,1.6,.6,1);
    z-index: 9999;
    padding: 28px;
}

.step-help-panel.show {
    right: 0;
}

.help-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-header h4 {
    color: #bc9a69;
    font-weight: bold;
}

.help-header button {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.help-body {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.step-help-btn {
    margin-right: 10px;
    cursor: pointer;
    color: #bc9a69;
    font-size: 18px;
    transition: transform 0.2s;
}

.step-help-btn:hover {
    transform: scale(1.15);
}
  @media (max-width: 768px) {
    .cart-icon {
        right: 10px;
        top: 100px;
    }

    .sammary-steps.cart {
        width: 90%; 
        right: -100%; 
    }

    .sammary-steps.cart.open {
        right: 5%; 
    }
}
.loyalty{
    width: 47% !important;
}