:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --secondary-bg: #f8fafc;
  --card-border: #e2e8f0;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --success-color: #10b981;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

/* Navbar */
.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.navbar-brand img {
  height: 44px;
  width: auto;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #ffffff 75%);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Dropzone Styles */
.dropzone-container {
  max-width: 820px;
  margin: 0 auto;
}

.dropzone-card {
  border: 2px dashed #3b82f6;
  border-radius: 1.25rem;
  background-color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.08);
  position: relative;
}

.dropzone-card:hover, .dropzone-card.dragover {
  border-color: #1d4ed8;
  background-color: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.15);
}

.upload-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  color: #2563eb;
}

/* Conversion Queue */
.queue-card {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s;
}

.file-item:last-child {
  border-bottom: none;
}

.file-item:hover {
  background-color: #f8fafc;
}

.file-preview {
  width: 50px;
  height: 50px;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #e2e8f0;
}

.file-info {
  flex: 1;
  min-width: 0;
  margin-left: 1rem;
  margin-right: 1rem;
}

.file-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1e293b;
}

/* Feature Cards */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.06);
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Steps section */
.step-number {
  width: 36px;
  height: 36px;
  background-color: #0d6efd;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Content & FAQ typography */
.article-content {
  line-height: 1.75;
  color: #334155;
}

.article-content h2 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  color: #1e293b;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #eff6ff;
}

/* Floating Add to Favorite Toast / Prompt */
#bookmarkAlert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  max-width: 340px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #94a3b8;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s;
}

footer a:hover {
  color: #ffffff;
}

/* Ads placeholder styling */
.ad-slot {
  min-height: 90px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

