.title{
    color: #178FFF;
    font-weight: bold;
}

.text{
    color: #7f7676;
}

.warning {
    color: red;
    font-weight: bold;
}
.upload-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.file-selector {
    margin: 1.5rem 0;
}

.file-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s;
}

.file-label:hover {
    border-color: #4CAF50;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

#fileName {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

#fileSize {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.progress-container {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex-grow: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

#progressText {
    font-size: 0.9rem;
    color: #666;
    min-width: 50px;
}

.control-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.control-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    flex: 1;
}

#startBtn {
    background: #4CAF50;
    color: white;
}

#pauseBtn {
    background: #FF9800;
    color: white;
}

#resumeBtn {
    background: #2196F3;
    color: white;
}

#cancelBtn {
    background: #f44336;
    color: white;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.result-box, .error-box {
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.result-box {
    background: #f8fff8;
    border: 1px solid #4CAF50;
}

.error-box {
    background: #fff8f8;
    border: 1px solid #f44336;
}

.result-box h3 {
    color: #4CAF50;
    margin-top: 0;
}

.error-box h3 {
    color: #f44336;
    margin-top: 0;
}

.result-box a {
    color: #2196F3;
    word-break: break-all;
    display: inline-block;
    margin: 0.5rem 0;
}


/* 网速显示样式 */
.speed-meter {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

/* 动态分片调试信息（可选） */
.debug-info {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

/* 新增拖拽区域样式 */
.dropzone {
    border: 2px dashed #aaa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s;
    position: relative;
}

.dropzone:hover, .dropzone.dragover {
    border-color: #4CAF50;
    background-color: #f8fff8;
}

/* 图标和文字样式 */
.upload-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    color: #2196F3;
}

.dropzone p {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
}

.dropzone-text {
    font-size: 1.1rem;
    color: #666;
}




/* 信息面板样式 */
.info-panel {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0.8rem;
    background: #f5f5f5;
    border-radius: 6px;
}

.info-item {
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .info-panel {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* 新增点击反馈效果 */
.dropzone {
  cursor: pointer;
  transition: all 0.2s;
}

.dropzone:active {
  transform: scale(0.98);
  background-color: #f0f0f0;
}
/*悬停暂停*/
.info-box {
  padding: 1rem;
  background: #fffaf0;
  border: 1px solid #ffa500;
  border-radius: 4px;
}

/* 重置按钮 */
.reset-btn {
  background: #6e6e6e; /* 中性灰，比原色稍深 */
  color: #ffffff; /* 纯白文字确保对比度 */
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease; /* 平滑所有属性变化 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 微阴影增加立体感 */
}

.reset-btn:hover {
  background: #5a5a5a; /* 悬停加深15% */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* 悬停阴影增强 */
}

/* 复制按钮 */
.copy-btn {
  background: #4CAF50; /* 基础绿色 */
  color: white;
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.copy-btn:hover {
  background: #43A047; /* 悬停深绿色 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.copy-btn:active {
  background: #388E3C; /* 点击更深绿 */
  transform: translateY(1px);
}

  /* 接口选择下拉框样式 */
        #apiSelect {
            padding: 8px 12px;
            margin: 0 0 10px 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #fff;
            font-size: 14px;
            width: 180px;
            outline: none;
            transition: border-color 0.2s;
        }
        
        #apiSelect:hover {
            border-color: #999;
        }
        
        #apiSelect:focus {
            border-color: #178FFF;
            box-shadow: 0 0 5px rgba(23, 143, 255, 0.3);
        }
        
        /* 下拉框选项样式 */
        #apiSelect option {
            padding: 8px 12px;
        }
        
        /* 下拉框标签样式 */
        label[for="apiSelect"] {
            margin-bottom: 5px;
            font-weight: bold;
            color: #333;
        }
        
        /* 时间和接口选择容器样式 */
        .header-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }