.page_container{
    width: 100%;
    min-width: 1500px;
    font-size: 16px;
    line-height: 30px;
    padding-bottom: 300px;
    background-color: #fdfffa;
    background-image: linear-gradient(to right bottom,#edf7ff,#fff,#edf7ff);
}
.oj_header{
    width: 100%;
    height: 70px;
    line-height: 70px;
    background-color: #24292f;
}
.oj_nav{
    width: 1500px;
    margin: 0 auto;
}
.oj_nav li{
    float: left;
    margin-right: 40px;
}
.oj_nav li a{
    color: #fff;
}
.oj_nav li a:hover{
    color: #6597fc;
}
.oj_center{
    width: 1470px;
    margin: 0 auto;

    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.banner{
    width: 100%;
}
.banner img{
    width: 100%;
}
.oj_screen{
    width: 1100px;
    height: 62px;
    line-height: 62px;
    margin-top: 40px;
    padding: 0 50px;
    background-color: #e5f4ff;
    border-radius: 6px;
    box-shadow: 0 0 10px #ededed;
}
.oj_menu{
    float: left;
    width: 72%;
}
.oj_menu_item{
    float: left;
    font-size: 17px;
    margin-right: 40px;
}
.oj_menu_item a{
    color: #333;
}
.oj_menu_active a{
    color: #6597fb;
    padding: 0 6px;
    background: url(../images/line_bg.png) no-repeat;
    background-size: 100px auto;
    background-position: center 37px;
}
.oj_search{
    float: left;
    width: 26%;
    height: 40px;
    line-height: 40px;
    padding: 0 1%;
    margin-top: 11px;
    background-color: #f6f7f9;
    border-radius: 30px;
}
.oj_search input{
    width: calc(100% - 40px);
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    background-color: transparent;
}
table tbody td{
    border-style: solid;
}
.competition_list{
    width: 1500px;
    margin: 0 auto;
    margin-top: 40px;
}
.competition_list_item{
    width: 1150px;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px #ededed;
}
.competition_img{
    float: left;
    width: 400px;
}
.competition_info{
    float: left;
    width: calc(100% - 472px);
    padding-left: 72px;
}
.competition_title{
    font-size: 24px;
    font-weight: bold;
    padding-left: 14px;
    margin-top: 27px;
    border-left: 4px #6597fc solid;
}
.competition_btn{
    width: 238px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #fff;
    margin-top: 35px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 30px;
    letter-spacing: 2px;
    background-color: #45da9c;
    box-shadow: 0 0 10px #45da9c;
}

.oj_title{
    width: 1470px;
    height: 97px;
    line-height: 97px;
    color: #fff;
    border-radius: 6px;
    margin-top: 17px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    background-color: #5370ff;
}
.oj_title span{
    display: inline-block;
    padding-left: 110px;
    background: url(../images/oj_title_bg.png) no-repeat;
    background-size: 88px 71px;
    background-position: left center;
}

/*video_test*/
.oj_video_test{
    width: 1440px;
    margin-top: 16px;
    border-radius: 6px;
    padding: 48px 30px 180px 30px;
    background-color: #fff;
    background-image: linear-gradient(to right bottom,#fdfcf5,#fff);
    box-shadow: 0 0 10px #ededed;
}
.test_progress{
    position: relative;
    width: 800px;
    margin: 0 auto;
}
.test_progress::before{
    content: ' ';
    position: absolute;
    top: 29px;
    left: 19%;
    display: inline-block;
    width: 62%;
    height: 3px;
    background-color: #d8dee7;
}
.step_item{
    position: relative;
    float: left;
    width: 200px;
    color: #333;
    text-align: center;
}
.step_item p:first-child{
    width: 60px;
    height: 60px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    margin: 0 auto;
    margin-bottom: 15px;
    background-color: #b0b0b0;
    border-radius: 50%;
}
.step_active{
    color: #5370ff;
}
.step_active p:first-child{
    color: #fff;
    box-shadow: 0 0 10px #5370ff;
    background-color: #5370ff;
}
.test_attention{
    width: 74%;
    color: #666;
    text-align: center;
    padding-left: 17px;
    margin: 0 auto;
    margin-top: 35px;
    background: url(../images/zhuyi.png) no-repeat;
    background-size: 17px 17px;
    background-position: left center;
}
.test_video_box{
    width: 245px;
    margin: 0 auto;
    margin-top: 35px;
}
.myvideo{
    width: 100%;
    background-color: #edeef3;
}
.myvideo video{
    width: 100%;
}
.photograph,.photo_upload{
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #bdbebf;
}
.photograph button{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
    padding-right: 26px;
    padding-left: 26px;
    background: url(../images/camera.png) no-repeat;
    background-size: 42px auto;
    background-position: left center;
}
.mypic{
    display: none;
    width: 100%;
    background-color: #edeef3;
}
.mypic canvas{
    width: 100%;
}
.photo_upload{
    background-color: #08ca99;
}
.photo_upload button{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
    background-color: #08ca99;
}
.video_tips{
    width: 100%;
    margin-top: 45px;
    text-align: center;
}
.operation_step{
    width: 100%;
}
.operation_step{
    text-align: center;
    width: 88%;
    margin: 0 auto;
    /*margin-top: 100px;*/
}
.back_step{
    float: left;
    width: 38%;
}
.jump_step{
    /*float: right;*/
    width: 55%;
    height: 40px;
    line-height: 40px;
    text-align: right;
}
.jump_step a{
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    margin-right: 15px;
    background-color: #b0b0b0;
}

/*exam_notic*/
.exam_notic{
    margin-top: 35px;
    padding: 35px 40px;
    background-color: #f4f6fc;
}
.exam_notic p{
    padding-left: 28px;
    font-weight: bold;
    font-size: 17px;
    /*background: url(../images/zhuyi.png) no-repeat;*/
    background-size: 17px 17px;
    background-position: left center;
}
.exam-notice{
    background: url(../images/zhuyi.png) no-repeat;
}
.privacy{
    width: 100%;
    margin-top: 30px;
    text-align: center;
    font-size: 15px;
    color: #666;
}
.start_answer{
    float: left;
    width: 24%;
    text-align: center;
}
.start_answer a{
    width: 140px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    font-size: 17px;
    letter-spacing: 2px;
    background-color: #5370ff;
    box-shadow: 0 4px 15px rgba(83,112,255,0.3);
}

/*exam_result*/
.oj_exam_result{
    width: 1440px;
    margin-top: 16px;
    border-radius: 6px;
    padding: 48px 30px 180px 30px;
    background-color: #fff;
    background-image: linear-gradient(to right bottom,#fdfcf5,#fff);
    box-shadow: 0 0 10px #ededed;
}
.result_img{
    width: 100%;
    text-align: center;
}
.result_tips{
    width: 100%;
    font-size: 21px;
    color: #2e77ee;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    letter-spacing: 2px;
}
.student_info{
    display: flex;
    width: 850px;
    padding: 10px 0;
    margin: 0 auto;
    margin-top: 40px;
    background-color: #f0f5ff;
}
.s_info_item{
    width: 425px;
    text-align: center;
    padding: 10px 0;
    line-height: 40px;
    border-right: 2px #fff solid;
}
.s_info_item:last-child{
    border-right: none;
}
.s_info_item p:first-child{
    color: #cd0013;
    font-size: 18px;
    font-weight: bold;
}

/*answer_area*/
.answer_notic{
    margin-top: 17px;
    padding: 20px;
    border-radius: 6px;
    background-color: #fff;
    background-image: linear-gradient(to right bottom,#fdfcf5,#fff);
    box-shadow: 0 0 10px #ededed;
}
.answer_notic p{
    padding-left: 28px;
    font-weight: bold;
    font-size: 17px;
    background: url(../images/zhuyi.png) no-repeat;
    background-size: 17px 17px;
    background-position: left center;
}
.answer_area{
    width: 100%;
    margin-top: 17px;
}
.answer_top{
    width: 100%;
    height: 66px;
    border-radius: 6px;
    background-color: #e6e9f0;
}
.answer_title{
    float: left;
    width: 1214px;
    line-height: 66px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
.answer_time{
    float: left;
    width: 256px;
    height: 56px;
    color: #fff;
    line-height: 28px;
    text-align: center;
    padding: 5px 0;
    border-radius: 0 6px 6px 0;
    background-color: #71a3fd;
}
.answer_time p:first-child{
    display: inline-block;
    padding-left: 28px;
    font-size: 17px;
    background: url(../images/icon_time.png) no-repeat;
    background-size: 22px 22px;
    background-position: left center;
}
.answer_main{
    width: 1470px;
    margin-top: 10px;
}
.dt_area{
    width: 1400px;
    padding: 30px 50px 150px 50px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px #ededed;
}
.question {
    width: 100%;
}
.question p{
    font-weight: bold;
    /*margin-bottom: 20px;*/
    margin: 0 5px;
    white-space:pre-wrap;
}
/*.answer_item{*/
/*    white-space:pre-wrap;*/
/*}*/
.answer_item{
    display: flex;
    align-items: flex-start;
    margin: 10px 0;
}
.answer_item input{
    /*display: none;*/
    /*margin-right: 15px;*/

    position: relative;
    top: 7px;
    margin-right: 10px;
}
.anwer_item>label{
    position: relative;
}
.anwer_item>label::before{
    display: inline-block;
    content: "";
    position: relative;
    bottom: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #e6e7e7;
    margin-right:15px;
    vertical-align: bottom;
    background-color: #edeef3;
}
.anwer_item>input:checked+label::before{
    background-color: #cd0013;
    border: 1px #cd0013 solid;
}
.anwer_item input[type='checkbox']{
    display: inline-block;
    position: relative;
    top: 2px;
    width: 18px;
    height: 18px;
}
.anwer_item input[type='checkbox']+label::before{
    display: none;
}
.answer_item p{
    display: inline-block;
}
.qsub{
    width: 100%;
    text-align: center;
    margin-top: 80px;
}
.qsub-editor{
    width: 82%;
    text-align: center;
    margin: -20px auto;
    padding: 25px 5%;
}
.ansub,.ansub1,.ansub2{
    width: 252px;
    height: 50px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    margin: 0 12px;
    border-radius: 3px;
    background-color: #08ca99 ;
}
.ancom1,.ancom2{
    width: 400px;
    margin-bottom: 12px !important;
    height: 50px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    margin: 0 12px;
    border-radius: 3px;
    background-color: #08ca99 ;
}
.ancom1{
    background-color: #3d76dd;
}
.ancom2{
    background-color: #cd0013;
}

.ansub:hover{
    box-shadow: 0 0 10px #08ca99;
}
.ansub1{
    background-color: #3d76dd;
}
.ansub1:hover{
    box-shadow: 0 0 10px #3d76dd;
}
.ansub2{
    background-color: #cd0013;
}
.ansub2:hover{
    box-shadow: 0 0 10px #cd0013;
}



.sc_question{
    float: left;
    width: 528px;
    padding: 10px 6px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px #ededed;
}
.sc_question p{
    white-space: pre-wrap;
}
.sc_dt_area{
    float: right;
    width: 925px;
    padding-bottom: 150px;
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 10px #ededed;
}
.code_selection{
    display: flex;
    width: 100%;
    height: 62px;
}
#codeSelection{
    width: 350px;
    height: 62px;
    text-align: center;
    font-size: 16px;
    background-color: #e6e9f0;
    border: none;
    outline: none;
}
.editor_name{
    width: 625px;
    height: 62px;
    line-height: 62px;
    text-align: center;
    color: #fff;
    background-color: #f6a151;
}
.editor_box{
    width: 82%;
    margin: 15px auto;
    height: 540px;
    padding: 10px 5%;
    background-color: #eee;
}
.sc_id{
    font-size: 18px;
    font-weight: bold;
}
.question_require{
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #e6e9f0;
    border-radius: 6px;
}
.question_small_title{
    position: relative;
    font-size: 17px;
    font-weight: bold;
    padding-left: 20px;
    margin-top: 30px;
    margin-bottom: 5px;
}
.question_small_title::before{
    content: ' ';
    position: absolute;
    left: 0;
    top: 10px;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #6597fc;
    border-radius: 10px;
}
.question_small_title span{
    color: #999;
    font-size: 15px;
    font-weight: normal;
}
.question1{
    background-color: #f4f6fc;
    border-left: 3px #08ca99 solid;
    padding: 12px;
}
.answer_choice p{
    font-size: 16px;
}
.sc_demo{
    padding: 15px 15px 1px 15px;
    background-color: #f4f6fc;
}
.sc_demo .question1{
    margin-top: 5px;
    background-color: #fff;
    margin-bottom: 20px;
}


.dt_card_float{
    position: fixed;
    bottom: 100px;
    left:20px;
    z-index: 2;
    width: 133px;
}
.dt_card_box{
    display: none;
    position: fixed;
    left:160px;
    bottom: 100px;
    z-index: 2;
    width: 258px;
}
.dt_card_title{
    width: 232px;
    height: 66px;
    line-height: 66px;
    padding: 0 13px;
    font-size: 18px;
    font-weight: bold;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px #ededed;
}
.dt_card_title span{
    padding-left: 13px;
    border-left: 3px #6597fc solid;
}
.dt_card_list{
    width: 232px;
    padding: 20px 13px;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px #ededed;
}
.question_type_item{
    width: 100%;
    margin-bottom: 30px;
}
.question_type_item>p {
    font-weight: bold;
    font-size: 17px;
}
.question_type_item>p>span{
    font-size: 15px;
    color: #999;
    margin-left: 10px;
    font-weight: normal;
}
.question_id{
    float: left;
    width: 28px;
    margin: 8px;
}
.question_id a{
    width: 28px;
    height: 28px;
    border: 1px #c5c9d3 solid;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: #999;
    letter-spacing: 0;
}
.question_id a:hover,.question_id_active a{
    color: #fff;
    background-color: #89affd;
    border: 1px #89affd solid;
}



/*compile*/
.compile_top{
    margin-top: 15px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(0,0,0,0.04);
}
.oj_compile_tab{
    width: 100%;
    height: 56px;
    line-height: 56px;
}
.compile_tab{
    float: left;
    width: 258px;
    font-size: 17px;
    text-align: center;
    letter-spacing: 2px;
    background-image: linear-gradient(to bottom,#edeef3,#f7f7f7);
}
.compile_tab_active{
    color: #0051c5;
    background-image: linear-gradient(to bottom,#91beff,#eff5ff);
}
.compile_notic{
    padding: 30px 36px;
}
.compile_area{
    padding: 25px 36px 60px 36px;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 24px rgba(0,0,0,0.04);
}
.compile_operate{
    height: 38px;
    padding-bottom: 6px;
    border-bottom: 1px #ecf1f9 solid;
}
.compile_file {
    height: 38px;
    line-height: 38px;
    background-color: #f1f7ff;
}
.compile_file span{
    padding-left: 10px;
    border-left: 3px #458ef7 solid;
}


.compile_operate .layui-col-space16>* {
    padding: 0 8px;
}
.compile_operate .layui-form-select .layui-input {
    background-color: #f1f7ff;
    border: none;
}
.compile_operate .layui-form-select dl dd.layui-this {
    background-color: #458ef7;
}
.compile_operate .layui-form-radio:hover *, .layui-form-radioed, .layui-form-radioed>i {
    color: #458ef7;
}


.compile_content,.compile_content2{
    display: none;
    width: 100%;
    margin-top: 20px;
}
.compile_code{
    width: 97%;
    padding: 15px 1.5%;
    background-color: #f7f8f9;
}
.compile_code textarea{
    width: 100%;
    height: 360px;
    border: none;
    resize: none;
    background-color: #f7f8f9;
}
.high_editor{
    width: 100%;
    text-align: right;
    margin-top: 15px;
}
.submit_btn{
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
.submit_btn button{
    width: 182px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 17px;
    letter-spacing: 3px;
    background-color: #458ef7;
    box-shadow: 0 0 10px #d1e3ff;
}

.dt_card_list .question_id.answered a {
    background: #67C23A;
    color: white;
    border-color: #67C23A;
}
.io_container {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.io_box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.io_title {
    background-color: #4285f4;
    color: white;
    padding: 8px 12px;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
}

.io_content {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
    resize: none;
    font-family: monospace;
    min-height: 120px;
}
#camera-container {
    transition: transform 0.2s ease;
}

#camera-container:hover {
    transform: scale(1.02);
}

/* 添加拖拽手柄样式 */
#camera-container::after {
    content: '⣿⣿⣿';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    cursor: move;
}

#fullscreenOverlay {
    display: none;  /* 默认隐藏，由 JS 控制显示 */
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.countdown-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 24px;
    background: linear-gradient(145deg, #4b6cb7, #182848);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(75,108,183,0.3);
    transition: all 0.3s ease;
}

.digit-group {
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 3px;
}

.digit-block {
    width: 34px;
    height: 48px;
    perspective: 150px;
}

.digit-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.digit-face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    border-radius: 3px;
    backface-visibility: hidden;
}

.digit-front {
    background: #2c3e50;
    color: #ecf0f1;
    transform: rotateX(0deg);
}

.digit-back {
    background: #34495e;
    color: #bdc3c7;
    transform: rotateX(180deg);
}

.flip .digit-card {
    /*animation: flip 0.6s cubic-bezier(0.4, 0, 0.2, 1);*/
}

@keyframes flip {
    from { transform: rotateX(0deg); }
    to { transform: rotateX(-180deg); }
}

.separator {
    font-size: 22px;
    color: rgba(255,255,255,0.9);
    margin: 0 2px;
    font-weight: 500;
}

/* 状态样式 */
.countdown.warning {
    background: linear-gradient(145deg, #ff9a44, #ff6e68);
    box-shadow: 0 4px 15px rgba(255,154,68,0.3);
}

.countdown.danger {
    background: linear-gradient(145deg, #ff416c, #ff4b2b);
    box-shadow: 0 4px 15px rgba(255,65,108,0.3);
    /*animation: pulse 1s infinite alternate;*/
}

.countdown.warning .separator {
    color: #ffd8a6;
}

.countdown.danger .separator {
    color: #ffc4c4;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(0.98); }
}

.fill_blanks{
    width: 100%;
    margin-top: 30px;
}
.fill_item{
    margin-right: 45px;
    margin-bottom: 30px;
}
.fill_item input{
    width: 300px;
    text-align: center;
    line-height: 30px;
    border-bottom: 1px #666 solid;
}
.sc_question,
.sc_question * {
    font-family: inherit !important;
    font-size: 17px !important;
}
.question_keguan *{
    font-family: inherit !important;
    font-size: 17px !important;
}

/* 自定义弹窗样式 */
.camera-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#restartCameraBtn {
    display: none !important;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    transition: all 0.3s ease;
}

#restartCameraBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 67, 54, 0.4);
}
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalIn 0.4s ease-out;
}

@keyframes modalIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    position: relative;
}

.modal-header.success {
    background: #e8f5e9;
}

.modal-header h3 {
    margin: 0 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-message p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 10px;
}

.modal-footer {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.modal-btn {
    padding: 12px 30px;
    margin: 0 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.modal-btn.primary {
    background: #1e88e5;
    color: white;
}

.modal-btn.primarys {
    display: none;
    background: #1e88e5;
    color: white;
}

.modal-btn.primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.3);
}

.modal-btn.secondary {
    display: none;
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.modal-btn.secondary:hover {
    background: #e9ecef;
}

.qrcode-container #qrcode {
    width: 100%;
    height: 160px; /* 减小高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.qrcode-container #qrcode img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

/* 标签容器样式 */
.qrcode-label-container {
    width: 100%;
    padding: 6px 4px;
    background: #f8f9fa;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #e9ecef;
}

.qrcode-label-line {
    font-size: 10px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 2px;
    word-break: break-all; /* 允许单词内换行 */
    word-wrap: break-word; /* 长单词换行 */
}

.qrcode-label-line:first-child {
    font-weight: 600;
    color: #1890ff;
}

.qrcode-label-line:last-child {
    color: #666;
    font-size: 9px;
    margin-bottom: 0;
}