/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html {
    font-size: 14px;
}
body {
    background: #f8f9fc;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 主内容区 */
.main-content {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

/* 左侧表单区域 */
.form-section {
    flex: 1;
}

.form-section h2 {
    font-size: 20px;
    color: #1a2a5e;
    margin-bottom: 15px;
    font-weight: 600;
    margin-top: 0;
}

.form-section .intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.37rem;
}

/* 表单项 */
.form-item {
    background: #f0f4f8;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.form-item label {
    width: 180px;
    flex-shrink: 0;
    font-size: 14px;
    color: #1a2a5e;
}

.form-item label .required {
    color: #ff4d4f;
    margin-left: 2px;
}

.form-item input[type="text"],
.form-item select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.form-item input[type="text"]:focus,
.form-item select:focus {
    border-color: #1a4fa0;
}

.form-item input[type="text"]::placeholder {
    color: #999;
    font-size: 12px;
}

/* 上传和粘贴选项 */
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-group label {
    width: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 上传区域 */
.upload-area {
    background: #f0f4f8;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 15px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-icon {
    font-size: 48px;
    color: #1a4fa0;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.upload-text a {
    color: #1a4fa0;
    text-decoration: underline;
}

.upload-hint {
    font-size: 12px;
    color: #999;
}

/* 提交按钮 */
.submit-btn-container {
    text-align: right;
    margin-top: 25px;
}

.submit-btn {
    padding: 9px 93px;
    background: linear-gradient(90deg,#2585d8,#69baff);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {    
    background: #305386!important;
    color: #fff!important;
}

/* 表单容器 */
#checkBlock {
    width: 100%;
    padding-top: 0 !important;
}

.content {
    width: 100%;
    background-color: transparent;
    padding: 0;
}

/* 主表单区域 */
.plagiarismCheck-block {
    width: 100%;
}
.content .plagiarismCheck-block .system-submit {
    background: none;
    width: 100%;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .label-t {
    width: 192px;
    margin-top: 0 !important;
    color: #305386;
}
/* 表单项 - 浅蓝色背景 */
.form-group {
    margin-bottom: 15px;
}

.form-group .label-t {
    display: inline-block;
    width: 180px;
    font-size: 14px;
    color: #1a2a5e;
    vertical-align: middle;
    margin-bottom: 0;
}

.main-container {
    display: inline-block;
    vertical-align: middle;
}

/* 查重系统选择 */
.check-system-block {
    display: inline-block;
}

/* 检测版本 */
.check-version-block {
    display: inline-block;
}

.check-version-block .version-item {
    display: inline-block;
    padding: 8px 20px;
    margin-right: 10px;
    background: #f0f4f8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.check-version-block .version-item.active {
    background: #1a4fa0;
    color: #fff;
}

/* 输入框样式 */
.paper-title-block input,
.paper-author-block input,
.paper-temp-block select,
.paper-temp-block .select2-container,
.paper-temp-block .select2-selection {
    width: 420px !important;
    padding: 8px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.paper-title-block input:focus,
.paper-author-block input:focus {
    border-color: #1a4fa0;
}

.paper-title-block input::placeholder {
    color: #999;
    font-size: 12px;
}

/* 论文作者区域 */
.paper-author-block {
    display: inline-block;
}

.paper-author-block .date-block {
    display: inline-block;
    margin-left: 15px;
}

.date-block .label-date {
    margin-right: 8px;
}

.date-block input {
    width: 150px !important;
    padding: 8px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 4px;
    font-size: 13px;
}

/* 学校、学科、类型选择 */
.school-select,
.class-select,
.type-select {
    display: none;
}

/* 提交方式 */
.paper-upload-block {
    display: inline-block;
}


.toCheck {
    display: inline-block;
    margin-right: 40px !important;
    cursor: pointer;
}

.toCheck input[type="radio"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    cursor: pointer;
    accent-color: #1a4fa0;
}

.toCheck span {
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

/* 检测须知 */
.notice-block {
    display: inline-block;
    margin-left: 20px;
    font-size: 13px;
    color: #ff4d4f;
    cursor: pointer;
}

.notice-block img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.notice {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 4px;
    padding: 15px;
    width: 400px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    font-size: 12px;
    line-height: 1.8;
    color: #666;
}

.notice-block:hover .notice {
    display: block;
}

/* 文本输入框 */
.InputBox {
    margin-bottom: 15px;
}

.InputBox textarea {

}
/* 文件上传区域 */
.UploadBox {
    background: #f0f4f8;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    min-height: 180px;
    margin-bottom: 15px;
    position: relative;
    width: auto !important;
}

.UploadBox .Not {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.UploadBox .Not img {
    width: 60px;
    height: 50px;
    margin-bottom: 15px;
}

.UploadBox .Not p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.UploadBox .Not .upload-restrictionText {
    font-size: 12px;
    color: #999;
}

.UploadBox .Not .tip-pdf {
    font-size: 12px;
    color: #ff4d4f;
    margin-top: 5px;
}

.UploadBox input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 文件上传成功/失败状态 */
.Complete {
    display: none;
}

.CompleteBox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.fileIcoBox {
    position: relative;
}

.fileIco {
    width: 50px;
    height: 50px;
}

.lodingGif {
    display: none;
}

.fileBox {
    text-align: left;
}

.fileNameThesis {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.statusDIV div {
    display: none;
}

.UploadedSuccess {
    display: none;
    align-items: center;
    gap: 10px;
}

.UploadedSuccess img {
    width: 16px;
    height: 16px;
}

.UploadedSuccess span {
    font-size: 13px;
    color: #52c41a;
}

.deleteFileThesis {
    font-size: 13px;
    color: #ff4d4f;
    cursor: pointer;
}

.deleteFileThesis img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 3px;
}

.UploadFailed {
    display: none;
    align-items: center;
    gap: 10px;
}

.UploadFailed img {
    width: 16px;
    height: 16px;
}

.UploadFailed span {
    font-size: 13px;
    color: #ff4d4f;
}

.Loading {
    display: none;
    font-size: 13px;
    color: #666;
}

/* 多篇上传 */
.UploadBox_multiple {
    display: none;
}

/* 提交按钮区域 */
.submit-block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 25px;
}

.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .submit-block .submit-btn {
    width: 218px;
    height: 42px;
    line-height: unset;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(90deg,#2585d8,#69baff);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .submit-block .submit-btn:hover {
    background: #305386 !important;
    color: #fff !important;
    box-shadow: none;
}

.submit-block p {
    font-size: 14px;
    color: #666;
}

.wordCount {
    margin-left: 15px;
}

.word-num {
    color: #1a4fa0;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .banner h1 {
        font-size: 24px;
    }
    
    .form-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-item label {
        width: 100%;
        margin-bottom: 8px;
    }
}

.view-bg {
    background-color: transparent;
    background-image: none;
    margin-top: 0;
    min-width: auto;
    width: 57.0625rem;
    padding: 1.875rem;
    background: #fff;
    border-radius: 8px;
}
.decoration {
    display: flex;
    flex-direction: row;
    margin-top: 0.9375rem;
    padding: 1.25rem;
    background: #edf2f9;
    border-radius: 0.625rem;
    align-items: center;
    line-height: 28px;
}
.decoration_title {
    width: 192px;
    display: inline-block;
    color: #305386;
}
.decoration_title span {
    color: red;
}
.unit-price , .unit-tips {
    color: #666;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container {
    width: calc(100% - 194px);
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container #author , .content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container #title {
    height: 28px;
    line-height: 28px;
    border: 0.0625rem solid #eaeaea!important;
    border-radius: 0.5625rem;
    outline: none;
    width: 100% !important;
    display: block;
}
/* .upload-type {
    display: flex;
} */
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .upload-type .notice-block {
    margin-top: 0;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .paper-upload-block2 {
    width: 100%;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .text-upload .InputBox {
    width: 100%;
    margin-top: 0;
    border: 0;
    background-color: #edf2f9;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .text-upload .InputBox textarea {
    background-color: #edf2f9;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .text-upload .UploadBox .Not {
    padding-top: 0;
}
.content .plagiarismCheck-block .system-submit .plagiarismCheck-form .form-group .main-container .text-upload .UploadBox {
    border: 0 !important;
    background-color: #edf2f9;
    width: 100% !important;
    margin-top: 0;
}
.content .loading-block {
    background: none;
    background-color: #fff;
    margin-top: 0.9375rem;
    height: auto;
}

/* 骨架屏加载样式 */
.skeleton-container {
    animation: fadeIn 0.5s ease-in;
}

/* 骨架屏基础动画 */
@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 骨架屏基础样式 */
.skeleton-block,
.skeleton-large-block,
.skeleton-submit-btn {
    border-radius: 4px;
    background: linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);
    background-size: 400% 100%;
    animation: skeleton-loading  1.4s ease infinite;
}

/* 第一行：四个小方块（垂直排列） */
.skeleton-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.skeleton-block {
    width: 100%;
    height: 63px;
}

/* 中间大方块 */
.skeleton-large-block {
    width: 100%;
    height: 276px;
    margin-bottom: 40px;
    margin-top: 28px;
}

/* 底部按钮 */
.skeleton-submit-btn {
    width: 218px;
    height: 42px;
    margin-left: auto;
    border-radius: 21px;
}

