﻿
/* Version 1.8 - Starts */
/* Responsive Captcha Box */
.captcha-box {
    border: none;
    width: 50%;
    height: 40px; /* Match input field height */
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: #7a3b75;*/
    overflow: hidden;
    color: #fff;
    /*background-color:#fff;*/ /*transparent !important;*/ /* Remove white */
    background-color: #714470; /*transparent !important;*/ /* Remove white */
    margin-bottom: 15px;
    box-shadow: 0 1px 1px 0px rgb(226, 164, 226), inset 0 1px 1px 0px rgb(60, 39, 59);
    border-radius: 4px;
}

/* Adjust CAPTCHA text size */
#captchaCanvas {
    text-align: center;
    width: 100% !important;
    height: 100% !important;
    margin: 0px 12px 12px 12px;
}

/* Aligns Refresh Button */
.refresh-icon {
    font-size: 16px; /* Adjust icon size */
    margin-left: 5px; /* Adjust spacing */
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 5%;
    margin-bottom: 10px;
}

/* Flexbox for alignment */
.captcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Flexbox for alignment */
.captcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Fix spacing between Captcha label and input box */
.form-group label {
    margin-bottom: 5px !important; /* Add spacing below label */
}

/*.refresh-icon:hover {
            color: #714470;
            transform: rotate(180deg);
        }*/

#btnRefreshCaptcha {
    color: #563656 !important;
    text-decoration: none !important;
}

    #btnRefreshCaptcha:hover {
        color: #714470 !important;
        transform: rotate(180deg);
        text-decoration: none !important;
    }

    #btnRefreshCaptcha i, #btnRefreshCaptcha img {
        transition: transform 0.3s ease-in-out;
    }

    #btnRefreshCaptcha:hover i,
    #btnRefreshCaptcha:hover img {
        transform: rotate(180deg);
    }

/*.captcha_input_icon {
    position: absolute;
    top: 0;
    width: 50px;
    height: 39px;
    display: inline-block;
    line-height: 40px;
    text-align: center;
    color: #b577b4;
    background-color: #563656;
    margin-top: 1px;
    border-radius: 4px 0 0 4px;
    left: 49%;
}*/
.captcha_input_icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b577b4;
    background-color: #563656;
    border-radius: 4px 0 0 4px;
    pointer-events: none; /* Allows clicking through the icon */
}

#captchaTextBox {
    margin-bottom: 9% !important;
    padding-left: 55px; /* Make room for the icon inside input */    
    position: relative;
    font-size: 19px !important;
    letter-spacing: 2px !important;
}

/* Ensure the parent of input is relatively positioned for icon to anchor */
.captcha-container div {
    position: relative;
}

@media (max-width: 1300px) {
    .captcha_input_icon {
        left: 0; /* Maintain left alignment */
    }
}
