@font-face {
    font-family: "iransans";
    src: url("../fonts/IRANSansWeb.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "iransans";
    src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.hidden {
  display: none;
}

.sub-text {
  font-size: 14px;
  color: #909090;
  margin-bottom: 8px;
}

.mbp-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.mbp-slot {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  user-select: none;
}
.mbp-slot input {
  display: none;
}
.mbp-slot input:checked + label,
.mbp-slot.checked {
  border-color: #0073aa;
  background: #cce5ff;
}
.mbp-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mbp-booking-form {
  padding: 45px 25px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
#mbp-days-wrapper {
  width: 100%; /* عرض والد */
  overflow-x: auto; /* فعال کردن اسکرول افقی */
  overflow-y: hidden;
  white-space: nowrap; /* جلوگیری از شکستن خط */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /*  IE 10+ */
}

#mbp-days-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

#mbp-container {
  display: flex;
  gap: 8px;
}

.mbp-day-btn {
  flex: 0 0 auto; /* جلوی هم بمانند */
  padding: 6px 12px;
  cursor: pointer;
  border: 1px solid #0f60b1;
  color: #0f60b1;
  background-color: #ffffff;
  width: 150px;
  border-radius: 12px;
}
.mbp-day-btn:hover {
  background-color: #0f60b1;
  color: #ebebeb;
  animation: fadeIn 0.3s ease-in-out;
}
.mbp-day-btn.active {
  background-color: #0f60b1;
  color: #ebebeb;
}

#mbp-time-wrapper {
  width: 100%; /* عرض والد */
  overflow-x: auto; /* فعال کردن اسکرول افقی */
  overflow-y: hidden;
  white-space: nowrap; /* جلوگیری از شکستن خط */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /*  IE 10+ */
}

#mbp-time-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

#slots-container {
  display: flex;
  gap: 8px;
}

.mbp-slot {
  flex: 0 0 auto; /* جلوی هم بمانند */
  width: 100px;
  text-align: center;
  border-radius: 12px;
}

.mbp-slot:hover {
  border: 1px solid #0f60b1;
}
.mbp-slot.active {
  color: #0f60b1;
  border: 2px solid #0f60b1;
}

#mbp-pay {
  width: 150px;
  text-align: center;
  background-color: #0f60b1;
  color: #ffffff;
  border: none;
  border-radius: 12px;
}

#mbp-pay:hover {
  background-color: #fefefe;
  color: #0f60b1;
  border: 2px solid #0f60b1;
  animation: fadeIn 0.3s ease-in-out;
}

.mbp-result {
    font-family: "iransans", sans-serif;
}

.mbp-result button {
    text-align: center;
    background-color: #0f60b1;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 11px 26px;
}
.mbp-result button:hover {
    background-color: #fefefe;
    color: #0f60b1;
    border: 2px solid #0f60b1;
    animation: fadeIn 0.3s ease-in-out;
}

.mbp-result-board{
    background-color: white;
    padding: 40px 80px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mbp-result-board h4{
    font-weight: 700;
    color: #0971a1;
}

.mbp-result-board p.time {
    color: #373738;
}

.mbp-result-board a {
    color: #0073aa;
    font-weight: 700;
}
.mbp-result-board a:hover {
    color: #036491;
    font-weight: 700;
}

.mbp-result-success {
    color: #279056 !important;
}

@media (max-width: 767px) {
    .mbp-result-board { 
        width: 320px;
        padding: 40px 40px;
    }

    .mbp-result-board h4 {
        font-size: 18px;
    }

    .mbp-result-board p.time {
        font-size: 15px;
    }

    .mbp-result-board a {
        font-size: 15px;
    }

    .mbp-result-board p {
        font-size: 13px;
        line-height: 1.8;
    }
}