
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 40px;
  }
  .tool-title {
    font-size: 30px;
    font-family: '阿里巴巴普惠体';
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    border-radius: 8px;
    font-weight: bold;
  }
  .notification-box{
    max-width: 1200px;
    padding:12px 16px; 
    margin:15px auto; 
    background:#fffbe6; 
    border:1px solid #ffe58f; 
    border-radius:8px; 
    color:#663c00;
    font-size: 14px;
    position: relative;
  }
  .notification-box i{
    color: #faad14;
    margin-right: 10px;
  }
  .hur_tip {
    background: #fff2f0;
    border:1px solid #ffccc7;
  }
  .hur_tip i{
    color: #ff4d4f;
  }
  .close_notification-box{
    position: absolute;
    top: 6px;
    right: 18px;
    font-size: 20px;
    cursor: pointer;
    font-weight: 200;
  }
  .tool-cont {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
  }
  .form-wrapper, .cont-wrapper {
    width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    float: left;
    display: block;
  }
  .cont-wrapper {
    float: right;
    width: 680px;
  }
  .form-group {
    margin-bottom: 24px;
    position: relative;
  }
  label {
    display: block;
    font-size: 15px;
    color: #333333;
    margin-bottom: 10px;
  }
  input[type="text"],#taskForm .text_area {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9fafb;
    transition: border-color 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  #taskForm .text_area{
    resize: none;
    overflow: auto;
  }
  input:focus, #taskForm .text_area:focus {
    outline: none;
    border-color: #2563EB;
    background-color: #fff;
  }

  /* 开关容器样式 */
  .checkbox-switch {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    line-height: 24px;
  }

  .switch-input {
    position: absolute;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
    width: 40px;
    height: 24px;
    margin: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
  }

  .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    transition: .4s;
  }

  .switch-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
  }

  .switch-input:checked + .switch-slider {
    background-color: rgb(51, 101, 227);
  }

  .switch-input:checked + .switch-slider::before {
    transform: translateX(16px);
  }
  /* 开关容器样式结束 */

  .form-desc {
    font-size: 12px;
    color: #999999;
    margin-top: 4px;
  }
  .submit-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #2563EB;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .submit-btn:hover {
    background-color: #1e40af;
  }
  .submit-btn:disabled {
    background-color: #A1A1AA;
    cursor: not-allowed;
  }
  input:disabled, #taskForm .text_area:disabled {
    background-color: #E4E4E7;
    cursor: not-allowed;
  }

  .progress-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  .progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 1.25rem;
  }
  .step-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    z-index: 1;
  }
  .step-label {
    margin-top: 0.4rem;
    font-size: 0.875rem;
    color: #666;
    transition: color 0.3s;
  }
  .progress-line {
    position: absolute;
    top: 43%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
    transform: translateY(-50%);
  }
  .progress-step.active .step-circle {
    background-color: #2563EB;
    animation: pulse 1s infinite;
  }
  .progress-step.active .step-label {
    color: #2563EB;
  }
  .progress-step.completed .step-circle {
    background-color: #2563EB;
  }
  .progress-step.completed .step-label {
    color: #2563EB;
  }
  .progress-step.completed .step-circle::after {
    content: '✓';
    font-size: 10px;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .progress-step.error .step-circle {
    background-color: #e0e0e0 !important;
  }
  .progress-step.error .step-label {
    color: #666 !important;
  }
  .progress-step.error .step-circle::after {
    content: none !important;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  }
  @media (max-width: 600px) {
    .progress-step {
      flex: 1 1 25%;
      top: -4px;
    }
    .step-label {
      font-size: 0.75rem;
    }
    .step-circle {
      width: 10px;
      height: 10px;
    }
    
  }
  .apiresult {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
  }
  .apiresult .none_cont{
    width: 55px;
    margin-bottom: 8px;
  }
  .apiresult p{
    text-align: left;
    line-height: 1.5em;
    font-size: 15px;
  }
  .apiresult.error {
    color: #DC2626;
    font-weight: bold;
  }
  .footer{
      margin: 70px 0 0 0;
      font-size: 14px;
      text-align: center;
      color: #666666;
    }
    .login_btn{
      position: absolute;
      top: 25px;
      right: 50px;
    }
    .login_btn .check_authcode, .login_btn .go_index, .batch-edit-btn{
      padding: 10px 15px;
      background: rgba(0, 0, 0);
      text-decoration: none;
      color: #ffffff;
      font-size: 14px;
      border-radius: 6px;
      transition: background-color 0.2s;
    }
    .login_btn .go_index, .batch-edit-btn{
      background: #e0e0e0;
      color: #374151;
    }
    .batch-edit-btn{
      cursor: pointer;
      border: none;
      border-radius: 100px;
      width: 20%;
      margin: 30px auto 0 auto;
    }
    .login_btn .check_authcode:hover{
      background: rgba(0, 0, 0, 0.8);
    }
    .login_btn .go_index:hover, .batch-edit-btn:hover{
      background: #c8c8c8;
    }

  @media (max-width: 1300px) {
    body{
      padding: 20px;
    }
    .form-wrapper {
      float: none !important;
      width: 100%;
    }
    .cont-wrapper {
      float: none !important;
      width: 100%;
      margin-top: 20px;
    }
    .tool-title {
      padding-top: 0;
      margin-top: 80px;
      font-size: 1.1rem;
    }
    .login_btn{
      right: 10px !important;
    }
    .form-wrapper, .cont-wrapper{
      padding: 20px;
    }
    .batch-edit-btn{
      width: 100%;
    }
  }

  /* Upload widget styles */
  .upload-widget { margin: 10px 0; }
  .upload-container {
    width: 100%; max-width: 600px; padding: 20px; border: 2px dashed #ccc;
    border-radius: 6px; text-align: center; background-color: white;
    transition: background-color 0.2s ease; cursor: pointer;
  }
  .upload-container:hover { background-color: rgb(245,245,245); }
  .upload-container.dragover { border-color: #007bff; background-color: #e6f0ff; }
  .upload-icon img { width: 30px; margin-bottom: 6px; }
  .upload-text { font-size: 14px; color: #000; margin: 0; }
  .upload-subtext { font-size: 14px; color: rgb(191, 190, 190); margin: 5px 0; }
  .upload-container input[type="file"] { display: none; }
  .upload-status {
    display: none; /* 默认隐藏，脚本中选中文件后显示 */
    width: 100%; max-width: 600px;
    padding: 10px; border: 1px solid #ccc; border-radius: 6px;
    background-color: #ffffff; transition: background-color 0.2s ease, border-color 0.2s ease;
    flex-direction: row; align-items: center; position: relative; overflow: hidden;
  }
  .upload-status .thumbnail {
    width: 50px; height: 50px; object-fit: cover;
    border: 1px solid #ccc; border-radius: 4px; margin-right: 10px; z-index: 2;
  }
  .upload-status .filename {
    font-size: 14px; color: #333; max-width: 150px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2;
  }
  .upload-status .status-right {
    flex: 1; display: flex;
    align-items: center; justify-content: flex-end; font-size: 14px; z-index: 2;
  }
  .upload-status .spinner {
    border: 2px solid #f3f3f3; border-top: 2px solid rgb(51,101,227);
    border-radius: 50%; width: 24px; height: 24px; animation: spin 1s linear infinite;
    z-index: 2;
  }
  @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  .upload-status .fill {
    position: absolute; top: 0; left: 0; bottom: 0;
    background-color: #e0e0e0; width: 0%; transition: width 0.3s ease, background-color 0.1s ease;
    z-index: 1;
  }