/* PDF Compressor Modal Styles (Scoped to pco-) */
  .pco-modal-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 100000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
  }
  
  /* Inline style override to trigger opacity transition smoothly */
  .pco-modal-overlay[style*="display: flex"],
  .pco-modal-overlay[style*="display:flex"] {
      opacity: 1 !important;
  }

  .pco-modal-content {
      background: #ffffff;
      width: 90%;
      max-width: 800px;
      border-radius: 24px;
      position: relative;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      animation: pcoModalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-sizing: border-box;
      border-top: 6px solid #4f46e5;
  }

  @keyframes pcoModalPop {
      0% { transform: scale(0.85) translateY(20px); opacity: 0; }
      100% { transform: scale(1) translateY(0); opacity: 1; }
  }

  .pco-close-modal {
      position: absolute;
      top: 15px; right: 20px;
      font-size: 28px;
      font-weight: 700;
      color: #64748b;
      cursor: pointer;
      transition: 0.2s;
      z-index: 10;
  }
  .pco-close-modal:hover {
      color: #ef4444;
      transform: scale(1.15);
  }

  .pco-cp-box {
      box-sizing: border-box;
  }

  .pco-ip-container {
      display: flex;
      flex-direction: column;
      text-align: center;
  }

  /* Upload Area Styles */
  .pco-upload-area {
      border: 2px dashed #cbd5e1;
      border-radius: 16px;
      padding: 30px 20px;
      background: #f8fafc;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-bottom: 20px;
      box-sizing: border-box;
  }
  .pco-upload-area:hover {
      border-color: #4f46e5;
      background: #f5f3ff;
      transform: translateY(-2px);
  }

  /* Settings Dropdown Styles */
  .pco-settings {
      margin-bottom: 20px;
      text-align: left;
      width: 100%;
  }
  .pco-setting-item label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: #334155;
      margin-bottom: 8px;
  }
  .pco-setting-item select {
      width: 100%;
      padding: 12px 15px;
      border: 2px solid #e2e8f0;
      border-radius: 12px;
      font-size: 15px;
      outline: none;
      background: #ffffff;
      transition: 0.3s;
      font-family: inherit;
  }
  .pco-setting-item select:focus {
      border-color: #4f46e5;
      box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
  }

  /* Status Text */
  .pco-status {
      font-size: 14px;
      font-weight: 700;
      color: #4f46e5;
      margin-bottom: 20px;
  }

  /* Action Buttons Styles */
  .pco-btn-main {
      width: 100%;
      padding: 14px 20px;
      border: none;
      border-radius: 12px;
      color: #ffffff;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-sizing: border-box;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .pco-btn-main:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  }

  /* ==================== MOBILE RESPONSIVE CSS ==================== */
  @media (max-width: 600px) {
      .pco-modal-content {
          width: 94%;
          border-radius: 20px;
      }
      .pco-cp-box {
          padding: 25px 15px !important;
      }
      .pco-upload-area {
          padding: 20px 15px;
      }
      .pco-close-modal {
          top: 10px;
          right: 15px;
          font-size: 24px;
      }
      .pco-ip-container h2 {
          font-size: 20px !important;
      }
      .pco-ip-container .sub {
          font-size: 13px !important;
          margin-bottom: 15px !important;
      }
      .pco-setting-item select {
          padding: 10px;
          font-size: 14px;
          border-radius: 10px;
      }
      #pcoMetaBox {
          min-height: 80px !important;
      }
      #pcoMetaText {
          font-size: 13px !important;
          padding: 15px !important;
      }
      .pco-btn-main {
          padding: 12px;
          font-size: 14px;
          border-radius: 10px;
      }
  }
