/* 图文识谱页面样式 */
.score-recognition-container {
  padding: 20px 0 32px;
  min-height: 80vh;
}

.score-recognition-header {
  margin-bottom: 26px;
}

.score-recognition-header h1 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: #1b1f25;
  margin-bottom: 16px;
}

.score-content {
  margin-top: 20px;;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

/* 乐谱转换配置区域样式 */
.score-config-container {
  margin: 24px 0 0 0;
  padding: 20px;
  background-color: #f5f7fa;
  border-radius: 8px;
}

.score-config-section {
  margin-bottom: 20px;
}

.score-config-section h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.score-config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.score-config-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-config-option.full-width {
  width: 100%;
}

.score-config-option label {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  font-weight: 500;
}

/* 上传区域样式 */
.upload-container {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  height: auto;
}

.upload-container-title {
  margin-bottom: 26px;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: #1b1f25;
}

.upload-container-box {
  flex: 1;
  min-height: 300px;
}

.upload-container-box .el-upload {
  height: 100%;
}

.upload-container-box .el-upload .el-upload-dragger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.upload-container-box .el-upload .el-upload-dragger:hover {
  border-color: #1890ff;
  background-color: #f0f9ff;
}

.upload-container-box .el-upload .upload-icon {
  text-align: center;
}

.upload-container-box .el-upload .upload-icon i {
  font-size: 80px;
  color: #409eff;
}

.upload-container-box .el-upload .upload-title {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #000;
}

.upload-container-box .el-upload .upload-text {
  margin-top: 30px;
  font-size: 16px;
  line-height: 30px;
  color: #5d6c89;
  text-align: center;
}

.upload-container-box .el-upload .upload-description {
  font-size: 14px;
  color: #a0acbb;
  line-height: 20px;
  text-align: center;
}

/* 文件列表样式 */
.upload-container .upload-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #FFF;
  border-radius: 6px;
  border: 1px solid #d9dde4;
}

.upload-container .upload-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  border-bottom: 1px solid #d9dde4;
  color: #5d6c89;
}

.upload-container .upload-list-header-right {
  display: flex;
  align-items: center;
}

.upload-container .upload-list-main {
  flex: 1;
  padding: 22px 17px;
  box-sizing: border-box;
  min-height: 0;
  overflow: auto;
}

.upload-container .upload-list-main .audio-file-item,
.upload-container .upload-list-main .score-file-item {
  display: flex;
  padding: 0 30px;
  box-sizing: border-box;
  align-items: center;
  width: 100%;
  height: 65px;
  font-size: 16px;
  color: #282828;
  border: 1px solid rgb(225, 230, 236);
  margin-bottom: 12px;
  border-radius: 6px;
}

.upload-container .upload-list-main .audio-file-item-left,
.upload-container .upload-list-main .score-file-item-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.upload-container .upload-list-main .audio-file-item-img,
.upload-container .upload-list-main .score-file-item-img {
  margin-right: 15px;
  width: 22px;
  height: 22px;
}

.upload-container .upload-list-main .audio-file-item-name,
.upload-container .upload-list-main .score-file-item-name {
  margin-right: 20px;
  width: 280px;
}

.upload-container .upload-list-main .audio-file-item-type,
.upload-container .upload-list-main .score-file-item-type {
  display: flex;
  align-items: center;
}

.upload-container .upload-list-main .audio-file-item-type-status,
.upload-container .upload-list-main .score-file-item-type-status {
  margin-left: 15px;
  padding: 4px;
  box-sizing: border-box;
  line-height: 1em;
  font-size: 14px;
  color: #24a3da;
  border: 1px solid #24a3da;
  border-radius: 2px;
}

.upload-container .upload-list-main .audio-file-item-size,
.upload-container .upload-list-main .score-file-item-size {
  margin-left: 60px;
  width: 100px;
  text-align: right;
}

.upload-container .upload-list-main .audio-file-item-download,
.upload-container .upload-list-main .score-file-item-download {
  width: 95px;
  line-height: 35px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: #fc4f32;
  border-radius: 6px;
  cursor: pointer;
}

/* 乐谱类型选择样式 */
.score-types {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px;
  box-sizing: border-box;
}

.score-types-item {
  margin: 7px 15px 7px 0;
  width: 80px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  color: #292929;
  background: #f6f6f6;
  cursor: pointer;
  border-radius: 4px;
}

.score-types-item:nth-child(4n) {
  margin-right: 0;
}

.score-types-item.active {
  color: #165dff;
  background: #eaf0ff;
}

.upload-container .upload-list-footer {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 24px 0 24px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border-top: 1px solid #d9dde4;
}

.upload-container .upload-list-footer-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.upload-container .upload-list-footer-left .config-title {
  margin-right: 10px;
}

/* 自定义选择器样式 */
.custom-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 16px;
  box-sizing: border-box;
  min-width: 140px;
  height: 36px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.custom-select:hover .custom-select-icon i {
  transform: rotate(180deg);
}

.custom-select-icon {
  display: flex;
  align-items: center;
  justify-self: center;
  padding: 0 10px;
  font-weight: bold;
}

.custom-select-icon i {
  transform: rotate(0);
  transition: all 0.2s;
}

.custom-select.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.custom-select.disabled:hover .custom-select-icon i {
  transform: rotate(0);
}

/* 音频类型选择样式 */
.audio-types {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px;
  box-sizing: border-box;
}

.audio-types-item {
  margin: 7px 15px 7px 0;
  width: 80px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  color: #292929;
  background: #f6f6f6;
  cursor: pointer;
  border-radius: 4px;
}

.audio-types-item:nth-child(4n) {
  margin-right: 0;
}

.audio-types-item.active {
  color: #165dff;
  background: #eaf0ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .score-recognition-container {
    padding: 16px 0 24px;
  }
  
  .score-recognition-content {
    padding: 16px;
  }
  
  .score-config-options {
    flex-direction: column;
    gap: 16px;
  }
  
  .score-config-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .upload-container-box .el-upload .upload-title {
    font-size: 20px;
  }
  
  .upload-container-box .el-upload .upload-text {
    font-size: 14px;
    margin-top: 20px;
  }
  
  .upload-container .upload-list-main .audio-file-item {
    padding: 0 16px;
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }
  
  .upload-container .upload-list-main .audio-file-item-name {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .upload-container .upload-list-main .audio-file-item-size {
    margin-left: 0;
    width: auto;
    margin-right: 16px;
  }
}

@media (max-width: 480px) {
  .score-recognition-header h1 {
    font-size: 18px;
  }
  
  .score-config-container {
    padding: 16px;
  }
  
  .upload-container-box .el-upload .upload-icon i {
    font-size: 60px;
  }
  
  .upload-container-box .el-upload .upload-title {
    font-size: 18px;
  }
}