﻿.ImgMain {
    /*  width: 339px;
    position: relative;
    top: -25px;
    right: 60px;
    height: 280px;
    transform: rotate(-1deg);*/
    z-index: 6;
    height: 228px;
    top: 8px;
    position: relative;
}
.ImgBack {
    z-index: 5;
    width: 260px;
    position: absolute;
    right: 187px;
    width: 417px;
    height: 309px;
    top: -34px;
    opacity: 0.9;
    transform: rotate(24deg);
}
.ImgMainKarbala {
/*    width: 271px;
    top: -25px;
    right: 105px;
    height: 250px;
    transform: rotate(0deg);*/
    z-index: 6;
    position: relative;
}

.ImgBackkarbala {
    z-index: 5;
    width: 260px;
    position: absolute;
    right: 165px;
    width: 431px;
    height: 288px;
    top: -25px;
    opacity: 0.9;
    transform: rotate(31deg);
}
.card-label-Secend {

}
.card-label-Secend-text {

}
.btn-main-search {
    width: 12%;
    position: relative;
    top: 25px;
    left: 10px;
    padding: 10px 20px;
}
/* Room Selection Trigger */
.room-selection-trigger {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 6px 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    margin-bottom: 2px;
    top: -7px;
    right: -17px;
}

.room-info {
    display: flex;
    flex-direction: column;
}

    .room-info > span {
        font-size: 14px;
        font-weight: 500;
    }

    .room-info > .label {
        font-size: 14px;
        color: var(--gray-500);
        margin-top: 4px;
    }

/* Room Selection Dropdown */
.room-selection-dropdown {
    position: relative;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 10;
    border-radius: 5px;
    box-shadow: 1px 2px 10px #33333340;
    overflow: hidden;
    display: block; /* Change to 'none' to hide initially */
}

.rooms-container {
    max-height: 500px;
    overflow-y: auto;
}

/* Room Styles */
.room {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .room-header h3 {
        font-size: 18px;
        font-weight: 700;
    }

.delete-room-btn {
    background: none;
    border: none;
    color: var(--red);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

/* Guest Type Styles */
.guest-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.guest-info h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.guest-info p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Counter Styles */
.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .counter-btn:hover {
        background-color: var(--gray-100);
    }

    .counter-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.count {
    font-size: 16px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

/* Child Ages Styles */
.child-ages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.child-age-selector {
    flex: 1;
    min-width: 150px;
}

.age-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    background-color: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
}

/* Dropdown Footer */
.dropdown-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-top: 1px solid var(--gray-200);
}

.add-room-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .add-room-btn span {
        font-size: 18px;
    }

.confirm-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 10px 24px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .confirm-btn:hover {
        font-weight: 700;
        color: var(--secondary);
        background-color:transparent;
    }
.delete-room-btn {
    color: #d83535;
    font-size: 16px;
}
.room-info {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 10px;
}
/* Responsive Styles */
@media (max-width: 480px) {
    .form-row {
        max-height: unset;
    }
        .room-selection-dropdown {
        position: relative;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .dropdown-footer {
        position: sticky;
        bottom: 0;
        background-color: var(--white);
    }
}
    @media screen and (max-width:1135px) {
        .ImgMainKarbala {
            height: 214px;
            /* right: 27px; */
            width: 84%;
            position: relative;
            right: -31px;
        }
       
        .ImgBackkarbala {
            right: 16%;
        }

        .banner-title {
            width: 90px;
        }

        .ImgMain {
            height: 214px;
            /* right: 27px; */
            width: 84%;
            position: relative;
            right: -31px;
        }
        .tab-header {
            margin:0 !important;
        }
        .ImgBack {
            right: 81px;
        }
       
    }



@media screen and (max-width:1051px) {
    .feature-cards {
        position: relative;
        margin-top: 139px;
    }
}

    @media screen and (max-width:946px) {

      

        .ImgBackkarbala {
            right: 42px;
        }

        .mashhad > .ImgGroup {
            width: 202px;
        }

    
        .ImgBack {
            right: 65px;
        }
    }

@media screen and (max-width:805px) {
    .ImgBackkarbala {
        right: 17%;
    }
}
    @media screen and (max-width:769px) {
        .ImgBackkarbala {
            right: 19%;
        }
    }

    @media screen and (max-width:768px) {
        .ImgBackkarbala {
            right: 73px;
        }
      
        .banner-title {
             width: unset; 
        }
        .mashhad > .ImgGroup {
            width:unset;
        }
    
        .ImgBack {
            right: 82px;
        }
        .tour-banner.mashhad {
            margin-top: 10px;
        }
    }

@media screen and (max-width:565px) {
  
    .ImgBackkarbala {
        right: 80px;
    }
 
    .ImgBack {
        right: 53px;
    }
}
@media screen and (max-width:455px) {
  
    .ImgBackkarbala {
        right: 62px;
    }
 
    .ImgBack {
        right: 65px;
    }
}
