/* ==========================================================================
   FreelancerBill.com — Modern SaaS Typography, Theme & Mobile Optimization
   ========================================================================== */

:root {
  --invoice-accent: #2563EB;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Reusable Clean SaaS Card & Input Styles */
.ui-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.875rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.step-badge {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.5rem;
  background-color: #eff6ff;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.input-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.35rem;
}

.ui-input {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.15s ease;
}

.ui-input:focus {
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

/* Currency Selector Buttons */
.currency-btn {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.15s ease;
}

.currency-btn:hover {
  border-color: #94a3b8;
  background-color: #f1f5f9;
}

.currency-btn.active-currency {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

/* Theme Color Dots */
.theme-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.theme-dot:hover {
  transform: scale(1.12);
}

/* Mobile Tab Switcher Active State */
.mobile-tab-active {
  background-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Quick Service Pill Button */
.service-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
  cursor: pointer;
}

.service-chip:hover,
.service-chip:active {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* QR Code Sizing */
#upiQrCodeContainer img,
#upiQrCodeContainer canvas {
  width: 80px !important;
  height: 80px !important;
  display: block;
}

/* Desktop & Mobile PDF Export Exact A4 Lock */
#invoiceDocument {
  max-width: 794px;
}

.pdf-export-mode {
  width: 794px !important;
  min-width: 794px !important;
  max-width: 794px !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  background: #ffffff !important;
}