@import url('fonts.css');

h1,h2,h3,h4,h5,h6,p,a,span,div,li,button,input,textarea {
    font-family: 'Peyda', sans-serif;
}
a{
    text-decoration:none!important;
}
h1,h2,h3,h4,h5,h6{
  font-weight: 800!important;
}
.icon-box {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 25%;
    padding: 5px;
    background-color: #f8f9fa;
}
.box-menu-item {
    text-align: center;
    margin-bottom: 30px;
}
.box-menu-item p{
    font-size: 20px;
    font-weight: 600;
}
.box-menu-item ul li a{
    text-decoration: none;
    font-size: 16px;
    color:#000;
    font-weight: 600;
}
.list-menu-item{
    padding: 0;
}
label{
    font-weight: 600!important;
    font-size:16px;
    padding:10px 0 ;
}
button.btn, a.btn{
    font-weight: 600;
}

.routecumb {
    padding:10px;
}
.routecumb a{
    border-left: 1px solid #ddd;
    text-decoration: none;
    font-weight: 600;
    color: #fff !important;
}
.routecumb a:hover{
  background:#4bb543;
  transition: 0.5s;
}

.card .card-title svg{
    height:150px;
    width:150px;
    background: #f7f4f4;
    padding: 20px;
    border-radius: 50%;
}
.card .card-title a{
    text-decoration:none;
    color:#222;
    font-size:18px;
}
.card .card-title a:hover{
    font-weight:bold;
}
/*-----------------------------*/

.step-btn-top{
    background:transparent;
    border:0px;
    color:#000;
}
.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
  font-family: 'Peyda', sans-serif;
}

.stepper-item.active .step-name a {
  font-weight: 700;
  color: #4bb543;
}

.stepper-item.completed .step-counter {
  background-color: #4bb543;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #4bb543;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}
.step-name a{
    text-decoration: none;
    color:#1b1b1b;
    font-weight: 600;
}
.step-name a:hover{
    color:#4bb543
}
.pagination{
  display: flex;
  justify-content: center ;
}
.pagination .page-numbers{
  color:#000;
  font-weight: 600;
  margin: 0 5px;
  padding:8px 12px;
  border:1px solid #ddd;
  text-decoration: none;
}
.pagination .page-numbers .current{
  background-color: #4bb543;
  color:#fff;
  border:none;
}
.pagination .page-numbers:hover{
  background-color: #4bb543;
  color:#fff;
  border:none;
}
.pagination .page-numbers a{
  text-decoration: none;
}
.action-btn{
  text-decoration: none;
}
.select2{
  width:100%!important;
}
.start-required{
  font-family: 'Courier New', Courier, monospace!important;
  color:red
}
.preview-area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.preview-area .image-box, .old-box .image-box{
  position: relative;
  width: 240px;
  height: 200px;
  object-fit:cover;
}
.preview-area img, .old-box img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ddd;
  cursor: pointer;
}
.image-box.active img {
  border-color: #0073aa;
}
.image-box span.main-label {
  position: absolute;
  bottom: 3px;
  left: 3px;
  background: #0073aa;
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
}
.main-image{
    width:100px;
    height:100px;
    border:2px solid #ccc;
    border-radius:15px;
}
.navbar-brand{
  color:#fff;
}
.navbar {
  direction: rtl;
  font-size: 0.95rem;
}
.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;;
}
.dropdown-menu{
  font-size: 16px !important;
  font-weight: 600!important;
}
.nav-link:hover,
.dropdown-item:hover {
  background: #eef107 !important;
  color:#000 !important;
  border-radius: 5px;
  transition:0.2s;
}

.dropdown-menu {
  text-align: right;
  font-size: 0.9rem;
}

.gallery {
    position: relative;
    display: grid;
    grid-template-columns: 50% 25% 25%;
    grid-template-rows: auto auto;
    gap: 8px;
}

.gallery img.gallery-item {
    width: 100%;
    height: 190px!important;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
}

.gallery img.main-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 400px!important;
    border-radius: 15px;
    object-fit:cover;
}

.open-gallery-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,.7);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}


#galleryModal {
    display: none;
    position: fixed;
    z-index: 999999;                /* مشکل تو حل می‌کند */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#galleryModal img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    margin-bottom: 20px;
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    z-index: 1000000;  /* جلوتر از عکس */
}

.nav-btn {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    z-index: 1000000;
    user-select: none;
}

#prevBtn , #nextBtn{
    position: absolute;
    top: 35%;
    background: #ccc;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
}
#prevBtn{ right: 20px; }
#nextBtn { left: 20px; }

#thumbs {
    display: flex;
    gap: 10px;
}

#thumbs img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .3s;
}

#thumbs img.active {
    border-color: #fff;
}
.about-box{
    padding:20px;
}
.about-box p{
    text-align:justify;
    font-size:16px;
    font-weight:600;
}
.about-box p img, .about-box img{
    width:80%!important;
    border-radius:15px!important;
    box-shadow: 2px 2px 5px #f2f2f2!important;
    margin:10px auto;
    display:block;
}
.title-meta{
    width:80%;
}
.box-calander{
    width:20%;
}
.room_image{
    height:150px!important;
    object-fit:cover;
    width:100%;
}
.box-image-room{
    border-left:1px solid #ccc;
    padding-left:10px;
}
.link-item{
    text-decoration: none; 
}
.link-item:hover .card{
    background:#f2f2f2;
    box-shadow:2px 2px 5px #ccc;
    transition:0.5s;
}
.text-hover:hover {
 font-weight: 900;
    color: #d50bcd;
    font-size: 18px;
    transition: 0.5s;
}
.image-box{
    padding: 20px;
    border-radius: 50%;
}
.image-box svg{
    width:64px;
    height:64px;
}
.badge-icon {
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    border-radius:50%;
}
.reserv-svg svg{
    height:30px;
    width:30px;
}
.select-date{
    background:#ccc;
}
.date-special{
    cursor: pointer;
}
/**  front paage */
.title-room{
    font-size:18px;
}
.box-icon span{
    border-left: 1px solid #aaaaaa85;
    padding-left:5px;
}
.box-icon span svg{
    opacity:0.5;
}
.button-calander{
    background:transparent;
    border:0;
    
}
.text-muted {
   
    color: #aaa !important;
}
.hotelsara-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.hotel-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: .3s;
}

.hotel-card:hover {
    cursor:pointer;
}

.hotel-image img {
    width: 100%;
    height: 170px!important;
    object-fit: cover;
    border-radius:10px!important;
}

.hotel-info {
    padding: 5px 2px;
}
.hotel-info svg{
    width:13px;
    
}

.hotel-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hotel-price {
    color: #3f7cff;
    font-size: 15px;
    margin-bottom: 15px;
}

.hotel-btn {
    display: inline-block;
    padding: 8px 14px;
    background: #3f7cff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}
.hotel-btn:hover {
    background: #2b5ed7;
}
.address-box{
    text-align:center;
}
.title-text, .hotel-address{
    font-size:20px;
    font-weight:600;
    text-align:center;
}
.hotel-stars-wrap{
    display: flex;
    flex-direction:row;
    justify-content:start;
    padding:10px;
    gap:15px;
}
.phone-box{
    text-align:center;
}
.text-phone{
    font-size: 18px;
    font-family: Vazir;
}
.phone-number {
        font-size: 30px;
    font-weight: 600;
    font-family: 'VazirMatnFN';
}


.calendar-box {
    width: 100%;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.btn-nav {
    cursor: pointer;
    background: #f2f2f2;
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 20px;
}

.months-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.calendar-month {
    width: 48%;
}
/* --- Calander ---*/
 .entering-date .datepicker-container-inline .datepicker-plot-area{
    border:0!important;
    box-shadow:none!important;
}
.pwt-btn-switch{
    font-size:25px!important;
    font-weight:700!important;
}
.pwt-btn-next, .pwt-btn-prev{
    transform: rotate(180deg)!important;
}

.datepicker-plot-area .datepicker-navigator .pwt-btn-prev{
   background: no-repeat url(../img/right.svg);
    display: block;
    width: 15%;
    float: left;
    background-position: center;
    color: #fff; 
      transform: rotate(0deg)!important;

}
.datepicker-plot-area .datepicker-navigator .pwt-btn-next{
   background: no-repeat url(../img/right.svg);
    display: block;
    width: 15%;
    float: left;
    background-position: center;
    color: #fff; 
  transform: rotate(180deg)!important;
}
.title-modal-date{
    font-size:25px;
    font-weight:700;
}
#calanderpopup .modal-dialog .modal-content .modal-header{
    display:flex!important;
    justify-content:space-between;
    align-items:center;
    flex-direction: row;
}
.entering-date-select,.ending-date{
    border:1px solid #ccc;
    padding:10px;
    border-radius:15px;
    text-align:center;
}
.custom-style-radio {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    background: #b1aaa833;
    border: 3px solid #FFF;
    box-shadow: 0 0 0 1px #d1d0d0;
    padding: 5px !important;
    margin-left: 5px;
}
.custom-style-radio:checked{
    background-color: #f15555;
}
.prev-month svg, .next-month svg{
    height:45px;
    width:45px;
}
.content-calender {
    height: 300px;
    overflow-y: scroll;
    scrollbar-color: var(--main-color) #f2f2f2;
    scrollbar-width: thin;
    border-radius: 5px;
}

/* ---- Archive -----*/

.hotels-archive-wrapper {
    display: grid;
    gap: 20px;
}

/* LIST */
.hotel-list {
    display: grid;
    grid-template-columns: 220px 1fr 180px;
    gap: 20px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
}

/* GRID */
.hotels-archive-wrapper.layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.hotel-grid {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

/* COMPACT */
.hotel-compact {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

/* COMMON */
.hotel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-price {
    color: #e63946;
    font-weight: bold;
}

.hotel-btn {
    display: inline-block;
    background: #0077ff;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
}
.star_box svg{
    width:18px;
    height:18px;
}
.thumbnail_list_view{
   width:165px!important;
   height:190px!important;
   object-fit:cover;
   border-radius:10px!important;
}
.var{
    align-self: stretch;
    background-color: currentColor;
    color: #ddd;
    display: inline-block;
    min-height: 1em;
    width: 1px;
}
.price-hotel-archive{
    font-size:20px;
    font-weight:700;
}
.border-right{
    border-right:1px solid #ccc;
}
.border-left{
    border-left: 1px solid #ccc;
}
.archive-facility .facility-item{
    padding: 3px 15px;
    font-size: 13px;
    color: #000;
    font-weight: 700;
}
.box-left-archive .offbox{
   background: #d3f5e3;
    padding: 7px 15px !important;
    color: #039910;
    font-size: 14px;
}
.btn-reserv-archive{
    padding: 9px;
    font-weight: 700;
    font-size: 19px;
    border-radius: 15px;
}
textarea:focus, input:focus{
    outline: none!important;
}
.hotel-list.loading {
    opacity: 0.4;
    pointer-events: none;
}

.no-result {
    padding: 20px;
    text-align: center;
    color: #888;
}
.hotel-star-icon svg{
    height:20px;
    width:20px;
}

.filter-star, .filter-hotel-item{
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

.filter-star:checked::after, .filter-hotel-item:checked::after {
    content: "✓";
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 15px;
    color: #dd0b0b;
    font-weight:bold;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* calander single */
.calendar-grid ,.calendar-weekdays{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align:center;
    font-weight:600;
}

.calendar-cell {
    border-radius: 10px;
    padding: 8px;
    min-height: 60px;
    background: #fff;
}

.calendar-cell.disabled {
    background: #f5f5f5;
    color: #aaa;
    pointer-events: none;
}

.calendar-cell .day {
    font-weight: bold;
}

.calendar-cell .price {
    font-size: 13px;
    margin-top: 6px;
    font-weight:600;
}

.calendar-cell.selected {
    border: 2px solid #d32f2f;
}

.friday {
    color: #d32f2f;
}

/* -----  */

 .price-box-cart {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    overflow-y: auto;
    height:70vh;
}
.night-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}
.discount {
    color: #2e7d32;
    font-size: 13px;
}
.hotel-content-wrapper {
    position: relative;
}

.hotel-content {
    overflow: hidden;
    transition: max-height 0.4s ease;
    line-height: 35px;
    text-align: justify;
}
.hotel-content p{
    font-size:15px;
}
.hotel-content img{
   width: 60%;
    height: 377px !important;
    margin: auto;
    border-radius: 15px !important;
    object-fit: cover;
    display: block;
}

.hotel-content.short {
    max-height: 180px; /* حدود 4–5 خط */
}

.hotel-content.short::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.show-more-btn {
    background: none;
    border: none;
    color: #0d6efd;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    z-index: 1000;
    width:100%;
    text-align:center;
}

.modal-backdrop,
.overlay,
.loading {
    pointer-events: none !important;
}
body { overflow: auto!important;  }


/* ===== Gallery Modal  ===== */

.hotel-gallery {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 12px;
    height: 360px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

.gallery-main,
.thumb {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-main{
    height:350px;
}
.thumb{
    height:170px;
}
.gallery-main img,
.thumb img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    border-radius:15px!important;
}

.more-images {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 13px;
    z-index:1000;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}


/*----- End Gallert Single ---*/

.night-scroll-wrapper {
    overflow: hidden;
    cursor: grab;
}

.night-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    user-select: none;
}

.night-scroll::-webkit-scrollbar {
    display: none;
}

.night-scroll:active {
    cursor: grabbing;
}

.night-scroll .col-4 {
    flex: 0 0 auto;
    width: 165px; /* عرض هر کارت */
}
.remove-row-passanger{
    width: 45px;
    text-decoration: none;
    padding: 9px;
    margin-top:45px;
}
.remove-item-duration{
    top: -10px;
    right: -15px;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 10px;
}
.select2-container--open .select2-dropdown{
    top:20px;
}
.link-duration:hover{
    z-index: 1;
    color: #fb373e;
    text-decoration: none;
    background-color: #fff3f3;
}
.text-justify{
    text-align:justify;
}

.hotel-duration-box {
    max-height: 150px; /* ارتفاع قابل اسکرول */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
     overflow-x: hidden; 
}

/* اسکرول‌بار برای Chrome / Edge / Safari */
.hotel-duration-box::-webkit-scrollbar {
    width: 4px;
}

.hotel-duration-box::-webkit-scrollbar-track {
    background: transparent;
}

.hotel-duration-box::-webkit-scrollbar-thumb {
   background-color: #d0d0d0;
    border-radius: 10px;
}

.hotel-duration-box::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* فایرفاکس */
.hotel-duration-box{
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
    
}

.box-holder-searchbox{
    width:500px;
    background:#ffff;
    border-radius:25px;
}
#list-hotel-content{
       background: #fff;
    list-style: none;
    line-height: 20px;
    position: absolute;
    width: 95%;
    height: 200px;
    top: 51px;
}
.select2-container--default .select2-selection--single,.select2-container--default .select2-search--dropdown .select2-search__field{
    border:0px!important;
}
.box-holder-searchbox .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow
{
    display:none;
}
.box-holder-searchbox svg{
    height:32px;
    width:32px;
}
.sidebaradmin{
    background: #212529;
    position: fixed;
    left: 0;
    top: 120px;
    height: 100vh;
    padding-top:40px;
}
.item-sidebar{
    position: relative;
}
.item-sidebar .list-menu-item{
    position: absolute;
    top: 0;
    left: 102px;
    width: 180px;
    border-radius: 0;
}
.item-sidebar .list-menu-item .list-group-item a{
 text-decoration:none;   
}
.edit-row .form-group .form-control{
    padding:5px;
    font-size:13px;
}
.box-widget{
    height:200px;
    overflow-y: scroll;
}
.box-widget a{
     text-decoration:none;
     color:#000;
}
.box-widget a:hover{
    color:#f00;
    font-weight:bold;
}
.bg-success-light{
    background: #9effd24f;
    color: #0a5431;
    font-weight: bold;
}
.bg-info-light{
    background: #c9f6ff94;
    color: #084652;
    font-weight: bold;
}
.bg-warning-light{
    background: #ffc10730;
    color: #816000;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hotel-duration-box{
        max-height: 200px;
    }
}
