/* Custom Captcha Styles - adapted for the form system */
.olink_adv_role_reg_form .captcha-container {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.olink_adv_role_reg_form .captcha-container h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.olink_adv_role_reg_form .captcha-box {
    position: relative;
    margin: 15px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 180px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 5px;
}

.olink_adv_role_reg_form .captcha-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

.olink_adv_role_reg_form .captcha-digit {
    margin: 0 2px;
    transform-origin: center;
    display: inline-block;
}

.olink_adv_role_reg_form .refresh-button {
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #2c5282;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.olink_adv_role_reg_form .refresh-button:hover {
    background-color: #1a365d;
    transform: rotate(15deg);
}

.olink_adv_role_reg_form .refresh-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.olink_adv_role_reg_form .captcha-input {
    width: 180px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    margin: 0 auto 15px;
    display: block;
    text-align: center;
    transition: border-color 0.3s;
}

.olink_adv_role_reg_form .captcha-input:focus {
    outline: none;
    border-color: #2c5282;
    box-shadow: 0 0 0 2px rgba(44, 82, 130, 0.2);
}

.olink_adv_role_reg_form .verify-button,
.olink_adv_role_reg_form .reset-button {
    background-color: #2c5282;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 5px;
    display: inline-block;
}

.olink_adv_role_reg_form .verify-button:hover,
.olink_adv_role_reg_form .reset-button:hover {
    background-color: #1a365d;
}

.olink_adv_role_reg_form .reset-button {
    background-color: #718096;
}

.olink_adv_role_reg_form .reset-button:hover {
    background-color: #4a5568;
}

.olink_adv_role_reg_form .message {
    margin-top: 15px;
    padding: 8px;
    border-radius: 4px;
    display: none;
}

.olink_adv_role_reg_form .success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    display: block;
}

.olink_adv_role_reg_form .error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
    display: block;
}