.e123_adv_role_reg_form .captcha-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f9fc;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.e123_adv_role_reg_form .captcha-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c5282;
    font-size: 16px;
}

.e123_adv_role_reg_form .captcha-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.e123_adv_role_reg_form .captcha-box {
    position: relative;
    margin: 15px auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 180px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.e123_adv_role_reg_form .captcha-code {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 5px;
}

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

.e123_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;
}

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

.e123_adv_role_reg_form .refresh-icon {
    width: 18px;
    height: 18px;
    fill: white;
}

.e123_adv_role_reg_form .captcha-input-container {
    display: flex;
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}

.e123_adv_role_reg_form .captcha-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.e123_adv_role_reg_form .captcha-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.e123_adv_role_reg_form .verify-button {
    padding: 10px 20px;
    background-color: #2c5282;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.e123_adv_role_reg_form .verify-button:hover {
    background-color: #1a365d;
}

.e123_adv_role_reg_form .captcha-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    display: none;
}

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

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

@media screen and (max-width: 600px) {
    .e123_adv_role_reg_form .captcha-box {
        width: 160px;
        height: 60px;
    }

    .e123_adv_role_reg_form .captcha-code {
        font-size: 24px;
    }

    .e123_adv_role_reg_form .captcha-input-container {
        flex-direction: column;
    }

    .e123_adv_role_reg_form .captcha-input {
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .e123_adv_role_reg_form .verify-button {
        border-radius: 5px;
        width: 100%;
    }
}