body.pdf-tool-page {
  background-color: #f5f7fb;
}

.pdf-tool-page .breadcrumbs-area,
.pdf-tool-page .card.height-auto {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20, 40, 90, 0.08);
  border: none;
}

.pdf-tool-page .card.height-auto .card-body {
  padding: 2.25rem;
}

.pdf-dropzone {
  position: relative;
  margin-top: 0.75rem;
  border: 2px dashed #9aa4c3;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 251, 0.92) 100%);
  color: #3a4b6d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.75rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pdf-dropzone:focus,
.pdf-dropzone.highlight {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.pdf-dropzone__icon {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.pdf-dropzone__headline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pdf-dropzone__subhead {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: #4b5c7f;
}

.pdf-dropzone__button {
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdf-dropzone__button:hover,
.pdf-dropzone__button:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.35);
}

.pdf-dropzone__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 420px;
  text-align: left;
  color: #1f2937;
}

.pdf-dropzone__list li {
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pdf-dropzone__list li i {
  color: #2563eb;
}

.pdf-dropzone__hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.pdf-progress {
  margin-top: 2rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.08), 0 10px 40px rgba(15, 23, 42, 0.1);
}

.pdf-progress__label {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.pdf-progress__track {
  position: relative;
  width: 100%;
  height: 16px;
  background: #e5edff;
  border-radius: 999px;
  overflow: hidden;
}

.pdf-progress__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.pdf-advanced {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 0;
}

.pdf-advanced > summary {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdf-advanced[open] > summary::after,
.pdf-advanced > summary::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #2563eb;
  transition: transform 0.2s ease;
}

.pdf-advanced[open] > summary::after {
  transform: rotate(180deg);
}

.pdf-advanced__content {
  padding: 0 1.5rem 1.5rem;
  display: grid;
  gap: 1rem 1.5rem;
}

.pdf-advanced__content .form-group {
  margin-bottom: 0;
}

.pdf-tool-page .btn-fill-lg,
.pdf-tool-page .btn.btn-lg {
  border-radius: 999px;
  padding: 0.95rem 2.6rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.pdf-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.pdf-download-actions .btn-primary,
.pdf-download-actions .btn-outline-secondary,
.pdf-download-actions .btn-success {
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
}

.pdf-preview-frame {
  width: 100%;
  min-height: 560px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
  margin-top: 2rem;
}

.pdf-preview-placeholder {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  color: #4b5563;
  border: 2px dashed #cbd5f5;
}

@media (max-width: 768px) {
  .pdf-dropzone {
    padding: 2rem 1rem;
  }

  .pdf-progress {
    padding: 1.1rem;
  }

  .pdf-preview-frame {
    min-height: 420px;
  }
}
