.box-image-text .image {
    min-height: 190px;
    max-height: 190px;
}

.box-image-text .image img {
    max-height: 190px;
    margin: auto;
}

.box-simple {
    min-height: 230px;
}

.language-selector {
    text-align: center;
    margin: 1px;
}

.language-selector a {
    display: inline-block;
    padding: 3px;
}

.language-selector a.active {
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="Name"],
input[type="Email"],
input[type="Wechat"],
textarea {
    width: 100%;
    padding: 6px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-align: left;
}

input[type="Name"]:focus,
input[type="Email"]:focus,
input[type="Wechat"]:focus,
textarea:focus {
    border-color: #90cdf4;
    outline: none;
}

textarea.chatboxMessage {
    height: 125px;
}

/* Submit Button Styling */
button[type="chatboxSubmit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block; /* Makes the button a block element */
    margin: 0 auto;
    text-align: center;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

#chatbotIcon {
    /* Style as needed */
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
}

#closeChatbox {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-color: #4A5568; /* A professional deep blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

#closeChatbox::before, #closeChatbox::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: white;
}

#closeChatbox::before {
    transform: rotate(45deg);
}

#closeChatbox::after {
    transform: rotate(-45deg);
}

#closeChatbox:hover {
    background-color: #2D3748; /* A darker shade for hover */
    transform: scale(1.1);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 450px) {
    #chatboxForm {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0; /* Add this line to make it cover the entire width */
        height: auto; /* Remove height property */
        border-radius: 0;
        max-width: 100%; /* Make it cover the entire width */
    }
}

#chatboxForm {
    position: fixed;
    bottom: 10px;
    right: 10px;
    max-width: 450px;
    width: 100%;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1001; /* Ensures the form stays above other content */
    box-sizing: border-box; /* Includes padding and border in the width */
}

#chatbotIcon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.5s ease;
}

#chatbotIcon:hover {
    transform: scale(1.2);
}

.chatboxOptionsContainer {
    display: flex;
    justify-content: center; /* Centers the items horizontally */
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    gap: 6px; /* Adds space between checkboxes */
}

.chatboxCheckboxLabel {
    display: flex;
    align-items: center; /* Aligns checkbox and label text */
    flex-grow: 1; /* Each label takes up equal space */
    justify-content: center; /* Center the content inside each label */
}

.chatboxCheckboxLabel .label-text {
    margin-left: 4px; /* Adds a 2px margin to the left of the text */
}

.chatboxCheckbox {
    margin-right: 5px;
}

#chatboxOptionsFieldset {
    margin-bottom: 20px;
}

.options {
    margin-bottom: 10px
}

.icon-divider {
    border-left: 2px solid #999999; /* Adjust the color and width as needed */
    margin: 0 10px; /* Adjust the margin spacing as needed */
    height: 20px; /* Adjust the height as needed to align with your icons */
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-left {
    opacity: 0; /* Initially hide the posts */
}

.come-in-view {
    animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(20%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-bottom {
    opacity: 0; /* Initially hide the posts */
    animation: fadeInBottom 1.2s ease-out forwards;
}