html, body {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 13px;
}

.h100{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.custom-made-left-part{
    background:#efefef;
    width:40%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
}
.custom-made-right-part{
    background:#fff;
    width:60%; 
    overflow-y: auto; /* Enable vertical scroll */
    max-height: 100vh; /* Limit height to viewport height */
    margin-left: 40%;
}
.custom-made-main-part {
    display: flex;
    align-items: flex-start; 
}
ul.custom-made-tabs {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: fixed;
    top: 0;
    width: 60%;
    border-bottom: 1px solid #d8d8d8;
    background: #fff;
}
ul.custom-made-tabs li {
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-flex; 
    width: 32%;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}
ul.custom-made-tabs li.active {
    border-bottom: 1px solid;
    font-weight: 500;
}
.tab-pane {
    display: none;
    transition: opacity 0.5s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}
.custom-details label{
    width: 100%;
    display: flex;
}
.custom-details .custom-form{
    width: 100%;
    display: flex;
    min-height: 35px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.custom-details .custom-form:focus, .custom-details .custom-form:focus-visible{ 
    border: 1px solid #d8d8d8; 
    outline: none;
}
.custom-details .custom-form option, .custom-details .custom-form select{
    font-size: 14px;
}
.custom-details textarea.custom-form{ 
    min-height: 70px; 
}
.tab-content {
    padding: 20px;
    margin: 50px 0 0 0;
}
.custom-form-field {
    margin: 0 0 20px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.custom-btn{
    padding: 10px 20px;
    border: 1px solid #623817;
    border-radius: 5px;
    background: #623817;
    color: #fff;
    width: 80px;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    justify-content: center;
    display: flex;
}
.outline-btn{
    padding: 10px 20px;
    border: 1px solid #623817;
    border-radius: 5px;
    background: #fff;
    color: #623817;
    width: 80px;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    justify-content: center;
    display: flex;
}
.tab-content .group {
    display: flex;
    justify-content: space-between;
    margin: 0 0 20px 0;
    border: 1px solid #d8d8d8;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
}
.popup {
    position: fixed;
    top: 0;
    right: -100%; /* Initially position off-screen to the right */
    width: 60%; /* Adjust as needed */
    height: 100%; 
    transition: right 0.5s; /* Decreased transition duration */
}
.popup-inner-part .details {
    padding: 0 0 100px 0;
}

.popup-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; /* Adjust as needed */
    height: 100%;
    background-color: white; 
}

.slideInRight {
    animation: slideInRightAnimation 1s forwards;
}

@keyframes slideInRightAnimation {
    from {
        transform: translateX(100%); /* Slide in from the right */
    }
    to {
        transform: translateX(0);
    }
}
.popup-inner-part {
    padding: 30px;
    height: 100%;
    overflow: scroll;
}
.popup-inner-part .name {
    margin: 0 0 30px 0;
    text-align: center;
    width: 100%;
    font-size: 20px;
}
.popup-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #d8d8d8;
    left: 0;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    background: #fff;
}
.popup-bottom .close-btn{
    padding: 10px 20px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    width: 100px;
    text-align: center;
    cursor: pointer;
}
.popup-bottom .apply-btn{
    padding: 10px 20px;
    border: 1px solid #623817;
    border-radius: 5px;
    background: #623817;
    color: #fff;
    width: 100px;
    text-align: center;
    cursor: pointer;
}
.popup-details-block {
    display: flex;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    padding: 20px;
    cursor: pointer;
    margin: 0 0 20px 0;
    justify-content: space-between;
}

.popup-details-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-details-right img {
    width: 160px;
    border-radius: 5px;
}

.popup-details-left h4 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 500;
}

.popup-details-left p {
    margin: 0;
}
.custom-made-summary {
    display: flex;
    justify-content: space-between;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
} 

.custom-made-summary h4 {
    margin: 0;
    font-weight: 400;
}

.custom-made-summary p {
    margin: 0;
}
.summary-title {
    font-weight: 500;
    margin: 30px 0 10px 0;
}
.summary-btn{
    padding: 10px 20px;
    border: 1px solid #623817;
    border-radius: 5px;
    background: #623817;
    color: #fff;
    width: 100px;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    justify-content: center;
    display: flex;
}
.d-flex {
    display: flex;
}

@media (max-width:767px) {
    .custom-made-main-part {
        flex-wrap: wrap;
        height: auto;
    }
    .custom-made-left-part {
        width: 100%;
        position: relative;
        height: 25%;
    }
    .custom-made-right-part {
        width: 100%;
        margin: 0;
        position: relative;
    }
    ul.custom-made-tabs {
        position: absolute;
        width: 100%;
    }
    .h100 {
        height: auto;
    }
    .custom-made-left-part > img {
        height: 200px;
    }
    .popup {
        width:100%
    }
    .popup-details-right img {
        width: 110px; 
    }
}