/* 新增样式 */
.login-register-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.login-box,
.register-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.close-login {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-login:hover {
    color: #333;
    background: #f5f5f5;
}

.login-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    padding: 12px 25px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.login-tab.active {
    border-bottom: 3px solid #1890ff;
    color: #1890ff;
}

.login-tab:hover {
    color: #1890ff;
}

.login-form {
    display: block;
}

.register-form {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.login-btn,
.register-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover,
.register-btn:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.2);
}

.switch-text {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.switch-text span {
    color: #1890ff;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
}

.switch-text span:hover {
    text-decoration: underline;
}

.user-info {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-btn {
    background: linear-gradient(135deg, #ff4d4f, #cf1322);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #ff7875, #ff4d4f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.2);
}

.loginBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    z-index: 100;
}

.loginBtn:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.2);
}

/* 项目相关样式 */
.project-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    position: relative;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.remove-project {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #ff4d4f;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 30px;
    transition: all 0.3s;
}

.remove-project:hover {
    background: #ff7875;
    transform: scale(1.1);
}

.add-project-btn {
    background: linear-gradient(135deg, #52c41a, #389e0d);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.add-project-btn:hover {
    background: linear-gradient(135deg, #73d13d, #52c41a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 196, 26, 0.2);
}

.add-project-btn i {
    font-size: 16px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.item-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.item-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.project-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* 下拉选择样式 */
select.project-type-select,
select.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background-color: white;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.select-wrap {
    width: 100%;
}

select.project-type-select:focus,
select.form-select:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

/* 性别选择样式 */
.sex-group {
    display: flex;
    gap: 25px;
    width: 100%;
}

.sex-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sex-option input[type="radio"] {
    width: 20px;
    height: 20px;
}

.sex-option label {
    margin: 0;
    font-weight: normal;
    font-size: 15px;
    width: auto !important;
    min-width: auto !important;

}

/* 表单优化 */
.fb {
    margin-bottom: 20px;
}

.fb label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    width: 120px;
    min-width: 120px;
}

.fb input[type="text"],
.fb input[type="tel"],
.fb input[type="password"],
.fb select,
.fb textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.fb input[type="text"]:focus,
.fb input[type="tel"]:focus,
.fb input[type="password"]:focus,
.fb select:focus,
.fb textarea:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.fb textarea {
    resize: vertical;
    min-height: 100px;
}

.fb i {
    color: #ff4d4f;
    margin-right: 4px;
}

/* 按钮样式优化 */
.btn {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.2);
}

.btn:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 项目动作按钮 */
.item-action-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s;
}

.item-action-btn:hover {
    background: #40a9ff;
    transform: translateY(-1px);
}

/* 上传进度条样式 */
.upload-progress {
    margin-top: 12px;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #ddd;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #52c41a);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.progress-text {
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* 表单容器样式 */
.form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .fb label {
        width: 100%;
    }

    .user-info {
        top: 15px;
        right: 15px;
    }

    .user-name {
        font-size: 13px;
        padding: 6px 12px;
    }

    .logout-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .loginBtn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .item-grid {
        grid-template-columns: 1fr;
    }

    .login-box,
    .register-box {
        padding: 20px;
        margin: 15px;
    }

    .form-container {
        padding: 20px;
    }

    .sex-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* 表单标题样式 */
.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
}

/* 表单组布局 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-col {
    flex: 1;
    min-width: 200px;
}

.form-col .fb {
    width: 100%;
}

/* 图标样式 */
.icon {
    display: inline-block;
    margin-right: 5px;
}

/* 提示信息样式 */
.form-hint {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

/* 必填项标记 */
.required::after {
    content: " *";
    color: #ff4d4f;
}

/* 项目项标题 */
.item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.fb2 .l {
    width: 120px;
    min-width: 120px;
    color: #333;
    font-weight: 600;
}

.fb2 .m {
    width: calc(100% - 120px);
    color: #333;
}

/* 视频上传进度条样式 */
.upload-progress {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 10;
    border-radius: 4px;
}

.upload-progress-center {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.progress-circle {
    position: relative;
    margin-bottom: 10px;
}

.progress-circle-inner {
    transition: stroke-dashoffset 0.3s ease;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/* 表单项目样式调整 */
.project-item {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.remove-project {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
}

/* 性别选择样式 */
.sex-group {
    display: flex;
    gap: 20px;
}

.sex-option {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sex-option input[type="radio"] {
    width: 16px;
    height: 16px;
}

/* 项目项样式 */
.item-row {
    position: relative;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.remove-item-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.fb2 .r .lib {
    padding-bottom: 0;
    height: 120px;
}

.video-preview {
    position: relative;
}

.fb .l {
    flex-shrink: 0;
}

.video_upload_wrap .m {
    line-height: 41px;
}

.video_upload_wrap .form-col {
    margin-top: 10px;
}

.form_tips_wrap .loginBtn {
    position: initial;
}

.project-section-header,
.project-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-bottom: #e9ecef 1px solid;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.project-section-header:hover,
.project-item-header:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.project-section-header .header-title,
.project-item-header .header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.project-section-header .header-info,
.project-item-header .header-info {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
}

.toggle-btn {
    background: transparent;
    border: 1px solid #1890ff;
    color: #1890ff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: #1890ff;
    color: white;
}

.toggle-btn.collapsed::after {
    content: '展开';
}

.toggle-btn.expanded::after {
    content: '收起';
}

.project-section-content,
.project-item-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-section-content.collapsed,
.project-item-content.collapsed {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.project-section-content.expanded,
.project-item-content.expanded {
    max-height: 5000px;
    opacity: 1;
    visibility: visible;
}

/* 个人项目模块收起时的紧凑样式 */
.personal-project-summary {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-size: 14px;
    color: #666;
}

.project-section-content.collapsed .personal-project-summary {
    display: block;
}

.selected-count {
    background: #1890ff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.copyright_wrap {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 15;
}

.copyright {
    font-size: 16px;
    color: #fff;
}


/* 圆形进度条动画 */
.progress-circle circle {
    transition: stroke-dashoffset 0.3s ease;
}

/* 上传按钮悬停效果 */
.upload-video-btn:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

/* 付款凭证容器悬停效果 */
.payment-upload-list .lib:hover {
    border-color: #1890ff !important;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}

/* 图片加载成功后的显示 */
.payment-img {
    transition: opacity 0.3s ease;
}

.payment-img.loaded {
    opacity: 1;
}

/* 视频预览样式 */
.video-preview {
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
}

/* 上传容器样式 */
.upload-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-info {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 4px;
    word-break: break-all;
}

/* 进度条容器样式 - 初始隐藏 */
.upload-progress {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 10;
    border-radius: 4px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-progress-center {
    width: 100%;
    height: 100%;
    flex-direction: column;
}

/* 删除按钮样式 */
.remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ff4d4f;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 查看大图样式 */
.viewer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.viewer-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: default;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.viewer-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.viewer-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f0f0f0;
}


.form-deadline {
    color: #cf1322;
    font-size: 18px;
    font-weight: 600;
    display: none;
}