@import url('/pdf-tools-design.css');

/* ===== Mode Switch (PDF→PPT / PPT→PDF tabs in hero) ===== */
.mode-switch {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 5px;
}

.mode-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mode-btn:hover {
  color: #fff;
}

.mode-btn.active {
  background: #fff;
  color: var(--primary-dark, #1a1a2e);
}

/* ===== Quality Select (inline in toolbar, next to page count) ===== */
.option-inline-label {
  font-size: 0.8rem;
  color: var(--dim);
  font-weight: 600;
  margin-right: 6px;
}

.quality-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(128, 128, 128, 0.25);
  font-size: 0.82rem;
  background: var(--card-bg, #fff);
  color: var(--text);
  cursor: pointer;
}

/* ===== Convert Info Box (professional card, matches file-row-card style) ===== */
.convert-info-box {
  background: var(--surface, #fff);
  border: 1.5px solid var(--border, #e5e8f0);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .convert-info-box {
  background: #1a2235;
  border-color: #1e2a40;
}

.convert-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.convert-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary, #4f46e5), var(--secondary, #7c3aed));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.convert-info-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text, #0b0f1c);
  line-height: 1.3;
}

.convert-info-sub {
  font-size: 0.78rem;
  color: var(--text2, #6b7280);
  margin-top: 2px;
}

[data-theme="dark"] .convert-info-title { color: #e2e8f0; }
[data-theme="dark"] .convert-info-sub  { color: #94a3b8; }

.convert-info-divider {
  height: 1px;
  background: var(--border, #e5e8f0);
  margin: 16px 0;
}

[data-theme="dark"] .convert-info-divider { background: #1e2a40; }

.convert-quality-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.convert-quality-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #0b0f1c);
}

[data-theme="dark"] .convert-quality-row label { color: #e2e8f0; }

.convert-quality-row .quality-select {
  min-width: 140px;
  padding: 8px 12px;
}

/* ===== Convert Tip Box ===== */
.convert-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface, #fff);
  border: 1.5px solid var(--border, #e5e8f0);
  border-left: 3px solid var(--primary, #4f46e5);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .convert-tip-box {
  background: #1a2235;
  border-color: #1e2a40;
  border-left-color: var(--primary, #4f46e5);
}

.convert-tip-icon {
  font-size: 1rem;
  line-height: 1.5;
}

.convert-tip-box p {
  font-size: 0.82rem;
  color: var(--text2, #4b5563);
  line-height: 1.55;
  margin: 0;
}

[data-theme="dark"] .convert-tip-box p { color: #94a3b8; }

/* ===== Coming Soon (PPT to PDF placeholder) ===== */
.coming-soon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
}

.coming-soon-wrap .upload-hint {
  max-width: 420px;
  margin-top: 6px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .mode-btn {
    padding: 8px 13px;
    font-size: 13px;
  }
}