/* ==================== DESIGN SYSTEM & TOKENS ==================== */
:root {
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --primary-light: rgba(14, 165, 233, 0.15);
  --secondary: #FACC15;
  --secondary-dark: #EAB308;
  --secondary-light: rgba(250, 204, 21, 0.1);
  
  /* Slate Theme Colorways */
  --bg-base: #0B0F19;
  --bg-surface: #141B2D;
  --bg-surface-glass: rgba(20, 27, 45, 0.75);
  --bg-surface-light: #1E2942;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-inverse: #0F172A;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #0EA5E9;
  
  --font-sans: 'Plus Jakarta Sans', 'Outfit', 'Inter', sans-serif;
  
  /* Shadows and Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-primary: 0 0 15px rgba(14, 165, 233, 0.3);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Animations */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== CORE RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow: hidden;
  line-height: 1.5;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.hidden {
  display: none !important;
}

.text-light {
  color: var(--text-muted);
}

.text-blue { color: var(--primary); }
.text-green { color: #10B981; }
.text-red { color: #EF4444; }
.text-gold { color: var(--secondary); }
.text-fb { color: #1877F2; }
.text-ig { color: #E1306C; }

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-light);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==================== LOGIN SCREEN STYLES ==================== */
.login-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(250, 204, 21, 0.05) 0%, transparent 50%),
              var(--bg-base);
  padding: 1.5rem;
  overflow-y: auto;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  animation: loginAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes loginAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.login-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-group-login {
  margin-bottom: 1.5rem;
}

.form-group-login label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-input-wrapper input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  padding: 0.9rem 3rem 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  color: white;
}

.password-input-wrapper input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.password-toggle-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.password-toggle-btn:hover {
  color: white;
}

.error-msg {
  display: none;
  font-size: 0.85rem;
  color: #EF4444;
  margin-top: 0.5rem;
  font-weight: 500;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.login-card.shake {
  animation: cardShake 0.4s ease;
}

@keyframes cardShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.form-options {
  margin-bottom: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.btn-login {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}

.btn-login:active {
  transform: translateY(0);
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.6);
}


/* ==================== DASHBOARD WRAPPER ==================== */
.dashboard-wrapper {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar-brand {
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
  height: 38px;
  width: auto;
}

.sidebar-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-nav {
  padding: 1.5rem 1rem;
  flex-grow: 1;
  overflow-y: auto;
}

.sidebar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-item {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  text-align: left;
}

.nav-item i {
  font-size: 1.1rem;
}

.nav-item:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
  color: white;
  background-color: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

.btn-logout {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #EF4444;
  background-color: rgba(239, 68, 68, 0.08);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout:hover {
  background-color: rgba(239, 68, 68, 0.16);
  color: #F87171;
}

/* Main Content Area */
.main-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-base);
}

.dashboard-header {
  height: 80px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  flex-shrink: 0;
}

.header-left h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.header-left p {
  font-size: 0.85rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulsePin 1.5s infinite ease-in-out;
}

@keyframes pulsePin {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #10B981;
}

.header-logout-btn {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background-color: var(--bg-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.header-logout-btn:hover {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.content-body {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* ==================== TAB CONTENT PANELS ==================== */
.tab-panel {
  display: none;
  animation: tabFadeIn 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

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

/* Panel Common Card Layout */
.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.card-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.col-blue { background: rgba(14, 165, 233, 0.12); color: var(--primary); }
.col-gold { background: rgba(250, 204, 21, 0.12); color: var(--secondary); }
.col-red { background: rgba(239, 68, 68, 0.12); color: #EF4444; }
.col-purple { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.col-cyan { background: rgba(6, 182, 212, 0.12); color: #06B6D4; }
.col-gray { background: rgba(148, 163, 184, 0.12); color: var(--text-muted); }

.panel-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.panel-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}


/* ==================== HOME / OVERVIEW TAB ==================== */
.welcome-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(20, 27, 45, 0.6) 100%);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.welcome-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.welcome-text p {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 0.95rem;
}

.welcome-stats {
  display: flex;
  gap: 1.5rem;
}

.stat-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 110px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* Quick Actions Button Bar */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.quick-action-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.quick-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.15);
}

.quick-action-btn:active {
  transform: translateY(0);
}

.quick-action-btn .action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-call .action-icon { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.card-site .action-icon { background: rgba(14, 165, 233, 0.1); color: var(--primary); }
.card-google .action-icon { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.card-review .action-icon { background: rgba(250, 204, 21, 0.1); color: var(--secondary); }

.action-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.action-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Dashboard Tools Cards Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-slow);
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tool-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tool-badge {
  background-color: var(--secondary-light);
  border: 1px solid rgba(250, 204, 21, 0.2);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tool-action-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  transition: var(--transition);
}

.tool-card:hover .tool-action-link {
  color: white;
  gap: 0.6rem;
}


/* ==================== REVIEW REQUESTER VIEW ==================== */
.requester-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background: #253350;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.message-preview-container {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: rgba(15, 23, 42, 0.4);
  padding: 1.25rem;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-text {
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.btn-text:hover {
  color: white;
}

.preview-bubble {
  background-color: var(--bg-surface-light);
  padding: 1rem 1.25rem;
  border-radius: 18px 18px 18px 4px;
  position: relative;
  max-width: 85%;
  border: 1px solid var(--border-color);
}

.preview-bubble p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0;
  word-break: break-word;
}

.action-buttons-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-primary-action, .btn-secondary-action {
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary-action {
  background-color: var(--primary);
  color: white;
}

.btn-primary-action:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-primary);
}

.btn-secondary-action {
  background-color: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  color: white;
}

.btn-secondary-action:hover {
  background-color: var(--border-color);
  border-color: rgba(255, 255, 255, 0.2);
}

.form-status-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.form-status-alert.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}


/* ==================== QR CODES VIEW ==================== */
.qr-overview-header {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.qr-overview-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.qr-selector-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.qr-select-btn {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: var(--transition);
}

.qr-select-btn:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.qr-select-btn.active {
  background-color: var(--primary-light);
  color: white;
  border-color: var(--primary);
}

.qr-display-panel {
  display: flex;
  justify-content: center;
  width: 100%;
}

.qr-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
  transition: var(--transition);
}

.qr-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
}

.qr-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.qr-target-url {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  word-break: break-all;
  width: 100%;
  color: var(--text-muted);
}

.qr-display-container {
  background-color: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  width: 170px;
  height: 170px;
}

.qrcode-target canvas, .qrcode-target img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn-qr-download {
  width: 100%;
  background-color: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  color: white;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: var(--transition);
}

.btn-qr-download:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}


/* ==================== GOOGLE BUSINESS VIEW ==================== */
.google-controls-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.g-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface-light);
  cursor: pointer;
  transition: var(--transition);
}

.g-control-row:hover {
  border-color: rgba(239, 68, 68, 0.3);
  background-color: rgba(255, 255, 255, 0.02);
}

.g-row-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.row-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.row-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.row-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.row-action {
  color: var(--text-muted);
  transition: var(--transition);
}

.g-control-row:hover .row-action {
  color: white;
  transform: translateX(3px);
}


/* ==================== BUSINESS WEBMAIL VIEW ==================== */
.email-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-login-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface-light);
  cursor: pointer;
  transition: var(--transition);
}

.yahoo-mail:hover { border-color: rgba(139, 92, 246, 0.3); background-color: rgba(139, 92, 246, 0.05); }
.custom-webmail:hover { border-color: rgba(6, 182, 212, 0.3); background-color: rgba(6, 182, 212, 0.05); }

.email-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.yahoo-mail .email-icon { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.custom-webmail .email-icon { background: rgba(6, 182, 212, 0.1); color: #06B6D4; }

.email-details {
  flex-grow: 1;
}

.email-details h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.email-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.email-arrow {
  color: var(--text-muted);
  transition: var(--transition);
}

.email-login-block:hover .email-arrow {
  color: white;
  transform: translateX(4px);
}

.email-tip-box {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--secondary-light);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.email-tip-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}

.email-tip-box p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-main);
  opacity: 0.9;
}


/* ==================== LINKS HUB VIEW ==================== */
.links-dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .links-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.links-directory-card, .links-editor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.links-directory-card h2, .links-editor-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.link-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.link-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.link-label i {
  font-size: 1.1rem;
}

.link-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.link-url-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 0.5rem;
}

.link-url-text.placeholder-text {
  font-style: italic;
  opacity: 0.5;
}

.btn-icon-action {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-icon-action:hover {
  background-color: var(--primary-light);
  color: white;
  border-color: var(--primary);
}


/* ==================== BUSINESS INFORMATION VIEW ==================== */
.info-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .info-layout {
    grid-template-columns: 1fr;
  }
}

.info-left-block, .info-right-block {
  padding: 2.25rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.info-logo-inline {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.info-card-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}

.info-details-table {
  display: flex;
  flex-direction: column;
}

.info-details-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-details-row:last-child {
  border-bottom: none;
}

.info-detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-detail-label i {
  font-size: 0.95rem;
  opacity: 0.8;
}

.info-detail-value {
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-all;
}

.info-suburbs-list h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.suburbs-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suburbs-flex span {
  background-color: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-list-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.service-item-bullet {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.service-item-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.service-item-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}


/* ==================== NAVIGATION (Mobile / Responsive) ==================== */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Layout adjustments */
  .dashboard-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }
  
  .sidebar {
    display: none; /* Hide sidebar completely on mobile */
  }
  
  .dashboard-header {
    height: 70px;
    padding: 0 1rem;
  }
  
  .header-left h1 {
    font-size: 1.25rem;
  }
  
  .header-right .status-indicator {
    padding: 0.25rem 0.5rem;
  }
  
  .status-text {
    font-size: 0.7rem;
  }
  
  .content-body {
    padding: 1rem;
  }
  
  .panel-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }
  
  .action-buttons-group {
    grid-template-columns: 1fr; /* Stack buttons on mobile review requester */
    gap: 0.75rem;
  }
  
  /* Welcome banner stacks */
  .welcome-banner {
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .welcome-text h2 {
    font-size: 1.4rem;
  }
  
  .welcome-text p {
    font-size: 0.85rem;
  }
  
  .welcome-stats {
    width: 100%;
    gap: 0.75rem;
  }
  
  .stat-bubble {
    flex-grow: 1;
    padding: 0.75rem;
    min-width: 0;
  }
  
  .stat-number {
    font-size: 1.15rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  /* Quick Actions 2x2 grid */
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .quick-action-btn {
    padding: 1rem 0.75rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-radius: var(--radius-sm);
    gap: 0.5rem;
  }
  
  .quick-action-btn .action-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  
  .action-info h4 {
    font-size: 0.85rem;
  }
  
  .action-info p {
    font-size: 0.75rem;
  }
  
  /* QR selector full width */
  .qr-selector-container {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .qr-select-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
  }
  
  .qr-card {
    padding: 1.5rem;
  }
  
  /* Form optimizations */
  .form-control {
    font-size: 0.95rem;
    padding: 0.75rem 1rem 0.75rem 2.25rem;
  }
  
  /* Webmail and GP Rows */
  .g-control-row, .email-login-block {
    padding: 1rem;
    gap: 1rem;
  }
  
  .row-icon-box, .email-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .row-text h4, .email-details h3 {
    font-size: 0.9rem;
  }
  
  .row-text p, .email-details p {
    font-size: 0.75rem;
  }
  
  /* Links Hub */
  .link-item-row {
    padding: 0.85rem;
    gap: 0.5rem;
  }
  
  .link-label {
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  
  .link-url-text {
    font-size: 0.75rem;
    max-width: 140px;
  }
  
  .btn-icon-action {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  /* Mobile bottom bar navigation */
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    height: 64px;
    padding: 0.5rem 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    gap: 0.2rem;
    flex-grow: 1;
    height: 100%;
    transition: var(--transition);
  }
  
  .mobile-nav-item i {
    font-size: 1.2rem;
  }
  
  .mobile-nav-item.active {
    color: var(--primary);
  }
  
  .mobile-nav-item:active {
    transform: scale(0.95);
  }
}
