.pdf-compress-main {
  max-width: 420px;
  margin: 40px auto;
  background: #fff;
  padding: 2em 1.5em;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  text-align: center;
}
.header-section {
  text-align: center;
  margin-bottom: 2rem;
}
.header-section h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.subtitle {
  color: var(--text-color);
  opacity: 0.8;
}
.header-section p {
  color: #666;
  margin-bottom: 2em;
}
.upload-area {
  border: 2px dashed var(--primary-color);
  border-radius: 0.75rem;
  padding: 3rem 2rem;
  background: #fff;
  margin-bottom: 1.5em;
  text-align: center;
  transition: all 0.3s ease;
}
.upload-area:hover, .upload-area.highlight {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--secondary-color);
}
.upload-prompt i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.upload-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 1rem 0;
}
.upload-btn:hover {
  background: var(--secondary-color);
}
.file-info {
  margin-top: 10px;
  color: #666;
  font-size: 0.98rem;
}
.option-group {
  margin-bottom: 1.2em;
  text-align: left;
}
.option-group label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
}
.dimension-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}
.convert-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.convert-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}
.convert-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
#status {
  margin-top: 1.2em;
  color: #e53935;
  font-size: 1.05em;
}
@media (max-width: 600px) {
  .pdf-compress-main {
    padding: 1em 0.3em;
    max-width: 98vw;
  }
  .header-section h1 {
    font-size: 1.3rem;
  }
  .upload-area {
    padding: 18px 4px;
  }
}
.pdf-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.pdf-icon-wrapper i {
  color: var(--primary-color);
  font-size: 4rem;
  filter: drop-shadow(0 2px 8px rgba(229,57,53,0.15));
}
.drop-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}
.drop-hint {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
