.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
    padding: 0px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    animation: popup-scale 0.4s ease;
    max-width: 670px;
    max-height: 90vh;
 
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes popup-scale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.popup-content {
    background-color: #eee9e6;
    overflow: hidden;
    display: flex;
}

.popup-text-container {
    padding: 25px;
    flex: 6;
}

.popup-image-container {
    flex: 4;
    background-position: center;
    background-size: cover;
    min-height: 310px;
}

.popup-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-heading {
	font-family: "Harlow Duo Serif";
    color: #4a4d4d;
	font-weight:600;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.25;
	text-transform: none;
}

.popup-subtext {
    color: #6c6c6c;
    font-size: 0.9rem !important;
    margin-bottom: 20px;
}

.highlight {
    color: #a0522d;
    font-weight: bold;
}

.popup-text-container p{ font-size:14px !important}
.popup-text-container p span{ font-size:14px !important}

.popup-text-container span.terms p {
    font-size: 10px !important;
    font-weight: 400;
    text-align: left;
    color: #333333;
    display: block;
    margin-bottom: 0;
    margin-top: 20px;
}
.popup-text-container span.terms  p a{ font-weight:400; color:#333333; text-decoration:underline}
.popup-text-container span.terms  p a:hover{color:#a56658; text-decoration:none}

.close-btn {
    position: absolute;
    top: -23px;
    right: 15px;
    background: white;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
	color:#774d46;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.close-btn svg{ width:30px; height:30px}

.join-travel-club-btn {
    background-color: #a56658;
    border: none;
    padding: 10px 0;
    transition: background-color 0.3s;
}

.join-travel-club-btn:hover {
    background-color: #774d46;
}

.terms {
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    margin-top: 20px;
}

.signupMsg{
    margin-top: 10px;
    font-size: 1.3rem;
    text-align: center;

}

.signup_inputs{
    height: 5.1rem;
    border-radius: 1.2rem;
    padding: 1rem 1.2rem;
    border: #774d46 solid 2px;
    font-weight: 400;
    -webkit-appearance: none;
    appearance: none;
    font-size: 1.6rem;
    margin-bottom: 1rem;
	
    background-color: var(--white);
}

@media (min-width: 1299px) and (max-width: 1700px) {
	.popup-heading {

    font-size: 3.4rem;

    line-height: 1.25;
}


.signup_inputs{
    height: 5.5rem;
	    font-size: 1.8rem;
  
}

}


@media (min-width: 1024px) and (max-width: 1300px) {
	.popup-heading {

    font-size: 3.7rem;

    line-height: 1.25;
}
}
@media (min-width: 768px) and (max-width: 1023px) {
	.popup-heading {

    font-size: 3.5rem;

    line-height: 1.2;
}
}


@media (min-width: 320px) and (max-width: 767px) {
	.popup-heading {

    font-size: 3rem;

    line-height: 1.2;
}
}

@media (max-width: 768px) {
    .popup-content {
        flex-direction: column-reverse;
    }
    
    .popup-container {
        max-width: 100%;
    }
    
    .popup-image-container {
        height: 150px;
    }
	
	
}

@media (max-width: 767px) {
.popup-overlay { padding:15px}
.popup-image-container {
    flex: inherit;
  
}
.popup-image-container img {
  
    object-position: bottom;
}
.popup-heading {

    font-size: 2.1rem;


}
.signup_inputs {
    height: 5.8rem !important;
   
    font-size: 2rem !important;
    margin-bottom: 1rem;
 
}
.popup-text-container {

    padding-bottom: 10px;
}
.popup-content {
      
        border-radius: 10px;
    }
}
