body {
    font-family: Arial, sans-serif;
	font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #fff;
  }
  .topbar {
          width: 100%;
          background-color: #fff;
          color: white;
         
          text-align: center;
          font-size: 23px;
          display: flex;
          justify-content: space-between;
          padding: 15px 0px;
          box-shadow: 0 3px 6px 0 rgba(50, 50, 50, 0.3);
      }

      
      .innerbar{
          width: 1000px;
          margin: 0 auto;
          display: flex;
          justify-content: space-between;
          align-items: center;
      }

      .innerbar .logo{
            float: none;
        color: white;
      text-decoration: none;
      font-size: 25px;
      font-weight: 600;
      padding:0 0 0 8px;
      }
      .innerbar .logo .pdf{
          color: #EB1000;
          }
    .innerbar .logo .is{
      color: #007bff;
  }
  
  .innerbar .nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
  }
  
  .innerbar .nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  .innerbar .nav-links .user-membership a {
    color: #fff;
    background-color:#007bff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  .innerbar .nav-links .user-membership a:hover {
    background-color: #0056b3;
    color: #fff;
  }

  .innerbar .nav-links .user-greeting,
  .innerbar .nav-links .user-membership {
    font-size: 14px;
    color: #555;
  }
  .innerbar .nav-links .user-membership small {
    margin-left: 6px;
    color: #888;
  }
  .innerbar .nav-links .user-membership.premium {
    color: #007bff;
  }
  .innerbar .nav-links .user-membership.premium small {
    color: #007bff;
  }
  
  .innerbar .nav-links a:hover {
    background-color: #f8f9fa;
    color: #007bff;
  }

  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 35px;
  }
  h2 {
  text-align: center;
  color: #212529;
  margin-bottom: 30px;
  font-weight: normal;
  color: #47474f;
  font-size: 21px;
    }

  .upload-box {
    background-color: #fff;
    border-radius: 5px;
    padding: 30px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  .membership-info {
    margin: 10px auto;
    font-size: 16px;
    color: #333;
  }
  .membership-info span {
    font-weight: 600;
    color: #007bff;
  }
  .pdf-input {
    margin-bottom: 20px;
    position: relative;
  }

  #pdfFile {
    opacity: 0;
    position: absolute;
    z-index: -1;
    width: 0.1px;
    height: 0.1px;
  }
  .file-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 250px;
    text-align: center;
    margin: 10px auto;
  }
  .file-btn:hover {
    background-color: #0056b3;
  }
  .file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    display: none;
  }
  #convertBtn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: none;
    width: 250px;
  }
  #convertBtn:hover {
    background-color: #45a049;
  }
  #status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    display: none;
  }
  /* Toast 基础样式 - 默认完全隐藏 */
  .toast {
    position: fixed;
    top: 20px;
    right: 20px;
    transform: translateX(-50%);
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 3000;
    max-width: 400px;
    word-wrap: break-word;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  /* 隐藏状态 - 确保完全隐藏 */
  .toast.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  /* 显示状态 - 只有在有show类且没有hidden类时才显示 */
  .toast.show:not(.hidden) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }
  .toast-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  }
  .toast-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  }
  .hidden {
    display: none !important;
  }
  .upgrade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
  }
  .upgrade-overlay.hidden {
    display: none !important;
  }
  .upgrade-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
  }
  .upgrade-modal {
    background: #fff;
    padding: 45px 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
    transform: scale(0.85) translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: scale(0.85) translateY(-30px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  .upgrade-overlay:not(.hidden) .upgrade-modal {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  .upgrade-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
  }
  @keyframes gradientShift {
    0%, 100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }
  .upgrade-modal h2 {
    margin: 0 0 16px 0;
    font-size: 26px;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    letter-spacing: -0.5px;
  }
  .upgrade-modal p {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 36px 0;
    line-height: 1.7;
    padding: 0 10px;
  }
  .upgrade-modal .actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .upgrade-modal .btn {
    width: 168px;
    padding: 14px 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
  }
  .upgrade-modal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
  }
  .upgrade-modal .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 123, 255, 0.45);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  }
  .upgrade-modal .btn-primary:active {
    transform: translateY(-1px);
  }
  .upgrade-modal .btn-secondary {
    background: #f8f9fa;
    color: #007bff;
    border: 2px solid #e9ecef;
  }
  .upgrade-modal .btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .upgrade-modal .btn-secondary:active {
    transform: translateY(0);
  }
  .btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  .btn-primary {
    background-color: #007bff;
    color: #fff;
  }
  .btn-primary:hover {
    background-color: #0056b3;
  }
  .btn-secondary {
    background-color: #e0e0e0;
    color: #333;
  }
  .btn-secondary:hover {
    background-color: #c2c2c2;
  }
  .loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  .info-text {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
  }

  .description {
    border-radius: 12px;
    /*box-shadow: 0 2px 12px rgba(0,0,0,0.06);*/
    padding: 40px 32px 32px 32px;
    margin: 40px auto 30px auto;
    max-width: 1000px;
    font-size: 17px;
    color: #333;
    line-height: 1.8;
  }
  .description h2 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 60px auto 20px;
  }
  .description p {
    color: #444;
    font-size: 16px;
    margin:10px auto;
    background: #fff;
    border-radius: 4px;
    padding: 10px 15px;
  }

  .desc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  .desc-pane {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    padding: 20px;
    flex: 1 1 42%;
    min-width: 340px;
    max-width: 420px;
    margin-bottom: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .desc-pane h3 {
    font-size: 21px;
    font-weight: 600;
    margin:20px auto;
    border-radius: 4px;
    text-align: center;
  }
  .faq-pane {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    padding: 18px 14px 14px 14px;
    flex: 1 1 42%;
    min-width: 260px;
    max-width: 420px;
    margin-bottom: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-pane h4 {
    font-size: 21px;
    font-weight: 600;
    margin:20px auto;
    padding-bottom: 2px;
  }
  .desc-pane, .faq-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .desc-pane h3, .desc-pane h4, .desc-pane p,
  .faq-pane h4, .faq-pane p {
    text-align: center;
  }

  .footer {
    text-align: center;
    margin: 40px auto 100px;
    padding: 20px 0;
    font-size: 14px;
    color: #666;
  }
  .tools .desc-pane{
    padding: 0px;
    max-width: 460px;
  }

  .tools a{
    text-decoration: none;
    color: #333;
    display: block;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    border:1px solid transparent;
    padding: 20px;
    height: 100%;
  }
  .tools a:hover{
    border:1px solid #007bff;
  }

  @media (max-width: 900px) {
    .desc-grid {
      flex-direction: column;
      gap: 16px;
    }
    .desc-pane ,.tools .desc-pane{
      min-width: unset;
      max-width: unset;
    }
  }

  .footer a{
    color: #7f8c8d;
    text-decoration: none;
  }

  /* Auth Modal Styles */
  .auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
  }

  .auth-modal.hidden {
    display: none !important;
  }

  .auth-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
  }

  .auth-modal-content {
    background: #fff;
    padding: 0;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
    transform: scale(0.85) translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .auth-modal:not(.hidden) .auth-modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .auth-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
  }

  .auth-close:hover {
    color: #333;
  }

  .auth-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
  }

  .auth-tab {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
  }

  .auth-tab:hover {
    color: #007bff;
    background: #f8f9fa;
  }

  .auth-tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
    font-weight: 600;
  }

  .auth-tab-content {
    display: none;
    padding: 30px 40px 40px;
  }

  .auth-tab-content.active {
    display: block;
  }

  .auth-tab-content h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    text-align: center;
  }

  .auth-tab-content p {
    text-align: center;
    color: #6c757d;
    margin: 0 0 25px 0;
    font-size: 14px;
  }

  .auth-tab-content .form-group {
    margin-bottom: 20px;
  }

  .auth-tab-content label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
  }

  .auth-tab-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }

  .auth-tab-content input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }

  .auth-tab-content button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
  }

  .auth-tab-content button[type="submit"]:hover {
    background: #0056b3;
  }

  .auth-tab-content .error {
    color: #dc3545;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
  }

  .auth-tab-content .error:empty {
    display: none;
  }
.free-vip{
	    text-align: center;

}
.free-vip a{
	color:#007bff;
}
  @media (max-width: 600px) {
    .auth-modal-content {
      max-width: 100%;
      margin: 10px;
    }

    .auth-tab-content {
      padding: 25px 30px 35px;
    }
  }
