/* CSS for the dialog box */
.dialog-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 2px solid #550838;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.dialog-box p {
    text-align: center;
    margin-bottom: 20px;
}

.dialog-box button {
    padding: 10px 20px;
    background-color: #550838;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.g-recaptcha-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
#captcha-error {
    color: red;
    font-size: 14px;
    display: none; /* Initially hide the error messages */
    word-wrap: break-word;
    text-align: center; /* Center align the text */
    margin-top: 10px; /* Add some top margin for spacing */
    margin-bottom: 10px;
    

}

        
.error-message {
    color: red;
    font-size:14px ;
    display: none; /* Initially hide the error messages */
    text-align: center; /* Center align the text */
    margin: 20px auto; /* Add margin to center the message horizontally */
    margin-bottom: 5px;
}

.success-message {
    color: green;
    
    font-size: 14px;
    margin: 10px auto; /* Add margin to center the message horizontally */
}

#showFormButton {
    display: none;
}

.hidden {
    display: none;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}



.form {
    display: flex;
    justify-content: center; /* Center the content horizontally */
}

.checkboxes-container {
    display: flex;
    align-items: center; /* Align checkboxes and labels vertically center */
    align-content: center;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
     color: #444444;
     margin-top: 10px;
     margin-left:120px;
}

/* Adjust spacing between checkboxes */
.checkboxes-container label {
    margin-right: 20px; /* Adjust spacing between checkboxes as needed */
}

/* Adjust label width to ensure proper alignment */
.checkboxes-container label {
    display: inline-block; /* Ensure label and checkbox stay on the same line */
    width: auto; /* Adjust label width as needed */
}

.phone-input-container {
    display: flex;
    flex: 1;
    align-items: center;
    font-size: 13px;
    color: #444444;
    margin-top: 10px;
    width: 100%; /* Set width to 100% to adapt to the parent container */
    flex-wrap: wrap; /* Allow flex items to wrap to the next line if needed */
}

.phone-input-container select {
    flex: 1; /* Let the select element grow flexibly */
    max-width: calc(20% - 10px); /* Limit the width of the select element */
    color: #444444;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    height: 28px;;
    border-radius: 5px;
}

.phone-input-container input {
    flex: 2; /* Let the input element grow flexibly */
    max-width: calc(80% - 10px); /* Limit the width of the input element */
    margin-left: 5px; /* Add some space between the select and input elements */

    
}




        
@media only screen and (min-width: 501px) and  (max-width:600px) {
    /* Adjust the size of the reCAPTCHA checkbox */
    .g-recaptcha > div {
      transform: scale(0.75); /* Adjust the scale factor as needed */
    }
    .phone-input-container {
        display: flex;
        align-items: center;
        font-size: 13px;
        color: #444444;
        margin-top: 10px;
        width: 100%; /* Set width to 90% to adapt to the parent container */
        flex-wrap: wrap; /* Allow flex items to wrap to the next line if needed */
        margin: 0 auto;
        margin-left: 30px;
    }

    .phone-input-container select {
        flex: 1; /* Let the select element grow flexibly */
        max-width: calc(30% - 20px); /* Limit the width of the select element */
        color: #444444;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 13px;
        height: 28px;
        border-radius: 5px;
    }

    .phone-input-container input {
        flex: 2; /* Let the input element grow flexibly */
        max-width: calc(60% - 30px); /* Limit the width of the input element */
        margin-left: 5px; /* Add some space between the select and input elements */
    }

    .error-message {
        color: red;
        font-size:14px ;
        display: none; /* Initially hide the error messages */
        text-align: center; /* Center align the text */
        margin: 20px auto; /* Add margin to center the message horizontally */
        margin-bottom: 5px;
    }
    
    .success-message {
        color: green;
        
        font-size: 14px;
        margin: 10px auto; /* Add margin to center the message horizontally */
    }
    

  }
     

         
@media only screen and (min-width: 0px) and  (max-width:500px) {
    /* Adjust the size of the reCAPTCHA checkbox */
    .g-recaptcha > div {
      transform: scale(0.75); /* Adjust the scale factor as needed */
    }
    .phone-input-container {
        display: flex;
        align-items: center;
        font-size: 13px;
        color: #444444;
        margin-top: 10px;
        width: 100%; /* Set width to 90% to adapt to the parent container */
        flex-wrap: wrap; /* Allow flex items to wrap to the next line if needed */
        margin: 0 auto;
        margin-left: 50px;
    }

    .phone-input-container select {
        flex: 1; /* Let the select element grow flexibly */
        max-width: calc(30% - 40px); /* Limit the width of the select element */
        color: #444444;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 13px;
        height: 28px;
        border-radius: 5px;
    }

    .phone-input-container input {
        flex: 2; /* Let the input element grow flexibly */
        max-width: calc(70% - 80px); /* Limit the width of the input element */
        margin-left: 5px; /* Add some space between the select and input elements */
    }
    
    
    .error-message {
        color: red;
        font-size:14px ;
        display: none; /* Initially hide the error messages */
        text-align: center; /* Center align the text */
        margin: 10px auto; /* Add margin to center the message horizontally */
        margin-bottom: 5px;
    }
    
    .success-message {
        color: green;
        
        font-size: 14px;
        margin: 10px auto; /* Add margin to center the message horizontally */
    }
    
  }
     