/* 
 * PUROHIT DIGITAL AUDIT PRO - CUSTOM STYLESHEET
 * Designed for premium agency auditing and CRM management.
 * Inspired by Linear, Apple, and Stripe aesthetics.
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Default Branding Colors (Configurable via settings) */
  --primary-color: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.15);
  --secondary-color: #f59e0b;
  --secondary-glow: rgba(245, 158, 11, 0.15);
  
  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Theme: Light Mode (default) */
  --bg-app: #f4f6fa;
  --bg-sidebar: rgba(255, 255, 255, 0.75);
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-hover: rgba(99, 102, 241, 0.05);
  --border-color: rgba(226, 232, 240, 0.8);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --shadow-sm: 0 2px 8px -1px rgba(99, 102, 241, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 16px -6px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
  
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(12px) saturate(180%);
  
  --sidebar-width: 260px;
  --transition-speed: 0.3s;
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-app: #080c14;
  --bg-sidebar: rgba(15, 23, 42, 0.8);
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-hover: rgba(99, 102, 241, 0.1);
  --border-color: rgba(51, 65, 85, 0.5);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 16px -6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px) saturate(160%);
}

/* Base resets & styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  overflow-x: hidden;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  min-height: 100vh;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.glass-panel:hover {
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Dashboard Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.metric-card {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.metric-card.sec-theme::before {
  background: var(--secondary-color);
}

.metric-card.success-theme::before {
  background: var(--color-success);
}

.metric-card.warning-theme::before {
  background: var(--color-warning);
}

.metric-card.danger-theme::before {
  background: var(--color-danger);
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 5px;
  color: var(--text-main);
}

/* Sidebar Styling */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-right: 1px solid var(--border-color);
  z-index: 1000;
  transition: transform var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-logo {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  color: var(--primary-color);
}

.sidebar-logo img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}

.sidebar-menu {
  list-style: none;
  padding: 0 16px;
  margin: 0;
  flex-grow: 1;
}

.sidebar-item {
  margin-bottom: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.sidebar-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--primary-color);
  background: var(--bg-hover);
}

.sidebar-link.active {
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--primary-glow);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

/* Main Layout Setup */
.main-wrapper {
  margin-left: var(--sidebar-width);
  padding: 24px;
  min-height: 100vh;
  transition: margin-left var(--transition-speed) ease;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

/* View switcher */
.app-view {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.app-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating Actions */
.fab-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  z-index: 999;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fab-btn:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
}

/* Custom Multi-Step Form */
.form-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.form-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--bg-app);
  padding: 0 10px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step-indicator.active .step-num {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
  box-shadow: 0 0 12px var(--primary-glow);
}

.step-indicator.completed .step-num {
  border-color: var(--color-success);
  background: var(--color-success);
  color: white;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.step-indicator.active .step-label {
  color: var(--primary-color);
  font-weight: 600;
}

.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Image Upload Container */
.upload-container {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(255,255,255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.upload-container:hover, .upload-container.dragover {
  border-color: var(--primary-color);
  background: var(--bg-hover);
}

.upload-preview {
  max-width: 120px;
  max-height: 120px;
  border-radius: 8px;
  margin-top: 12px;
  display: none;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* Rating selector */
.audit-rating-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.rating-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  padding: 10px 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rating-btn:hover {
  border-color: var(--primary-color);
  background: var(--bg-hover);
}

.rating-btn.selected[data-val="5"] { background: rgba(16, 185, 129, 0.15); border-color: var(--color-success); color: var(--color-success); }
.rating-btn.selected[data-val="4"] { background: rgba(59, 130, 246, 0.15); border-color: var(--color-info); color: var(--color-info); }
.rating-btn.selected[data-val="3"] { background: rgba(245, 158, 11, 0.15); border-color: var(--color-warning); color: var(--color-warning); }
.rating-btn.selected[data-val="2"] { background: rgba(239, 68, 68, 0.15); border-color: var(--color-danger); color: var(--color-danger); }
.rating-btn.selected[data-val="0"] { background: rgba(100, 116, 139, 0.15); border-color: var(--text-muted); color: var(--text-muted); }

/* Circular Gauge Indicator */
.gauge-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 8;
}

.gauge-fill {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transition: stroke-dashoffset 1s ease-in-out;
}

.gauge-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.gauge-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* AI Recommendation List */
.recom-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-hover);
  margin-bottom: 8px;
  border-left: 3px solid var(--primary-color);
}

.recom-item.high {
  border-left-color: var(--color-danger);
  background: rgba(239, 68, 68, 0.04);
}

.recom-item.medium {
  border-left-color: var(--color-warning);
  background: rgba(245, 158, 11, 0.04);
}

/* CRM status badges */
.badge-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.status-lead { background: rgba(59, 130, 246, 0.12); color: var(--color-info); }
.status-demo { background: rgba(163, 230, 53, 0.15); color: #84cc16; }
.status-proposal { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.status-converted { background: rgba(16, 185, 129, 0.12); color: var(--color-success); }
.status-lost { background: rgba(239, 68, 68, 0.12); color: var(--color-danger); }

/* Signature & Stamp Styling */
.signature-box {
  border: 1px solid var(--border-color);
  background: var(--bg-app);
  border-radius: 8px;
  cursor: crosshair;
  touch-action: none;
}

/* Toast System */
.toast-container-custom {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-toast {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  transform: translateX(-120%);
  animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.app-toast.hide {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  to { transform: translateX(0); }
}

@keyframes toastOut {
  to { transform: translateX(-120%); opacity: 0; }
}

/* Loading animations */
.app-loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-app);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.spinner-glow {
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.spinner-glow::after {
  content: '';
  position: absolute;
  top: 5px; left: 5px; right: 5px; bottom: 5px;
  border: 3px solid transparent;
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Responsiveness styling */
@media (max-width: 991.98px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  
  .app-sidebar.show {
    transform: translateX(0);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  }
  
  .main-wrapper {
    margin-left: 0;
  }
  
  .sidebar-toggler {
    display: block !important;
  }
}

.sidebar-toggler {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
}

/* PDF PRINTING STYLES OVERRIDES */
/* These rules are active during html2pdf export capture */
.pdf-print-mode {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-family: 'Poppins', sans-serif !important;
}

.pdf-print-mode .pdf-page {
  width: 790px;
  height: 1115px; /* Exact A4 aspect ratio height at 790px width */
  padding: 50px 50px 45px;
  box-sizing: border-box;
  position: relative;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  page-break-after: always;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Page Background accents */
.pdf-print-mode .pdf-decor-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.pdf-print-mode .pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.pdf-print-mode .pdf-header-tag {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.pdf-print-mode .pdf-logo-box img {
  height: 28px;
}

.pdf-print-mode .pdf-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
  position: absolute;
  bottom: 35px;
  left: 50px;
  right: 50px;
}

/* Cover page enhancements */
.pdf-print-mode .pdf-cover-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: 20px;
  position: relative;
}

.pdf-print-mode .pdf-cover-accent-bg {
  position: absolute;
  top: -100px; right: -250px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.pdf-print-mode .pdf-cover-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -1px;
  z-index: 2;
}

.pdf-print-mode .pdf-cover-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 25px;
  z-index: 2;
}

.pdf-print-mode .pdf-accent-bar {
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 15px 0 25px;
  border-radius: 3px;
}

.pdf-print-mode .pdf-cover-meta-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  margin-top: 15px;
  z-index: 2;
}

.pdf-print-mode .pdf-cover-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.pdf-print-mode .pdf-cover-meta-row:last-child {
  border-bottom: none;
}

.pdf-print-mode .pdf-cover-logo-watermark {
  font-size: 8rem;
  color: var(--primary-glow);
  position: absolute;
  bottom: 40px;
  right: 20px;
  z-index: 1;
  opacity: 0.8;
}

/* Page 2 Scorecards */
.pdf-print-mode .pdf-score-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white !important;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.pdf-print-mode .pdf-score-badge {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
}

.pdf-print-mode .pdf-score-num {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.pdf-print-mode .pdf-score-lbl {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  margin-top: 2px;
}

.pdf-print-mode .pdf-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pdf-print-mode .pdf-info-list li {
  font-size: 0.8rem;
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}
.pdf-print-mode .pdf-info-list li i {
  color: var(--primary-color);
  width: 14px;
  text-align: center;
  margin-top: 3px;
}

/* Tables styling */
.pdf-print-mode .pdf-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.pdf-print-mode .pdf-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  font-size: 0.8rem;
  border-bottom: 2px solid #cbd5e1;
}
.pdf-print-mode .pdf-table td {
  padding: 8px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: #334155;
}
.pdf-print-mode .pdf-table tr:nth-child(even) {
  background: #f8fafc;
}

/* Grade badges in PDF */
.pdf-print-mode .pdf-grade-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-block;
}
.pdf-print-mode .pdf-grade-badge.a { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.pdf-print-mode .pdf-grade-badge.b { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.pdf-print-mode .pdf-grade-badge.c { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.pdf-print-mode .pdf-grade-badge.d { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Recommendations & Roadmap */
.pdf-print-mode .pdf-recom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdf-print-mode .pdf-recom-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}
.pdf-print-mode .pdf-recom-card.high {
  border-left-color: var(--color-danger);
  background: rgba(239, 68, 68, 0.01);
}
.pdf-print-mode .pdf-recom-card.medium {
  border-left-color: var(--color-warning);
  background: rgba(245, 158, 11, 0.01);
}

.pdf-print-mode .pdf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Roadmap timeline styling */
.pdf-print-mode .pdf-roadmap-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.pdf-print-mode .pdf-roadmap-card {
  display: flex;
  gap: 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 15px;
}
.pdf-print-mode .pdf-roadmap-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.pdf-print-mode .pdf-roadmap-step.step2 { background: var(--secondary-color); }
.pdf-print-mode .pdf-roadmap-step.step3 { background: var(--color-success); }

/* Stamp circular overlay styling */
.pdf-print-mode .pdf-stamp-circle {
  width: 120px;
  height: 120px;
  border: 3px double #1e3a8a;
  border-radius: 50%;
  color: #1e3a8a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  padding: 10px;
  position: relative;
  transform: rotate(-8deg);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 5px rgba(30, 58, 138, 0.1);
  margin: 0 auto;
}
.pdf-print-mode .pdf-stamp-circle::before {
  content: 'VERIFIED';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(25deg);
  font-size: 1.4rem;
  opacity: 0.18;
  letter-spacing: 2px;
}

/* Custom color picker style overrides */
.color-picker-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.color-picker-dot.active {
  border-color: var(--text-main);
  transform: scale(1.1);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem var(--primary-glow);
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--primary-color);
  filter: brightness(0.9);
  border-color: var(--primary-color);
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}
