.pdf-tool-area {
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
    background: #fafafa;
    margin: 24px 0;
  }

  .pdf-tool-area input[type="file"] {
    margin-bottom: 12px;
  }

  .pdf-pages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 16px;
  }

  .pdf-page {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    font-size: 12px;
  }

  .pdf-page canvas {
    width: 100%;
    height: auto;
    margin-bottom: 4px;
    border-bottom: 1px solid #eee;
  }

  .pdf-actions {
    margin-top: 16px;
  }

  .pdf-actions button {
    padding: 10px 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width:100%;
  }

  .pdf-actions button:disabled {
    background: #999;
  }

  .status {
    margin-top: 10px;
    font-size: 14px;
  }

  @media (max-width: 600px) {
    .pdf-actions button {
      width: 100%;
    }
  }
   
/* Skeleton Loader */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px,1fr));
  gap: 10px;
  margin-top: 12px;
}
.skeleton {
  height: 140px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    #eee 25%,
    #f5f5f5 37%,
    #eee 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
} 