/* ==========================================================================
   360tools.me — PDF Tools Ecosystem: Responsive Rules
   ========================================================================== */

@media (max-width: 768px) {
  .pdf-tool-wrapper {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .pdf-dropzone {
    padding: 2rem 1rem;
  }

  .pdf-dropzone-title {
    font-size: 1.1rem;
  }

  .pdf-dropzone-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.4rem;
  }

  .pdf-file-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .pdf-file-item-left {
    width: 100%;
  }

  .pdf-file-item-name {
    max-width: 220px;
  }

  .pdf-file-item-actions {
    justify-content: flex-end;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.5rem;
  }

  .pdf-pages-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
  }

  .pdf-options-grid {
    grid-template-columns: 1fr;
  }

  .pdf-result-actions {
    flex-direction: column;
    width: 100%;
  }

  .pdf-result-actions .pdf-btn-primary,
  .pdf-result-actions .pdf-btn-secondary {
    width: 100%;
  }
}
