.expert-form-container {
    width: 1300px;
    margin: 0 auto;
    /* padding: 20px; */
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0px -20px 10px 0px rgba(0, 0, 0, 0.3);
    margin-top: 80px;
    padding: 100px 0;
}

.form-section {
    display: flex;


}

.form-content-left {
    width: 250px;
    margin-left: 86px;
}

.form-content-left span,
p {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
}

.form-content-left-title {
    display: inline-flex;
    align-items: center;
}

.form-content-left-title .required-asterisk {
    color: #f56c6c;
    font-size: 14px;
    margin-left: 4px;
    line-height: 1;
    position: relative;
    top: 1px;
    /* 细微下移，让星号和文字视觉居中对齐 */
}

.required-asterisk {
    color: #f56c6c !important;
    font-size: 14px;
    margin-left: 4px;
    line-height: 1;
    position: relative;
    top: 1px;
}

.form-content-right {
    width: 868px;
}

/* 参会选择复选框组样式 */
.conference-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    width: 100%;
}

.conference-checkbox-group .el-checkbox {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    max-width: 100%;
}

.conference-checkbox-group .el-checkbox__label {
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    padding-left: 8px;
}

/* 头像上传区域样式 */
.avatar-form-item {
    margin-bottom: 40px;
}

.avatar-form-item .el-form-item__label {
    padding-bottom: 10px;
}

.avatar-upload-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
}

.avatar-uploader {
    width: 100%;
    height: 100%;
}

.avatar-uploader .el-upload {
    width: 100%;
    height: 100%;
    border: 1px dashed #bdbdbd;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: visible;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-uploader .el-upload>div {
    width: 100%;
    height: 100%;
    position: relative;
}

.avatar-uploader .el-loading-mask {
    border-radius: 0;
}

.avatar-uploader .el-upload:hover {
    /* border-color: #195bcb; */
}

.avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

.plus-icon {
    font-size: 48px;
    font-weight: bold;
    color: #dcdcdc;
    line-height: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.upload-text {
    font-size: 14px;
    color: #999999;
    line-height: 1.2;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 16px;
    /* 与方框的水平间距 */
    white-space: nowrap;
}

.el-form-item__label {
    width: 123px;
    text-align: left;
    font-size: 14px;
    padding: 0 !important;
}

.el-input {
    width: 300px;
    height: 40px;
}

.el-input .el-input__inner {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    color: #b8b8b8;
}

.wer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-prefix {
    flex-shrink: 0;
    width: 120px;
}

.phone-prefix .el-input {
    width: 100%;
}

.phone-input {
    flex: 1;
    min-width: 0;
}

.phone-input .el-input__inner {
    width: 100%;
}

.area {
    margin-top: 98px;
}

.form-content-left-title {
    display: flex;
    align-items: center;
}

.form-content-right .el-radio {
    margin-bottom: 30px;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.save-button {
    width: 140px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #195bcb;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #195bcb;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    margin: 0 auto;
    display: inline-block;
}

.save-button:hover {
    background: #195bcb;
    color: #ffffff;
}

.save-button.saving {
    cursor: not-allowed;
    opacity: 0.7;
}

.award-date-picker {
    width: 300px !important;
}

/* 報名人數 & 人員切換樣式 */
.participant-header {
    padding: 0 86px 20px 86px;
}

.participant-header .el-form-item__label {
    font-size: 14px;
    color: #333333;
}

.participant-header .el-input {
    width: 300px;
    height: 40px;
}

.participant-header .el-input__inner {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    color: #333333;
}

.participant-header .participant-tab {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    font-size: 14px;
    color: #333333;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
}

.participant-header .participant-tab--active {
    color: #195bcb;
    border-bottom: 2px solid #195bcb;
    border-radius: 0;
}

.participant-header .participant-tab:hover {
    background-color: transparent;
    color: #195bcb;
}

.el-form-item__content {
    margin-left: 0px !important;
}

.participant-header-left {
    display: flex;
    justify-content: space-between;
}

.participant-header .participant-header-left .el-input {
    width: 220px;
}

.participant-save-button {
    width: 140px;
    height: 50px;
    background: #195bcb;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    margin-left: 20px;
}

.participant-tab-group {
    display: flex;
    background: #f1f1f1;
    flex-wrap: wrap;
}

.participant-tab {
    cursor: pointer;
    width: 90px;
}

.gender-select {
    width: 300px;
}

.date-of-birth-picker {
    width: 300px !important;
}

.id-type-select {
    width: 300px !important;
}

.news-list-nav {
    display: none;
}

/* 成功弹框样式 */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.success-modal {
    position: relative;
    width: 620px;
    height: 210px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;

}

.success-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 24px;
    color: #999999;
    cursor: pointer;
    transition: color 0.3s;
}

.success-modal-close:hover {
    color: #333333;
}

.success-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.success-modal-content-top {
    display: flex;
    align-items: center;
    gap: 0 40px;
    margin-top: 30px;
}

.success-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-text {
    font-size: 24px;
    color: #333333;
    margin-bottom: 25px;
    font-weight: 500;
}

.success-confirm-btn {
    width: 105px;
    height: 40px;
    border-radius: 20px;
    background-color: #195bcb;
    color: #ffffff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
}

.success-confirm-btn:hover {
    background-color: #1449a0;
}

.success-confirm-btn:active {
    background-color: #0f3a7a;
}

.specific-position-group {
    height: 20px;
}

.enterprise-nature-group,
.business-field-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.enterprise-nature-group .el-radio,
.business-field-group .el-radio {
    line-height: 30px !important;
    margin-bottom: 0px !important;
}

@media (max-width: 768px) {
    .nav .ms-channel-path {
        display: none;
    }

    .news-list-nav {
        /* padding-top: 54px; */
        width: 100%;
        box-shadow: 0 5px 15px 5px rgba(0, 94, 209, .08);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sub-title-sel,
    .sub-title {
        width: 45%;
        /* height: 50px; */
        text-align: center;
        /* line-height: 50px; */
        font-size: 16px;
        font-weight: bold;
        color: #333333;
        position: relative;
        margin: 5px;
        background: #eee;
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .sub-title-sel {
        width: 45%;
        background-color: #1055d6;
        color: #ffffff;
    }

    .expert-form-container {
        width: 100%;
        margin-top: 0;
        padding: 0;
        box-sizing: border-box;
        box-shadow: none;
        padding: 0 15px;
    }

    .form-section {
        flex-direction: column;
    }

    .form-content-left {
        margin-left: 0;
    }

    .form-content-left span,
    p {
        font-size: 16px;
    }

    .form-content-right {
        width: 100%;
    }

    .el-form-item__label {
        width: 100%;
        text-align: left;
        font-size: 14px;
        padding: 0 !important;
    }

    /* 移動端：右側內容區的欄位改為一行一個，兼容手機樣式 */
    .form-content-right .el-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    .el-input,
    .gender-select,
    .date-of-birth-picker,
    .id-type-select,
    .el-select {
        width: 100% !important;
    }

    .wer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .phone-prefix {
        flex-shrink: 0;
        width: 100px !important;
        min-width: 100px;
    }

    .phone-prefix .el-input {
        width: 100% !important;
    }

    .phone-input {
        flex: 1 !important;
        width: auto !important;
        min-width: 0;
    }

    .phone-input .el-input__inner {
        width: 100% !important;
    }

    /* 移动端：参会选择复选框组样式 */
    .conference-checkbox-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px 15px !important;
        width: 100% !important;
    }

    .conference-checkbox-group .el-checkbox {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.6 !important;
        display: flex;
        align-items: center;
    }

    .conference-checkbox-group .el-checkbox__label {
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.6 !important;
        padding-left: 8px !important;
    }

    /*  */
    .el-textarea {
        width: 100% !important;

    }

    .form-actions {
        margin-top: 0;
    }

    .participant-header {
        padding: 0;
    }

    .participant-header-left {
        align-items: center;
    }

    .success-modal {
        height: 210px !important;
    }

    .conference-checkbox-group-title {
        margin-bottom: 15px;
        display: inline-block;
    }

    .form-content-right .el-radio {
        margin-bottom: 0px !important;
        line-height: 25px !important;
    }

    .participant-save-button {
        width: 100px;
    }
    .specific-position-group{
        margin-bottom: 20px;
    }

    /* 全局样式中添加，解决移动端点击延迟 */
    .el-select-dropdown {
        touch-action: manipulation;
    }

    .el-option {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        /* 去除移动端点击高亮 */
    }
    .guest-category-group-item .el-radio{
        width: 25%;
    }
    .professional-fields-group .el-radio{
        width: 24%;
    }
}

/* 修复iOS移动端el-select需要点击两次的问题 */
.el-scrollbar .el-scrollbar__bar {
    opacity: 1 !important;
}