.pdfa-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f3f4f6;
  color: #1f2937;
  margin: 0;
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.pdfa-body .merge-container {
  width: 100%;
  max-width: 900px;
  padding: 2.5rem 3rem;
  text-align: center;
  margin-bottom: 2rem;
}

.pdfa-body h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #5b21b6;
}

.pdfa-body .subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.pdfa-body .hidden {
  display: none !important;
}

/* --- Upload Section --- */
.pdfa-body .upload-section {
  border: 3px dashed #e5e7eb;
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.pdfa-body .upload-section:hover,
.pdfa-body .upload-section.highlight {
  border-color: #5b21b6;
  background-color: #f5f3ff;
}

.pdfa-body .drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.pdfa-body  .bi-folder-plus{
   font-size: 4rem;
    color: #5b21b6;
    margin-bottom: 0.5rem;
}



.pdfa-body .drop-content .bi-file-earmark-lock-fill {
  font-size: 4rem;
  color: #5b21b6;
  margin-bottom: 0.5rem;
}

.pdfa-body .drop-content p {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4c1d95;
  margin: 0;
}

.pdfa-body .drop-content span {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

/* --- File Status Area (New styles) --- */
.pdfa-body .status-message-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.pdfa-body .status-message-container .status-text {
  color: #4c1d95;
}

.pdfa-body .status-message-container .spinner {
  border: 4px solid #e5e7eb;
  border-top: 4px solid #5b21b6;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pdfa-body .status-message-container .success-icon {
  color: #10b981;
  font-size: 1.5rem;
}

.pdfa-body .status-message.error {
  color: #ef4444;
  font-weight: 600;
  margin-top: 1rem;
}

/* --- Form & Inputs --- */
.pdfa-body .unlock-form-group {
  margin-bottom: 1.5rem;
  text-align: left;
  width: 100%;
}

.pdfa-body .unlock-form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.pdfa-body .unlock-password-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #4b5563;
}

/* --- Buttons --- */
.pdfa-body .unlock-button {
  width: 100%;
  padding: 1rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: #ffffff;
  background-color: #5b21b6;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pdfa-body .unlock-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pdfa-body .unlock-download-button {
  background-color: #10b981;
  margin-top: 1rem;
}

.pdfa-body .unlock-status {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
}

.pdfa-body .unlock-status.info {
  background-color: #e0e7ff;
  color: #4c1d95;
}

.pdfa-body .unlock-status.success {
  background-color: #d1fae5;
  color: #065f46;
}

.pdfa-body .unlock-status.error {
  background-color: #fee2e2;
  color: #991b1b;
}

/* --- How-To Section --- */
.pdfa-body .how-to-section {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin-bottom: 2rem;
}

.pdfa-body .how-to-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.pdfa-body .how-to-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #6b7280;
}

.pdfa-body .how-to-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.pdfa-body .step-card {
  flex: 1 1 250px;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pdfa-body .step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.pdfa-body .step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #5b21b6;
  margin-bottom: 1rem;
}

.pdfa-body .step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.pdfa-body .step-card p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

/* --- Discover Tools Section --- */
.pdfa-body .discover-section {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin-top: 2rem;
}

.pdfa-body .discover-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.pdfa-body .tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.pdfa-body .tool-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-color: #5b21b6;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.pdfa-body .tool-link:hover {
  background-color: #4c1d95;
  transform: translateY(-2px);
}
