/**/
.popcontainer {
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.pop-jointxt{
padding: 10px 10px 0px 0px;
}
.pop-w5 {
    width: 100%;
    /* height: 100%; */
}

.pop-btnsubmit{
	font-weight: bold;
        white-space: nowrap;
        height: 30px; /* Match input height */
        display: flex;
        align-items: center;
        justify-content: center;
}



 .pop-listedbtn {
        display: flex;
        align-items: center;  /* Vertically align input and button */
    }

    .textinput-ask {
        flex: 1;  /* This will allow the input field to take up most of the space */
        margin-right: 10px;  /* Add some spacing between input and button */
    }

    .btnsubmit {
        white-space: nowrap; /* Ensure the text doesn't wrap inside the button */
        height: 30px;  /* Same height as input field */
        display: flex;
        align-items: center;
        justify-content: center;
    }
	

.popcontainer>div {
    margin: 0;
    padding: 0;
    width: 90%;
    max-width: 800px;
    height: auto;
}

.popcontainer>div img {
    width: 100%;
    height: auto;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .8);
}

.pop-joinus {
   width: 80%;
    max-width: 800px;  /* ความกว้างสูงสุด */
    max-height: 350px; /* ความสูงสูงสุด */
    background-color: #f47920;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    margin: 0 auto; /* จัดกึ่งกลาง */
    height: auto; /* ปรับให้สูงตามเนื้อหา */
	}
	 
    /* ปรับขนาดตัวอักษรสำหรับหน้าจอเล็ก */
    @media (max-width: 600px) {
	.pop-joinus{
			/* padding: 10px 10px 10px 10px; */
			padding: 15px;
			}
			
        .pop-joinus p {
            font-size: 5vw;
        }
		 .pop-joinus input, .pop-joinus button {
            font-size: 3vw;
        }
    }

    /* ปรับขนาดตัวอักษรสำหรับหน้าจอใหญ่ */
    @media (min-width: 601px) {
        .pop-joinus p {
            font-size: 4vw;
        }
		
		  .pop-joinus input, .pop-joinus button {
            font-size: 2vw;
        }
    }
	/* สำหรับขนาดหน้าจอสูงสุด 2024px */
/* @media (max-width: 2024px) { */
    /* .pop-joinus p{ */
        /* font-size: 2vw; */
    /* } */
	/* .pop-joinus input , .pop-joinus button { */
	
	/* font-size: 2vw; */
	/* } */
/* } */

/* สำหรับขนาดหน้าจอที่ใหญ่กว่า 1024px */
@media (min-width: 1025px) {
    .pop-joinus p {
        font-size: 2vw;
    }
	.pop-joinus input , .pop-joinus button {  
	font-size: 2vw;
	}
}

/* สำหรับขนาดหน้าจอที่ใหญ่กว่า 1424px */
@media (min-width: 1100px) {
    .pop-joinus p {
        font-size: 2vw;
    }
	.pop-joinus input , .pop-joinus button {  
	font-size: 1vw;
	}
}

.pop-listedbtn{
	
	 display: flex;
    width: 100%;
    align-items: center;
}

.shapebox{
       display: inline-flex;
	 /* width: 100%;  */
	   position: relative;
}

.effect1 {
    background-color: #00cc99;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 100%;
    border-bottom-left-radius: 0;
}
.effect2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 18vw; /* ใช้ขนาดสัมพันธ์กับความกว้างของ viewport */
    height: 18vw; /* ใช้ขนาดสัมพันธ์กับความกว้างของ viewport */
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 100%;
    background-color: #00cc99;
}
 /* ปรับขนาดสำหรับหน้าจอที่มีความกว้างเล็กกว่า 600px */
@media (max-width: 600px) {
    .effect2 {
        width: 20vw;
        height: 20vw;
    }
}
	/* สำหรับขนาดหน้าจอสูงสุด 1024px */
@media (max-width: 1024px) {
    .effect2 {
        width: 15vw;
        height: 15vw;
    }
}

/* ปรับขนาดสำหรับหน้าจอที่มีความกว้างใหญ่กว่า 1024px */
@media (min-width: 1025px) {
    .effect2 {
        width: 10vw;
        height: 10vw;
    }
}
.btnpopclose {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    color: #FFF;
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 200;
    line-height: 0;
    white-space: nowrap;
    vertical-align: middle;
    
    border-radius: 50%;
    outline: none;
    box-shadow: none;
    background-color: var(--orenge);
    cursor: pointer;
    transition: all ease-in-out .35s;

}

.btnpopclose:focus,
.btnpopclose:hover {
    color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, .1);
    outline: none;
} 

@media(max-width:992px){
.btnpopclose {
    top: auto;
    right: auto;
    bottom:30px;
    left:50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
 }
}
.textinput-ask {
    position: relative;
    color: #333;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    margin-bottom: 20px;
    padding: 10px 20px;
    border: 1px solid #dadada;
    border-radius: 5px;
    background: #FFF;
    box-shadow: none;
    cursor: pointer;
    outline: none;
    font-size: 1em;
    font-weight: 400;
    transition: all 150ms ease;
    height: 30px; /* Set the height */
    margin-bottom: 0; /* Remove bottom margin for inline alignment */
    margin-right: 10px; /* Space between input and button */
}

.pop-btnWhite, .pop-btnWhite:hover, .pop-btnYellow, .pop-btnYellow:hover {
	/* font-weight: bold; */
    /* font-size: 1.1em; */
    line-height: 1.1em;
    max-width: 150px; /* Adjust to control button width */
    text-align: center;
    border: none;
    outline: none;
    background-color: #fff;
    color: var(--indigo-btn); /* Ensure --orange is correctly spelled in your CSS variables */
    padding: 0 20px; /* Adjust padding as needed */
    border-radius: 5px;
    white-space: nowrap;
    text-overflow: inherit;
    height: 30px; /* Match input height */
    display: flex; /* Center content vertically */
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease, color 150ms ease;
	   
}

 
.pop-btnYellow,
.pop-btnYellow:hover {
  background-color: var(--yellow);
}


/* Custom Alert Box Styles */
        .custom-alert-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .custom-alert-box {
            background-color: white;
            padding: 20px;
            width: 300px;
            max-width: 80%;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .custom-alert-box h3 {
            margin: 0 0 10px;
            font-size: 20px;
        }

        .custom-alert-box p {
            margin: 0 0 20px;
            font-size: 16px;
        }

        .custom-alert-box button {
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            border: none;
        }

        /* Button colors for different statuses */
        .btn-fail {
            background-color: red;
            color: white;
        }

        .btn-fail:hover {
            background-color: darkred;
        }

        .btn-success {
            background-color: green;
            color: white;
        }

        .btn-success:hover {
            background-color: darkgreen;
        }
		

:root {
	--indigo-btn:#5f6cb2;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

