#capchadiv {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 15px; /* Space between elements */
    margin-top: 10px;
    width: 100%;
    margin-bottom: 10px;
    margin-left: -24px;
}

/* Style for CAPTCHA image */
#captchaImage {
    height: 40px;
}

/* Make input field responsive */
#captchaInput {
    flex: 1;
    min-width: 150px;
    max-width: 100px;
    width: 100%;
}

/* Ensure buttons are properly spaced */
#btnRefreshCaptcha {
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #capchadiv {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
        #capchadiv div {
            width: -webkit-fill-available;
        }
     
    #captchaInput {
        flex: 1;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}
