/* CSS Variables for theming */
:root {
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --text-primary: #111;
  --text-secondary: #444;
  --border-color: #e1e5e9;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --btn-primary-bg: #007bff;
  --btn-primary-hover: #0056b3;
  --btn-secondary-bg: #6c757d;
  --btn-secondary-hover: #545b62;
  --btn-success-bg: #28a745;
  --btn-success-hover: #1e7e34;
  --btn-danger-bg: #dc3545;
  --btn-danger-hover: #c82333;
  --message-success-bg: #d4edda;
  --message-success-color: #155724;
  --message-error-bg: #f8d7da;
  --message-error-color: #721c24;
  --message-info-bg: #d1ecf1;
  --message-info-color: #0c5460;
  --toast-success-bg: #d4edda;
  --toast-success-color: #155724;
  --toast-error-bg: #f8d7da;
  --toast-error-color: #721c24;
  --toast-warning-bg: #fff3cd;
  --toast-warning-color: #856404;
  --toast-info-bg: #d1ecf1;
  --toast-info-color: #0c5460;
  --color-primary: #800080;
  --color-primary-light: #d580ff;
  --color-secondary: #f5e1ff;
  --color-background: #f7f6fa;
  --color-surface: #fff;
  --color-success: #2d7a46;
  --color-warning: #ffb300;
  --color-error: #d32f2f;
  --color-text: #111;
  --color-muted: #666;
  --color-border: #e0e0e0;
  --color-highlight: #e8f5e8;
}

/* App Loading State */
.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f7f6fa;
  background: var(--color-background);
  color: #111;
  color: var(--color-text);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0e0e0;
  border: 4px solid var(--color-border);
  border-top: 4px solid #800080;
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.app-loading p {
  font-size: 16px;
  color: #666;
  color: var(--color-muted);
  margin: 0;
  font-weight: 500;
}

/* Auth Loading State */
.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 40px;
  background: #f7f6fa;
  background: var(--color-background);
  color: #111;
  color: var(--color-text);
}

.auth-loading p {
  font-size: 14px;
  color: #666;
  color: var(--color-muted);
  margin-top: 15px;
  font-weight: 400;
}

/* Global Profile Settings Modal Z-Index Override */
.profile-settings-modal-overlay {
  z-index: 99999 !important;
}

.profile-settings-modal {
  z-index: 100000 !important;
}

/* Hide debug tooltip triggers globally when profile modal is open */
body:has(.profile-settings-modal-overlay) .debug-tooltip-trigger,
body:has(.profile-settings-modal-overlay) .debug-tooltip-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Alternative selector for browsers that don't support :has() */
.profile-settings-modal-overlay ~ .debug-tooltip-trigger,
.profile-settings-modal-overlay ~ .debug-tooltip-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide fullscreen exit buttons when profile modal is open */
body:has(.profile-settings-modal-overlay) button[title*="Exit Fullscreen"],
body:has(.profile-settings-modal-overlay) button[title*="Exit Fullscreen (ESC)"],
body:has(.profile-settings-modal-overlay) .mapboxgl-ctrl-fullscreen,
body:has(.profile-settings-modal-overlay) [class*="fullscreen"] button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Alternative selectors for browsers that don't support :has() */
.profile-settings-modal-overlay ~ button[title*="Exit Fullscreen"],
.profile-settings-modal-overlay ~ button[title*="Exit Fullscreen (ESC)"],
.profile-settings-modal-overlay ~ .mapboxgl-ctrl-fullscreen,
.profile-settings-modal-overlay ~ [class*="fullscreen"] button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure profile modal is always on top of other elements */
.profile-settings-modal-overlay * {
  z-index: inherit;
}

/* Hide any debug elements that might appear in the modal */
.profile-settings-modal .debug-tooltip-trigger,
.profile-settings-modal .debug-tooltip-container,
.profile-settings-modal [class*="debug"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide fullscreen controls in profile modal */
.profile-settings-modal button[title*="Exit Fullscreen"],
.profile-settings-modal button[title*="Exit Fullscreen (ESC)"],
.profile-settings-modal .mapboxgl-ctrl-fullscreen,
.profile-settings-modal [class*="fullscreen"] button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Dark mode variables */
[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #404040;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --btn-primary-bg: #0d6efd;
  --btn-primary-hover: #0b5ed7;
  --btn-secondary-bg: #6c757d;
  --btn-secondary-hover: #5a6268;
  --btn-success-bg: #198754;
  --btn-success-hover: #157347;
  --btn-danger-bg: #dc3545;
  --btn-danger-hover: #bb2d3b;
  --message-success-bg: #0f5132;
  --message-success-color: #d1e7dd;
  --message-error-bg: #842029;
  --message-error-color: #f8d7da;
  --message-info-bg: #055160;
  --message-info-color: #cff4fc;
  --toast-success-bg: #0f5132;
  --toast-success-color: #d1e7dd;
  --toast-error-bg: #842029;
  --toast-error-color: #f8d7da;
  --toast-warning-bg: #664d03;
  --toast-warning-color: #fff3cd;
  --toast-info-bg: #055160;
  --toast-info-color: #cff4fc;
  --color-primary: #d580ff;
  --color-primary-light: #800080;
  --color-secondary: #2d0036;
  --color-background: #18141c;
  --color-surface: #23202a;
  --color-success: #7be495;
  --color-warning: #ffecb3;
  --color-error: #ffb3b3;
  --color-text: #f5f5f5;
  --color-muted: #bbb;
  --color-border: #333;
  --color-highlight: #2d0036;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f7f6fa;
  background-color: var(--color-background);
  color: #111;
  color: var(--color-text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.App {
  min-height: 100vh;
}

/* Layout */
.page {
  min-height: 100vh;
  padding: 20px;
  background: #f7f6fa;
  background: var(--color-background);
}

/* Center layout for login/auth pages */
.page:has(.card) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* If :has() is not supported, fallback for login page centering */
.page.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure white background in light mode and for display-dark-mode-false */
.page,
body.display-dark-mode-false .page,
body:not([data-theme="dark"]) .page {
  background: white !important;
}

/* Dark theme page background */
[data-theme="dark"] .page {
  background: #f7f6fa !important;
  background: var(--color-background) !important;
}

/* Body background overrides for different theme states */
[data-theme="dark"] body {
  background-color: #f7f6fa !important;
  background-color: var(--color-background) !important;
  color: #111 !important;
  color: var(--color-text) !important;
}

[data-theme="light"] body {
  background-color: #f7f6fa !important;
  background-color: var(--color-background) !important;
  color: #111 !important;
  color: var(--color-text) !important;
}

/* Force light mode body background */
body.display-dark-mode-false {
  background-color: #f5f7fa !important;
  color: #111 !important;
}

/* Force dark mode body background */
body.display-dark-mode-true {
  background-color: #f7f6fa !important;
  background-color: var(--color-background) !important;
  color: #111 !important;
  color: var(--color-text) !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Stats Section Container - Full Width */
.stats-section .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Ensure card has white background in light mode */
.card,
body.display-dark-mode-false .card,
body:not([data-theme="dark"]) .card {
  background: white !important;
  color: #333 !important;
}

/* Dark theme card styling */
[data-theme="dark"] .card {
  background: #fff !important;
  background: var(--color-surface) !important;
  color: #111 !important;
  color: var(--color-text) !important;
}

/* Login page specific centering */
.page .card {
  position: relative;
  z-index: 1;
}

.card-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e1e5e9;
  background: linear-gradient(135deg, #800080 0%, #d580ff 100%);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.card-body {
  padding: 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px;
}

.btn-primary {
  background: linear-gradient(135deg, #800080 0%, #d580ff 100%);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #f5e1ff;
  background: var(--color-secondary);
  color: #800080;
  color: var(--color-primary);
  border: none;
}

.btn-secondary:hover {
  background: #d580ff;
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #800080;
  color: var(--color-primary);
  border: 2px solid #800080;
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: #800080;
  background: var(--color-primary);
  color: #fff;
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Messages */
.message {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Loading */
.loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1.1rem;
}

/* Dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.dashboard-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e1e5e9;
  text-align: center;
}

.dashboard-card h3 {
  margin-bottom: 12px;
  color: #333;
}

.dashboard-card p {
  margin-bottom: 20px;
  color: #666;
}

/* Task List */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-card {
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.task-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-icon {
  font-size: 1.5rem;
}

.task-title h3 {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
}

.task-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.task-date {
  font-size: 0.9rem;
  color: #666;
}

.task-body {
  margin-bottom: 16px;
}

.task-description {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.6;
}

.task-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 16px;
}

.task-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-label {
  font-weight: 600;
  color: #333;
}

.info-value {
  color: #666;
}

.task-skills {
  margin-bottom: 16px;
}

.skills-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e1e5e9;
}

.task-stats {
  display: flex;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: #666;
}

.stat-icon {
  font-size: 1rem;
}

.customer-name {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Badges */
.badge {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-success {
  background: #d4edda;
  color: #155724;
}

.badge-warning {
  background: #fff3cd;
  color: #856404;
}

.badge-info {
  background: #d1ecf1;
  color: #0c5460;
}

.badge-error {
  background: #f8d7da;
  color: #721c24;
}

/* Filters */
.filters {
  margin-bottom: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e1e5e9;
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.filters-actions {
  display: flex;
  justify-content: flex-end;
}

/* Empty state */
.empty-state {
  padding: 40px;
  text-align: center;
  color: #666;
}

.empty-state h3 {
  margin-bottom: 12px;
  color: #333;
}

/* Task Detail Styles */
.task-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.task-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.task-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-detail-title h1 {
  margin: 0;
  font-size: 1.8rem;
  color: white;
}

.task-detail-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.task-description-section h3,
.skills-section h3,
.customer-section h3 {
  margin-bottom: 12px;
  color: #333;
  font-size: 1.1rem;
}

.task-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin: 20px 0;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.detail-label {
  font-weight: 600;
  color: #333;
}

.detail-value {
  color: #666;
}

.customer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.customer-email {
  font-size: 0.9rem;
  color: #666;
}

.task-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Bids Styles */
.bids-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bid-card {
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 16px;
  background: #f8f9fa;
}

.bid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bid-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #28a745;
}

.bid-message {
  margin-bottom: 12px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border-left: 4px solid #667eea;
}

.bid-message p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

.bid-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e1e5e9;
}

.modal-header h3 {
  margin: 0;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background: #f8f9fa;
}

.modal-content {
  padding: 20px 24px;
  max-width: 600px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px 20px;
  border-top: 1px solid #e1e5e9;
}

/* Home Page Styles */
.home-page {
  padding: 0;
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.feature-icon {
  font-size: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.services-section {
  padding: 80px 0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

/* Dark theme for services-section */
[data-theme="dark"] .services-section {
  background: #1a1a1a00;
}

/* White theme for services-section */
[data-theme="light"] .services-section {
  background: #ffffff;
}

/* Section Titles */
.section-title {
  color: #800080;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

.service-tasks {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service-tasks li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 20px;
}

.service-tasks li:last-child {
  border-bottom: none;
}

.service-tasks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Map Section with Floating Cards */
.map-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #f8f9fa;
  overflow: hidden;
  scroll-margin-top: 20px; /* Add margin for smooth scrolling */
  scroll-behavior: smooth;
  border: none !important;
  outline: none !important;
}

/* Smooth scroll behavior for the entire page */
html {
  scroll-behavior: smooth;
}

/* Map section visibility indicator */
.map-section {
  transition: all 0.3s ease;
}

.map-section-visible {
  transform: scale(1.02);
  box-shadow: none; /* remove glow that looks like a border */
}

/* Dark theme for map section visibility */
[data-theme="dark"] .map-section-visible {
  box-shadow: none;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.scroll-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.scroll-to-top-btn:active {
  transform: translateY(0);
}

/* Dark theme for scroll to top button */
[data-theme="dark"] .scroll-to-top-btn {
  background: linear-gradient(135deg, #8b9aff 0%, #a8b4ff 100%);
  box-shadow: 0 4px 16px rgba(139, 154, 255, 0.3);
}

[data-theme="dark"] .scroll-to-top-btn:hover {
  box-shadow: 0 6px 20px rgba(139, 154, 255, 0.4);
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 4px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.scroll-progress-bar {
  width: 100%;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  transition: height 0.1s ease;
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.scroll-complete {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(102, 126, 234, 0.6);
  }
}

[data-theme="dark"] .scroll-complete {
  animation: pulse-dark 1.5s ease-in-out infinite;
}

@keyframes pulse-dark {
  0%, 100% {
    box-shadow: 0 0 8px rgba(139, 154, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(139, 154, 255, 0.8);
  }
}

/* Dark theme for scroll progress bar */
[data-theme="dark"] .scroll-progress-container {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .scroll-progress-bar {
  background: linear-gradient(180deg, #8b9aff 0%, #a8b4ff 100%);
  box-shadow: 0 0 8px rgba(139, 154, 255, 0.4);
}

/* Enhanced MapView Component Styles */
.map-view-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-container {
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: all 0.3s ease;
}

.map-container.zoom-disabled {
  cursor: default;
}

.map-container.zoom-enabled {
  cursor: zoom-in;
}

/* Enhanced Zoom Status Indicator with Millisecond Precision */
.zoom-status-indicator {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 500;
  z-index: 1000;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  opacity: 0.95;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.zoom-status-indicator.enabled {
  background: rgba(34, 197, 94, 0.95);
  color: white;
  transform: translateX(-50%) scale(1.05);
}

.zoom-status-indicator.disabled {
  background: rgba(59, 130, 246, 0.95);
  color: white;
}

/* Countdown Display Styles */
.countdown-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown-level {
  font-size: 0.8em;
  font-weight: 600;
  opacity: 0.9;
}

.countdown-time {
  font-size: 1.2em;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: #ffd700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.mac-hint {
  font-size: 0.75em;
  opacity: 0.7;
  font-style: italic;
}

.zoom-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.prompt-text {
  font-weight: 600;
}

/* Enhanced Auto-centering Indicator */
.auto-center-indicator {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 193, 7, 0.95);
  color: #000;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  z-index: 1000;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
  animation: pulse 1.5s ease-in-out infinite;
}

.auto-center-icon {
  font-size: 1.2em;
  animation: bounce 1s ease-in-out infinite;
}

.auto-center-text {
  font-weight: 600;
}

.auto-center-reason {
  font-size: 0.75em;
  opacity: 0.8;
  font-style: italic;
}

/* Map Visibility Indicator */
.map-visibility-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 180px;
}

.visibility-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.visibility-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.visibility-text {
  font-size: 0.75em;
  font-weight: 600;
  text-align: center;
}

/* Task Loading Indicator */
.task-loading-indicator {
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Dark theme enhancements */
[data-theme="dark"] .zoom-status-indicator {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .zoom-status-indicator.enabled {
  background: rgba(34, 197, 94, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .zoom-status-indicator.disabled {
  background: rgba(59, 130, 246, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .auto-center-indicator {
  background: rgba(255, 193, 7, 0.95);
  color: #000;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

[data-theme="dark"] .map-visibility-indicator {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .task-loading-indicator {
  background: rgba(139, 154, 255, 0.9);
  border: 1px solid rgba(139, 154, 255, 0.3);
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .zoom-status-indicator {
    top: 15px;
    padding: 10px 16px;
    font-size: 0.8em;
    min-width: 160px;
  }
  
  .countdown-time {
    font-size: 1.1em;
  }
  
  .auto-center-indicator {
    top: 70px;
    padding: 10px 16px;
    font-size: 0.8em;
  }
  
  .map-visibility-indicator {
    bottom: 15px;
    padding: 6px 12px;
    font-size: 0.75em;
    min-width: 150px;
  }
  
  .task-loading-indicator {
    top: 120px;
    padding: 6px 12px;
    font-size: 0.75em;
  }
}

@media (max-width: 480px) {
  .zoom-status-indicator {
    top: 10px;
    padding: 8px 12px;
    font-size: 0.75em;
    min-width: 140px;
  }
  
  .countdown-display {
    gap: 2px;
  }
  
  .countdown-level {
    font-size: 0.7em;
  }
  
  .countdown-time {
    font-size: 1em;
  }
  
  .mac-hint {
    font-size: 0.65em;
  }
  
  .auto-center-indicator {
    top: 60px;
    padding: 8px 12px;
    font-size: 0.75em;
  }
  
  .map-visibility-indicator {
    bottom: 10px;
    padding: 5px 10px;
    font-size: 0.7em;
    min-width: 130px;
  }
  
  .task-loading-indicator {
    top: 100px;
    padding: 5px 10px;
    font-size: 0.7em;
  }
}

/* Dark theme for zoom status indicator */
[data-theme="dark"] .zoom-status-indicator {
  background: rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .zoom-status-indicator.enabled {
  background: rgba(34, 197, 94, 0.9);
}

[data-theme="dark"] .zoom-status-indicator.disabled {
  background: rgba(59, 130, 246, 0.9);
}

/* Task Loading Indicator */
.task-loading-indicator {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8em;
  font-weight: 500;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: pulse 1.5s ease-in-out infinite;
}

[data-theme="dark"] .task-loading-indicator {
  background: rgba(139, 154, 255, 0.9);
}

.map-container {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/* Mapbox Popup Styles */
.mapboxgl-popup {
  max-width: 300px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mapboxgl-popup-content {
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: none;
}

.mapbox-popup-light .mapboxgl-popup-content {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #333;
}

.mapbox-popup-dark .mapboxgl-popup-content {
  background: rgba(42, 42, 42, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #ffffff;
}

.popup-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.1em;
  font-weight: 600;
  color: inherit;
}

.popup-content p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.8;
  line-height: 1.4;
}

/* Task status indicators in popup */
.popup-content .status-open {
  color: #10b981;
  font-weight: 600;
}

.popup-content .status-in-progress {
  color: #f59e0b;
  font-weight: 600;
}

.popup-content .status-completed {
  color: #3b82f6;
  font-weight: 600;
}

.popup-content .status-cancelled {
  color: #ef4444;
  font-weight: 600;
}

.mapboxgl-popup-close-button {
  color: #666;
  font-size: 16px;
  padding: 4px;
}

.mapbox-popup-dark .mapboxgl-popup-close-button {
  color: #b0b0b0;
}

.mapboxgl-popup-close-button:hover {
  color: #333;
  background: rgba(0,0,0,0.1);
}

.mapbox-popup-dark .mapboxgl-popup-close-button:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.map-section .map-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-section .map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating Cards Container */
.floating-cards-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  max-width: 400px;
  width: 100%;
}

/* Floating Toggle Buttons */
.floating-toggle-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.floating-toggle-btn {
  flex: 1 1;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #666;
  font-size: 0.85em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.floating-toggle-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.floating-toggle-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.floating-toggle-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Floating Cards */
.floating-activities-card,
.floating-achievements-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid rgba(225, 229, 233, 0.8);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  max-height: 500px;
  width: 100%;
}

/* Make services-categories-card visually match floating cards when shown in map overlay */
.map-section .services-categories-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid rgba(225, 229, 233, 0.8);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  max-height: 500px;
  width: 100%;
}

.map-section .services-categories-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-section .services-categories-content {
  padding: 16px 20px;
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}

/* Tighter layout to fit 5–6 categories without scrolling */
.map-section .services-categories-grid {
  gap: 10px;
}

.map-section .service-category-item {
  padding: 8px;
  gap: 8px;
}

.map-section .service-category-icon {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.map-section .service-category-title {
  margin-bottom: 4px;
  font-size: 0.9em;
}

.map-section .service-category-tasks {
  gap: 4px;
}

.map-section .service-category-tasks li {
  padding: 3px 6px;
  font-size: 0.7em;
}

.map-section .services-categories-footer {
  padding: 12px 20px;
  background: rgba(248, 249, 250, 0.9);
  border-top: 1px solid rgba(233, 236, 239, 0.8);
  text-align: center;
  width: 100%;
}

/* Floating Headers */
.floating-activities-header,
.floating-achievements-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.floating-activities-header h3,
.floating-achievements-header h3 {
  margin: 0 0 4px 0;
  font-size: 1.2em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.floating-activities-header p,
.floating-achievements-header p {
  margin: 0;
  font-size: 0.85em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Floating Content */
.floating-activities-content,
.floating-achievements-content {
  padding: 16px 20px;
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}

/* Floating Lists */
.floating-activities-list,
.floating-achievements-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Floating Activity Items */
.floating-activity-item,
.floating-achievement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

/* Selected state for activity list item */
.floating-activity-item.selected {
  outline: 2px solid #4f46e5;
  background: rgba(79, 70, 229, 0.08);
  border-radius: 8px;
}

.floating-activity-item:hover,
.floating-achievement-item:hover {
  background: #e9ecef;
  transform: translateX(2px);
}

/* Floating Icons */
.floating-activity-icon,
.floating-achievement-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  font-size: 0.8em;
  color: white;
  flex-shrink: 0;
}

/* Floating Details */
.floating-activity-details,
.floating-achievement-details {
  flex: 1 1;
  min-width: 0;
}

.floating-activity-text,
.floating-achievement-text {
  font-size: 0.85em;
  line-height: 1.3;
  color: #333;
  margin-bottom: 2px;
}

.floating-activity-meta,
.floating-achievement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
  color: #666;
}

.floating-activity-time,
.floating-achievement-time {
  color: #999;
}

.floating-activity-amount,
.floating-achievement-xp {
  font-weight: 600;
  color: #667eea;
}

/* Floating Footer */
.floating-activities-footer,
.floating-achievements-footer {
  padding: 12px 20px;
  background: rgba(248, 249, 250, 0.9);
  border-top: 1px solid rgba(233, 236, 239, 0.8);
  text-align: center;
  width: 100%;
}

.floating-activities-footer a,
.floating-achievements-footer a {
  color: #667eea;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.floating-activities-footer a:hover,
.floating-achievements-footer a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Chip button for subcategories */
.chip-btn {
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8em;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip-btn:hover { 
  background: #f3f4f6; 
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.chip-btn.active {
  background: #4f46e5;
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.chip-btn.has-tasks {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.chip-btn.has-tasks:hover {
  background: rgba(34, 197, 94, 0.1);
}

.category-task-count {
  background: #ef4444;
  color: white;
  font-size: 0.7em;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subcategory-task-count {
  background: #22c55e;
  color: white;
  font-size: 0.65em;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 8px;
  margin-left: 6px;
  min-width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Floating Loading and Empty States */
.floating-activities-loading,
.floating-activities-empty,
.floating-achievements-loading,
.floating-achievements-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #666;
}

.floating-activities-empty .empty-icon,
.floating-achievements-empty .empty-icon {
  font-size: 1.5em;
  margin-bottom: 8px;
}

/* Info Section */
.info-section {
  width: 100%;
  padding: 40px 0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

/* Stats Section */
.stats-section {
  width: 100%;
  padding: 40px 0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

/* Stats Layout Container - 2 Columns */
.stats-layout-container {
  display: flex;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* Left Column */
.stats-content-side {
  flex: 1 1;
  margin: 0;
  padding: 40px;
  background: #f8f9fa;
}

/* Right Column */
.stats-map-side {
  flex: 1 1;
  margin: 0;
  padding: 0;
  background: white;
}

.stats-map-side .map-container {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

/* Dark theme for map section */
[data-theme="dark"] .map-section {
  background: #1a1a1a;
}

[data-theme="dark"] .floating-toggle-buttons {
  background: rgba(42, 42, 42, 0.95);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

[data-theme="dark"] .floating-toggle-btn {
  color: #b0b0b0;
}

[data-theme="dark"] .floating-toggle-btn:hover {
  background: #333;
  color: #ffffff;
}

[data-theme="dark"] .floating-activities-card,
[data-theme="dark"] .floating-achievements-card {
  background: rgba(42, 42, 42, 0.95);
  border-color: rgba(51, 51, 51, 0.8);
}

[data-theme="dark"] .map-section .services-categories-card {
  background: rgba(42, 42, 42, 0.95);
  border-color: rgba(51, 51, 51, 0.8);
}

[data-theme="dark"] .map-section .service-category-item {
  background: #333;
}

[data-theme="dark"] .map-section .service-category-item:hover {
  background: #444;
}

[data-theme="dark"] .floating-activity-item,
[data-theme="dark"] .floating-achievement-item {
  background: #333;
}

[data-theme="dark"] .floating-activity-item:hover,
[data-theme="dark"] .floating-achievement-item:hover {
  background: #444;
}

/* Subtle selected flash on the whole activities card */
.floating-activities-card.selected {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Pulse effect for selected map pin */
.avatar-marker .avatar-image { position: relative; }
.avatar-marker.pulse .avatar-image::after,
.mapboxgl-marker.pulse .avatar-image::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(79, 70, 229, 0.65);
  animation: pinPulse 1.2s ease-out infinite;
}

@keyframes pinPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.2); opacity: 0.0; }
  100% { transform: scale(1.2); opacity: 0; }
}

[data-theme="dark"] .floating-activity-text,
[data-theme="dark"] .floating-achievement-text {
  color: #ffffff;
}

[data-theme="dark"] .floating-activity-time,
[data-theme="dark"] .floating-achievement-time {
  color: #b0b0b0;
}

[data-theme="dark"] .floating-activities-footer,
[data-theme="dark"] .floating-achievements-footer {
  background: rgba(42, 42, 42, 0.9);
  border-color: rgba(51, 51, 51, 0.8);
}

[data-theme="dark"] .floating-activities-footer a,
[data-theme="dark"] .floating-achievements-footer a {
  color: #a8b4ff;
}

[data-theme="dark"] .floating-activities-footer a:hover,
[data-theme="dark"] .floating-achievements-footer a:hover {
  color: #8b9aff;
}

/* Dark theme for info-section */
[data-theme="dark"] .info-section {
  background: #1a1a1a;
}

[data-theme="dark"] .info-content-side {
  background: #1a1a1a;
}

[data-theme="dark"] .info-toggle-buttons {
  background: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .toggle-btn {
  color: #b0b0b0;
}

[data-theme="dark"] .toggle-btn:hover {
  background: #333;
  color: #ffffff;
}

[data-theme="dark"] .toggle-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

[data-theme="dark"] .info-map-side .map-container {
  background: #2a2a2a;
}

[data-theme="dark"] .info-map-side .map-message h3 {
  color: #ffffff;
}

[data-theme="dark"] .info-map-side .map-message p {
  color: #b0b0b0;
}

/* White theme for info-section */
[data-theme="light"] .info-section {
  background: #ffffff;
}

/* Dark theme for stats-section */
[data-theme="dark"] .stats-section {
  background: #1a1a1a;
}

/* White theme for stats-section */
[data-theme="light"] .stats-section {
  background: #ffffff;
}

/* Services Categories Card */
.services-categories-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  max-height: 500px;
}

.services-categories-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px 16px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.services-categories-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.services-categories-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.4em;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.services-categories-header p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.services-categories-content {
  padding: 20px;
  max-height: 350px;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.services-categories-content.expanded {
  max-height: none;
}

.services-categories-content.collapsed {
  padding: 10px 20px;
  max-height: 120px;
  overflow: hidden;
}

.services-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-categories-grid.expanded {
  max-height: none !important;
}

.service-category-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  overflow: hidden; /* ensure inner scrollbars stay inside */
}

.service-category-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.service-category-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.service-category-details {
  flex: 1 1;
  min-width: 0;
}

.service-category-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95em;
}

.service-category-tasks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap; /* force single row */
  gap: 6px;
  overflow-x: auto; /* horizontal scroll */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  padding-bottom: 2px; /* avoid scrollbar overlay */
}

.service-category-tasks li {
  background: #e9ecef;
  color: #666;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
  flex: 0 0 auto; /* prevent wrapping to next line */
  white-space: nowrap; /* keep each chip to a single line */
  scroll-snap-align: start;
}

.services-categories-footer {
  padding: 16px 20px;
  border-top: 1px solid #e1e5e9;
  text-align: center;
  background: #f8f9fa;
}

.services-categories-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.services-categories-footer a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* How It Works Section - Improved with consistent styling */
.how-it-works-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.how-it-works-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e1e5e9;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.how-it-works-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.how-it-works-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.how-it-works-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.8em;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.how-it-works-header p {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.how-it-works-content {
  padding: 40px 24px;
}

/* Override steps-grid for better layout */
.how-it-works-content .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.how-it-works-content .step {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
}

.how-it-works-content .step:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.how-it-works-content .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.how-it-works-content .step:hover .step-number {
  transform: scale(1.1);
}

.how-it-works-content .step h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.how-it-works-content .step p {
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95em;
}

/* Dark mode support for How It Works */
[data-theme="dark"] .how-it-works-section {
  background: #1a1a1a;
}

[data-theme="dark"] .how-it-works-card {
  background: #2d2d2d;
  border-color: #404040;
}

[data-theme="dark"] .how-it-works-content .step {
  background: #1a1a1a;
  border-color: #404040;
}

[data-theme="dark"] .how-it-works-content .step:hover {
  background: #333;
}

[data-theme="dark"] .how-it-works-content .step h3 {
  color: #ffffff;
}

[data-theme="dark"] .how-it-works-content .step p {
  color: #cccccc;
}

/* Mobile responsiveness for How It Works - Updated */
@media (max-width: 768px) {
  .how-it-works-section {
    padding: 40px 20px;
  }
  
  .how-it-works-header {
    padding: 20px 16px;
  }
  
  .how-it-works-header h2 {
    font-size: 1.5em;
  }
  
  .how-it-works-header p {
    font-size: 1em;
  }
  
  .how-it-works-content {
    padding: 24px 16px;
  }
  
  .how-it-works-content .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
  }
  
  .how-it-works-content .step {
    padding: 20px;
  }
  
  .how-it-works-content .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.3em;
    margin-bottom: 16px;
  }
  
  .how-it-works-content .step h3 {
    font-size: 1.2em;
  }
}

/* Small mobile devices - single column */
@media (max-width: 480px) {
  .how-it-works-content .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }
}

/* Dark theme for step cards */
[data-theme="dark"] .step {
  background: transparent;
  color: #ffffff;
}



/* Support for body class dark mode approach for How It Works */
body.display-dark-mode-true .how-it-works-section {
  background: #1a1a1a;
}

body.display-dark-mode-true .step h3 {
  color: #ffffff;
}

body.display-dark-mode-true .step p {
  color: #cccccc;
}

body.display-dark-mode-true .how-it-works-section .section-title {
  color: #ffffff;
}

/* Support for theme-sync-enabled dark mode for How It Works */
body.theme-sync-enabled.home-theme-dark .how-it-works-section {
  background: #1a1a1a;
}

body.theme-sync-enabled.home-theme-dark .step h3 {
  color: #ffffff;
}

body.theme-sync-enabled.home-theme-dark .step p {
  color: #cccccc;
}

body.theme-sync-enabled.home-theme-dark .how-it-works-section .section-title {
  color: #ffffff;
}

/* Support for theme-sync-enabled light mode for How It Works */
body.theme-sync-enabled.home-theme-light .how-it-works-section {
  background: #ffffff;
}

body.theme-sync-enabled.home-theme-light .step h3 {
  color: #333333;
}

body.theme-sync-enabled.home-theme-light .step p {
  color: #666666;
}

body.theme-sync-enabled.home-theme-light .how-it-works-section .section-title {
  color: #800080;
  color: var(--color-primary);
}

/* Dark theme for section title in how-it-works */
[data-theme="dark"] .how-it-works-section .section-title {
  color: #ffffff;
}

/* Light theme for step cards */
[data-theme="light"] .step-card h3 {
  color: #333333;
}

[data-theme="light"] .step-card p {
  color: #666666;
}

/* Light theme for section title in how-it-works */
[data-theme="light"] .how-it-works-section .section-title {
  color: #800080;
  color: var(--color-primary);
}

.user-dashboard-section {
  padding: 60px 0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.user-dashboard-content {
  text-align: center;
  margin-bottom: 40px;
}

.user-dashboard-content h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #333;
  font-weight: 700;
  transition: color 0.3s ease;
}

.user-dashboard-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

/* Dark theme for user-dashboard-section */
[data-theme="dark"] .user-dashboard-section {
  background: #1a1a1a;
}

[data-theme="dark"] .user-dashboard-content h1 {
  color: #ffffff;
}

[data-theme="dark"] .user-dashboard-content p {
  color: #cccccc;
}

/* White theme for user-dashboard-section */
[data-theme="light"] .user-dashboard-section {
  background: #ffffff;
}

[data-theme="light"] .user-dashboard-content h1 {
  color: #333333;
}

[data-theme="light"] .user-dashboard-content p {
  color: #666666;
}

/* Globe Section Styles */
.globe-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.globe-header {
  text-align: center;
  margin-bottom: 24px;
}

.globe-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.globe-header p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.welcome-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.welcome-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.welcome-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.dashboard-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Quick Access Section */
.quick-access-section {
  padding: 60px 0;
  background: white;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
  margin: 24px 0 18px 0;
}
.quick-access-btn {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,64,67,0.08);
  padding: 18px 0 12px 0;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s;
}
.quick-access-btn:hover {
  box-shadow: 0 4px 16px rgba(60,64,67,0.16);
  background: #f5f5f5;
}
.quick-access-icon {
  font-size: 2.2em;
  margin-bottom: 8px;
}

.popular-categories-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 24px 0 18px 0;
}
.popular-category {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,64,67,0.08);
  padding: 18px 0 12px 0;
  font-size: 1em;
  font-weight: 500;
}
.popular-category-icon {
  font-size: 2.2em;
  margin-bottom: 8px;
}

.dashboard-search-bar {
  width: 90%;
  margin: 0 auto 18px auto;
}
.dashboard-search-input {
  width: 100%;
  border-radius: 18px;
  border: 1.5px solid #e0e0e0;
  padding: 12px 18px;
  font-size: 1.1em;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60,64,67,0.04);
  margin-left: 5%;
  margin-right: 5%;
}

/* Featured Features Section */
.featured-features-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.featured-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 40px;
  gap: 40px;
}

.featured-feature {
  background: white;
  padding: 40px;
  border-radius: 12px;
    text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.featured-feature:hover {
  transform: translateY(-5px);
}

.feature-icon-large {
  font-size: 4rem;
  margin-bottom: 25px;
}

.featured-feature h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.featured-feature p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Service Cards with Buttons */
  .service-card {
  position: relative;
  padding-bottom: 80px;
}

.service-card .btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* Role Selection Styles */
.role-selection-card {
  max-width: 800px;
  margin: 0 auto;
}

.role-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 30px;
  gap: 30px;
  margin-bottom: 30px;
}

.role-option {
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  padding: 30px;
    text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-option:hover {
  border-color: #667eea;
  transform: translateY(-2px);
}

.role-option.selected {
  border-color: #667eea;
  background: #f8f9ff;
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.role-option h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.role-option p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.role-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.role-benefits li {
  padding: 8px 0;
  color: #333;
}

.role-note {
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Profile Styles */
.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: #667eea;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
}

.profile-info h1 {
  margin: 0 0 10px 0;
  color: #333;
}

.profile-email {
  color: #666;
  margin-bottom: 15px;
}

.role-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.role-badge.provider {
  background: #e3f2fd;
  color: #1976d2;
}

.role-badge.customer {
  background: #f3e5f5;
  color: #7b1fa2;
}

.profile-content {
  display: grid;
  grid-gap: 30px;
  gap: 30px;
}

.profile-form {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.profile-details {
  display: grid;
  grid-gap: 15px;
  gap: 15px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 8px;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  
  .card-header {
    padding: 16px;
  }
  
  .card-body {
  padding: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .task-header {
    flex-direction: column;
    align-items: flex-start;
  gap: 12px;
}

  .task-meta {
    align-items: flex-start;
  }
  
  .task-footer {
  flex-direction: column;
    align-items: flex-start;
  gap: 12px;
}

  .btn-group {
  flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin: 4px 0;
  }
  
  .task-detail-header {
  flex-direction: column;
    align-items: flex-start;
  gap: 12px;
}

  .task-detail-meta {
    align-items: flex-start;
  }
  
  .task-details-grid {
    grid-template-columns: 1fr;
  }
  
  .filters-row {
    grid-template-columns: 1fr;
  }
  
  .bid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .bid-meta {
  flex-direction: column;
  gap: 4px;
  }
  
  .modal {
    margin: 20px;
    max-width: none;
  }
  
  .modal-actions {
  flex-direction: column;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-features {
  flex-direction: column;
    gap: 20px;
  }
  
  .hero-actions {
  flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .role-options {
    grid-template-columns: 1fr;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .dashboard-actions {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .quick-access-btn {
    width: 100%;
  }
  .popular-categories-grid {
    flex-direction: column;
    gap: 16px;
  }
  .popular-category {
    width: 100%;
  }
  
  .featured-features-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding-bottom: 30px;
  }
  
  .service-card .btn {
    position: static;
    transform: none;
    margin-top: 20px;
  }
}

/* Real Estate Feed Styles */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 30px;
  gap: 30px;
  margin-top: 30px;
}

.property-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: capitalize;
}

.property-content {
  padding: 20px;
}

.property-content h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.2rem;
}

.property-location {
  color: #666;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.property-description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.feature-tag {
  background: #f8f9fa;
  color: #333;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.property-price {
  font-size: 1.3rem;
  color: #28a745;
  margin-bottom: 15px;
}

.property-actions {
  display: flex;
  gap: 10px;
}

/* Map Feed Styles */
.map-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.view-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.view-btn {
  padding: 8px 16px;
  border: 2px solid #e1e5e9;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.view-btn:hover {
  border-color: #667eea;
}

.view-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.location-search {
  display: flex;
  gap: 10px;
  align-items: center;
}

.map-container {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.legend-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Info Window Styles */
.info-window {
  padding: 10px;
  max-width: 250px;
}

.info-window h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #333;
}

.info-window p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.info-window .btn {
  margin-top: 10px;
  width: 100%;
}

/* Map Placeholder Styles */
.map-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  max-width: 600px;
}

.map-message h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.map-message p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.api-setup-instructions {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: left;
}

.api-setup-instructions h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.api-setup-instructions ol {
  margin: 0;
  padding-left: 20px;
}

.api-setup-instructions li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.api-setup-instructions a {
  color: #ffd700;
  text-decoration: underline;
}

.api-setup-instructions code {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.map-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.feature-icon {
  font-size: 1.2rem;
}

.map-items-list {
  margin-top: 30px;
}

.map-items-list h3 {
  margin-bottom: 20px;
  color: #333;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.map-item-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.item-content {
  flex: 1 1;
}

.item-content h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1.1rem;
}

.item-location {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.item-budget,
.item-price,
.item-rating {
  color: #28a745;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.item-actions {
  flex-shrink: 0;
}

.btn-sm {
    padding: 6px 12px;
  font-size: 0.8rem;
} 

/* Task Metrics */
.task-metrics {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  padding: 8px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.metric {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9em;
  color: #666;
}

.metric strong {
  color: #333;
  font-weight: 600;
}

/* Task Cards */
.task-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.task-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.task-title-section {
  flex: 1 1;
}

.task-title {
  margin: 0 0 8px 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
}

.task-link {
  color: #2d7a46;
  text-decoration: none;
}

.task-link:hover {
  text-decoration: underline;
}

.task-meta {
  display: flex;
  gap: 16px;
  font-size: 0.9em;
  color: #666;
}

.task-budget {
  font-weight: 600;
  color: #2d7a46;
}

.task-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.task-description {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.5;
}

.task-details {
  margin-bottom: 16px;
}

.task-skills {
  margin-bottom: 12px;
}

.skill-tag {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  margin: 2px 4px 2px 0;
}

.task-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
}

.badge-info {
  background: #e3f2fd;
  color: #1976d2;
}

.badge-warning {
  background: #fff3e0;
  color: #f57c00;
}

.badge-danger {
  background: #ffebee;
  color: #d32f2f;
}

.badge-success {
  background: #e8f5e8;
  color: #2d7a46;
}

.badge-secondary {
  background: #f5f5f5;
  color: #666;
}

/* AI Match Score */
.ai-match-score {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 600;
}

.match-high {
  background: #e8f5e8;
  color: #2d7a46;
}

.match-medium {
  background: #fff3e0;
  color: #f57c00;
}

.match-low {
  background: #ffebee;
  color: #d32f2f;
} 

/* Features Section Styles */
.features-section {
  background: #fff;
  padding: 48px 0 32px 0;
  transition: all 0.3s ease;
}

/* Dark theme for features-section */
[data-theme="dark"] .features-section {
  background: #1a1a1a;
}

/* White theme for features-section */
[data-theme="light"] .features-section {
  background: #ffffff;
}

/* Modern Features Card */
.features-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
}

.features-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px 16px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.features-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.features-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.6em;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.features-header p {
  margin: 0;
  font-size: 0.95em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.features-content {
  padding: 24px;
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-details {
  flex: 1 1;
  min-width: 0;
}

.feature-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1.1em;
  line-height: 1.3;
}

.feature-description {
  color: #666;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0;
}

/* Dark mode support for features card */
[data-theme="dark"] .features-card {
  background: #2a2a2a;
  border-color: #404040;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .feature-item {
  background: #333;
  border-color: #404040;
}

[data-theme="dark"] .feature-item:hover {
  background: #404040;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

[data-theme="dark"] .feature-title {
  color: #e0e0e0;
}

[data-theme="dark"] .feature-description {
  color: #b0b0b0;
}

/* Support for body class dark mode approach */
body.display-dark-mode-true .features-card {
  background: #2a2a2a;
  border-color: #404040;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.display-dark-mode-true .feature-item {
  background: #333;
  border-color: #404040;
}

body.display-dark-mode-true .feature-item:hover {
  background: #404040;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

body.display-dark-mode-true .feature-title {
  color: #e0e0e0;
}

body.display-dark-mode-true .feature-description {
  color: #b0b0b0;
}

/* Support for theme-sync-enabled dark mode */
body.theme-sync-enabled.home-theme-dark .features-card {
  background: #2a2a2a;
  border-color: #404040;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.theme-sync-enabled.home-theme-dark .feature-item {
  background: #333;
  border-color: #404040;
}

body.theme-sync-enabled.home-theme-dark .feature-item:hover {
  background: #404040;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

body.theme-sync-enabled.home-theme-dark .feature-title {
  color: #e0e0e0;
}

body.theme-sync-enabled.home-theme-dark .feature-description {
  color: #b0b0b0;
}

/* Support for theme-sync-enabled light mode */
body.theme-sync-enabled.home-theme-light .features-card {
  background: white;
  border-color: #e1e5e9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

body.theme-sync-enabled.home-theme-light .feature-item {
  background: #f8f9fa;
  border-color: #e9ecef;
}

body.theme-sync-enabled.home-theme-light .feature-item:hover {
  background: #e9ecef;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

body.theme-sync-enabled.home-theme-light .feature-title {
  color: #333;
}

body.theme-sync-enabled.home-theme-light .feature-description {
  color: #666;
}

/* Mobile responsive design for features */
@media (max-width: 768px) {
  .features-grid-modern {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .features-content {
    padding: 20px;
  }
  
  .feature-item {
    padding: 16px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .features-header h2 {
    font-size: 1.4em;
  }
  
  .features-header p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .features-content {
    padding: 16px;
  }
  
  .feature-item {
    padding: 12px;
    gap: 12px;
  }
  
  .feature-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .feature-title {
    font-size: 1em;
  }
  
  .feature-description {
    font-size: 0.9em;
  }
}
/* Legacy features grid - keeping for backward compatibility */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}

/* Footer Styles */
.footer {
  background: #ffffff;
  color: #fff;
  padding: 48px 0 0 0;
  margin-top: 48px;
  transition: all 0.3s ease;
}

/* Dark mode support for footer */
[data-theme="dark"] .footer {
  background: #1a1a1a;
}

[data-theme="dark"] .footer-content {
  color: #e0e0e0;
}

[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4 {
  color: #ffffff;
}

[data-theme="dark"] .footer-section a,
[data-theme="dark"] .footer-section .social-link {
  color: #b0b0b0;
}

[data-theme="dark"] .footer-section a:hover,
[data-theme="dark"] .footer-section .social-link:hover {
  color: #ffffff;
}

[data-theme="dark"] .footer-bottom {
  background: #2a2a2a;
}

[data-theme="dark"] .footer-legal p {
  color: #b0b0b0;
}

[data-theme="dark"] .legal-links a {
  color: #b0b0b0;
}

[data-theme="dark"] .legal-links a:hover {
  color: #ffffff;
}

/* Support for body class dark mode approach */
body.display-dark-mode-true .footer {
  background: #1a1a1a;
}

body.display-dark-mode-true .footer-content {
  color: #e0e0e0;
}

body.display-dark-mode-true .footer-section h3,
body.display-dark-mode-true .footer-section h4 {
  color: #ffffff;
}

body.display-dark-mode-true .footer-section a,
body.display-dark-mode-true .footer-section .social-link {
  color: #b0b0b0;
}

body.display-dark-mode-true .footer-section a:hover,
body.display-dark-mode-true .footer-section .social-link:hover {
  color: #ffffff;
}

body.display-dark-mode-true .footer-bottom {
  background: #2a2a2a;
}

body.display-dark-mode-true .footer-legal p {
  color: #b0b0b0;
}

body.display-dark-mode-true .legal-links a {
  color: #b0b0b0;
}

body.display-dark-mode-true .legal-links a:hover {
  color: #ffffff;
}

/* Support for theme-sync-enabled dark mode */
body.theme-sync-enabled.home-theme-dark .footer {
  background: #1a1a1a;
}

body.theme-sync-enabled.home-theme-dark .footer-content {
  color: #e0e0e0;
}

body.theme-sync-enabled.home-theme-dark .footer-section h3,
body.theme-sync-enabled.home-theme-dark .footer-section h4 {
  color: #ffffff;
}

body.theme-sync-enabled.home-theme-dark .footer-section a,
body.theme-sync-enabled.home-theme-dark .footer-section .social-link {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .footer-section a:hover,
body.theme-sync-enabled.home-theme-dark .footer-section .social-link:hover {
  color: #ffffff;
}

body.theme-sync-enabled.home-theme-dark .footer-bottom {
  background: #2a2a2a;
}

body.theme-sync-enabled.home-theme-dark .footer-legal p {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .legal-links a {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .legal-links a:hover {
  color: #ffffff;
}

/* Support for theme-sync-enabled light mode */
body.theme-sync-enabled.home-theme-light .footer {
  background: #ffffff;
}

body.theme-sync-enabled.home-theme-light .footer-content {
  color: #656565;
}

body.theme-sync-enabled.home-theme-light .footer-section h3,
body.theme-sync-enabled.home-theme-light .footer-section h4 {
  color: #d580ff;
  color: var(--color-primary-light);
}

body.theme-sync-enabled.home-theme-light .footer-section a,
body.theme-sync-enabled.home-theme-light .footer-section .social-link {
  color: #656565;
}

body.theme-sync-enabled.home-theme-light .footer-section a:hover,
body.theme-sync-enabled.home-theme-light .footer-section .social-link:hover {
  color: #d580ff;
  color: var(--color-primary-light);
}

body.theme-sync-enabled.home-theme-light .footer-bottom {
  background: #ffffff;
}

body.theme-sync-enabled.home-theme-light .footer-legal p {
  color: #bbb;
}

body.theme-sync-enabled.home-theme-light .legal-links a {
  color: #bbb;
}

body.theme-sync-enabled.home-theme-light .legal-links a:hover {
  color: #d580ff;
  color: var(--color-primary-light);
}

/* Recent Tasks Section Styles */
.recent-tasks-section {
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 400px;
  transition: all 0.3s ease;
}

.recent-tasks-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.recent-tasks-section .section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #2d7a46;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recent-tasks-section .section-subtitle {
  font-size: 1.2em;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.recent-tasks-section .section-badge {
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(45, 122, 70, 0.1);
  border-radius: 20px;
  display: inline-block;
  font-size: 0.9em;
  color: #2d7a46;
  font-weight: 500;
}

.recent-tasks-section .tasks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
}

.recent-tasks-section .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.recent-tasks-section .empty-state-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.recent-tasks-section .empty-state-title {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 12px;
}

.recent-tasks-section .empty-state-text {
  color: #666;
  margin-bottom: 24px;
  max-width: 400px;
  margin: 0 auto 24px;
}

.recent-tasks-section .empty-state-button {
  display: inline-block;
  padding: 12px 24px;
  background: #2d7a46;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.recent-tasks-section .empty-state-button:hover {
  background: #1e5a2f;
  transform: translateY(-2px);
}

/* Dark mode support for recent tasks section */
[data-theme="dark"] .recent-tasks-section {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

[data-theme="dark"] .recent-tasks-section .section-title {
  color: #4ade80;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-theme="dark"] .recent-tasks-section .section-subtitle {
  color: #cccccc;
}

[data-theme="dark"] .recent-tasks-section .section-badge {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

[data-theme="dark"] .recent-tasks-section .empty-state {
  background: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .recent-tasks-section .empty-state-title {
  color: #ffffff;
}

[data-theme="dark"] .recent-tasks-section .empty-state-text {
  color: #b0b0b0;
}

[data-theme="dark"] .recent-tasks-section .empty-state-button {
  background: #4ade80;
  color: #1a1a1a;
}

[data-theme="dark"] .recent-tasks-section .empty-state-button:hover {
  background: #22c55e;
}

/* Support for body class dark mode approach */
body.display-dark-mode-true .recent-tasks-section {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.display-dark-mode-true .recent-tasks-section .section-title {
  color: #4ade80;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

body.display-dark-mode-true .recent-tasks-section .section-subtitle {
  color: #cccccc;
}

body.display-dark-mode-true .recent-tasks-section .section-badge {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

body.display-dark-mode-true .recent-tasks-section .empty-state {
  background: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.display-dark-mode-true .recent-tasks-section .empty-state-title {
  color: #ffffff;
}

body.display-dark-mode-true .recent-tasks-section .empty-state-text {
  color: #b0b0b0;
}

body.display-dark-mode-true .recent-tasks-section .empty-state-button {
  background: #4ade80;
  color: #1a1a1a;
}

body.display-dark-mode-true .recent-tasks-section .empty-state-button:hover {
  background: #22c55e;
}

/* Support for theme-sync-enabled dark mode */
body.theme-sync-enabled.home-theme-dark .recent-tasks-section {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .section-title {
  color: #4ade80;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .section-subtitle {
  color: #cccccc;
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .section-badge {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .empty-state {
  background: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .empty-state-title {
  color: #ffffff;
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .empty-state-text {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .empty-state-button {
  background: #4ade80;
  color: #1a1a1a;
}

body.theme-sync-enabled.home-theme-dark .recent-tasks-section .empty-state-button:hover {
  background: #22c55e;
}

/* Support for theme-sync-enabled light mode */
body.theme-sync-enabled.home-theme-light .recent-tasks-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .section-title {
  color: #2d7a46;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .section-subtitle {
  color: #666;
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .section-badge {
  background: rgba(45, 122, 70, 0.1);
  color: #2d7a46;
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .empty-state {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .empty-state-title {
  color: #333;
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .empty-state-text {
  color: #666;
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .empty-state-button {
  background: #2d7a46;
  color: white;
}

body.theme-sync-enabled.home-theme-light .recent-tasks-section .empty-state-button:hover {
  background: #1e5a2f;
}

/* Task Card Styles */
.task-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.task-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.task-card .task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.task-card .task-info {
  flex: 1 1;
}

.task-card .task-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.task-card .task-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.task-card .task-category {
  padding: 4px 12px;
  background: #e8f5e8;
  color: #2d7a46;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
}

.task-card .task-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 0.9em;
}

.task-card .task-price {
  text-align: right;
  min-width: 80px;
}

.task-card .price-amount {
  font-size: 1.4em;
  font-weight: 700;
  color: #2d7a46;
}

.task-card .price-label {
  font-size: 0.8em;
  color: #666;
  margin-top: 2px;
}

.task-card .task-description {
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-card .task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

.task-card .task-actions {
  display: flex;
  gap: 8px;
}

.task-card .task-customer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.9em;
}

.task-card .btn-view {
  padding: 8px 16px;
  background: #2d7a46;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.task-card .btn-view:hover {
  background: #1e5a2f;
  transform: translateY(-1px);
}

/* Dark mode support for task cards */
[data-theme="dark"] .task-card {
  background: #333;
  border-color: #404040;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .task-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

[data-theme="dark"] .task-card .task-title {
  color: #ffffff;
}

[data-theme="dark"] .task-card .task-category {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

[data-theme="dark"] .task-card .task-location {
  color: #b0b0b0;
}

[data-theme="dark"] .task-card .price-amount {
  color: #4ade80;
}

[data-theme="dark"] .task-card .price-label {
  color: #b0b0b0;
}

[data-theme="dark"] .task-card .task-description {
  color: #cccccc;
}

[data-theme="dark"] .task-card .task-footer {
  border-top-color: #404040;
}

[data-theme="dark"] .task-card .task-customer-info {
  color: #b0b0b0;
}

[data-theme="dark"] .task-card .btn-view {
  background: #4ade80;
  color: #1a1a1a;
}

[data-theme="dark"] .task-card .btn-view:hover {
  background: #22c55e;
}

/* Support for body class dark mode approach */
body.display-dark-mode-true .task-card {
  background: #333;
  border-color: #404040;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.display-dark-mode-true .task-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

body.display-dark-mode-true .task-card .task-title {
  color: #ffffff;
}

body.display-dark-mode-true .task-card .task-category {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

body.display-dark-mode-true .task-card .task-location {
  color: #b0b0b0;
}

body.display-dark-mode-true .task-card .price-amount {
  color: #4ade80;
}

body.display-dark-mode-true .task-card .price-label {
  color: #b0b0b0;
}

body.display-dark-mode-true .task-card .task-description {
  color: #cccccc;
}

body.display-dark-mode-true .task-card .task-footer {
  border-top-color: #404040;
}

body.display-dark-mode-true .task-card .task-customer-info {
  color: #b0b0b0;
}

body.display-dark-mode-true .task-card .btn-view {
  background: #4ade80;
  color: #1a1a1a;
}

body.display-dark-mode-true .task-card .btn-view:hover {
  background: #22c55e;
}

/* Support for theme-sync-enabled dark mode */
body.theme-sync-enabled.home-theme-dark .task-card {
  background: #333;
  border-color: #404040;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.theme-sync-enabled.home-theme-dark .task-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

body.theme-sync-enabled.home-theme-dark .task-card .task-title {
  color: #ffffff;
}

body.theme-sync-enabled.home-theme-dark .task-card .task-category {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

body.theme-sync-enabled.home-theme-dark .task-card .task-location {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .task-card .price-amount {
  color: #4ade80;
}

body.theme-sync-enabled.home-theme-dark .task-card .price-label {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .task-card .task-description {
  color: #cccccc;
}

body.theme-sync-enabled.home-theme-dark .task-card .task-footer {
  border-top-color: #404040;
}

body.theme-sync-enabled.home-theme-dark .task-card .task-customer-info {
  color: #b0b0b0;
}

body.theme-sync-enabled.home-theme-dark .task-card .btn-view {
  background: #4ade80;
  color: #1a1a1a;
}

body.theme-sync-enabled.home-theme-dark .task-card .btn-view:hover {
  background: #22c55e;
}

/* Support for theme-sync-enabled light mode */
body.theme-sync-enabled.home-theme-light .task-card {
  background: white;
  border-color: #e9ecef;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body.theme-sync-enabled.home-theme-light .task-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

body.theme-sync-enabled.home-theme-light .task-card .task-title {
  color: #333;
}

body.theme-sync-enabled.home-theme-light .task-card .task-category {
  background: #e8f5e8;
  color: #2d7a46;
}

body.theme-sync-enabled.home-theme-light .task-card .task-location {
  color: #666;
}

body.theme-sync-enabled.home-theme-light .task-card .price-amount {
  color: #2d7a46;
}

body.theme-sync-enabled.home-theme-light .task-card .price-label {
  color: #666;
}

body.theme-sync-enabled.home-theme-light .task-card .task-description {
  color: #555;
}

body.theme-sync-enabled.home-theme-light .task-card .task-footer {
  border-top-color: #e9ecef;
}

body.theme-sync-enabled.home-theme-light .task-card .task-customer-info {
  color: #666;
}

body.theme-sync-enabled.home-theme-light .task-card .btn-view {
  background: #2d7a46;
  color: white;
}

body.theme-sync-enabled.home-theme-light .task-card .btn-view:hover {
  background: #1e5a2f;
}
.footer-content {
  display: flex;
  color: #656565;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 32px;
}
.footer-section h3, .footer-section h4 {
  color: #d580ff;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section a, .footer-section .social-link {
  color: #656565;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-section a:hover, .footer-section .social-link:hover {
  color: #d580ff;
  color: var(--color-primary-light);
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-link {
  font-size: 1.2em;
}
.footer-bottom {
  background: #ffffff;
  padding: 18px 0;
  margin-top: 0;
}
.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.legal-links a {
  color: #bbb;
  font-size: 0.98em;
  text-decoration: none;
  transition: color 0.18s;
}
.legal-links a:hover {
  color: #d580ff;
  color: var(--color-primary-light);
} 

.cta-community-row {
  display: flex;
  gap: 40px;
  margin: 48px auto 0 auto;
  max-width: 1200px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

/* Dark theme for cta-community-row */
[data-theme="dark"] .cta-community-row {
  background: #1a1a1a;
}

/* White theme for cta-community-row */
[data-theme="light"] .cta-community-row {
  background: #ffffff;
}
.cta-community-col {
  flex: 1 1;
  min-width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(128,0,128,0.06);
  padding: 32px 28px;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

/* Dark theme for cta-community-col */
[data-theme="dark"] .cta-community-col {
  background: #2d2d2d;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* White theme for cta-community-col */
[data-theme="light"] .cta-community-col {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(128,0,128,0.06);
}

/* CTA Section Styles */
.cta-section {
  text-align: center;
  padding: 20px;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #333;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #666;
  line-height: 1.6;
}

/* Dark mode support for CTA section */
[data-theme="dark"] .cta-section h2 {
  color: #ffffff;
}

[data-theme="dark"] .cta-section p {
  color: #cccccc;
}

/* Support for body class dark mode approach */
body.display-dark-mode-true .cta-section h2 {
  color: #ffffff;
}

body.display-dark-mode-true .cta-section p {
  color: #cccccc;
}

body.display-dark-mode-true .cta-community-col {
  background: #2d2d2d;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Support for theme-sync-enabled dark mode */
body.theme-sync-enabled.home-theme-dark .cta-section h2 {
  color: #ffffff;
}

body.theme-sync-enabled.home-theme-dark .cta-section p {
  color: #cccccc;
}

body.theme-sync-enabled.home-theme-dark .cta-community-col {
  background: #2d2d2d;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Support for theme-sync-enabled light mode */
body.theme-sync-enabled.home-theme-light .cta-section h2 {
  color: #333;
}

body.theme-sync-enabled.home-theme-light .cta-section p {
  color: #666;
}

body.theme-sync-enabled.home-theme-light .cta-community-col {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(128,0,128,0.06);
}
@media (max-width: 900px) {
  .cta-community-row {
    flex-direction: column;
    gap: 24px;
  }
  .cta-community-col {
    min-width: 0;
    padding: 24px 12px;
  }
} 

.dashboard-left {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(60,64,67,0.08);
  padding: 12px 0 12px 0;
  opacity: 1 !important;
  width: 25vw;
  min-width: 220px;
  max-width: 350px;
  flex-basis: 25%;
  font-size: 0.7em;
}
.dashboard-left * {
  font-size: 0.7em !important;
}
.quick-access-grid, .popular-categories-grid {
  gap: 16px;
  margin: 16px 0 12px 0;
}
.quick-access-btn, .popular-category {
  padding: 12px 0 8px 0;
  border-radius: 9px;
  font-size: 0.95em;
}
.quick-access-icon, .popular-category-icon {
  font-size: 1.5em;
  margin-bottom: 4px;
}
.dashboard-search-bar {
  width: 90%;
  margin: 0 auto 12px auto;
}
.dashboard-search-input {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  padding: 8px 12px;
  font-size: 1em;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60,64,67,0.04);
  margin-left: 5%;
  margin-right: 5%;
}
.browse-tasks-list-view {
  gap: 12px;
}
.task-card-list {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(60,64,67,0.08);
  padding: 12px 14px;
}
.task-title {
  font-size: 1em;
}
.task-highlight-badge {
  font-size: 0.7em;
  padding: 2px 7px;
}
.task-card-list-body {
  font-size: 0.9em;
}
.task-meta-row {
  gap: 10px;
  margin-top: 6px;
  font-size: 0.85em;
}
.btn.btn-primary {
  padding: 7px 12px;
  font-size: 0.9em;
  border-radius: 6px;
}
.dashboard-weekly {
  background: #fff !important;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(60,64,67,0.08);
  font-size: 0.9em;
  margin-top: 10px;
  padding: 10px 14px 10px 14px;
  margin-bottom: 0;
  min-height: 0;
  min-height: initial;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #222;
}
.dashboard-weekly h3, .dashboard-weekly ul, .dashboard-weekly li {
  color: #222;
}
[data-theme='dark'] .dashboard-left {
  background: #fff !important;
  background: var(--color-surface) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
[data-theme='dark'] .dashboard-weekly {
  background: #fff !important;
  background: var(--color-surface) !important;
  color: #111;
  color: var(--color-text);
}
[data-theme='dark'] .dashboard-weekly h3, [data-theme='dark'] .dashboard-weekly ul, [data-theme='dark'] .dashboard-weekly li {
  color: #111;
  color: var(--color-text);
}
.dashboard-weekly ul {
  margin: 6px 0 0 18px;
  padding: 0;
}
.dashboard-weekly-bottom {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 900px) {
  .dashboard-left {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    flex-basis: 100%;
    font-size: 1em;
  }
  .dashboard-left * {
    font-size: 1em !important;
  }
} 

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px 0 20px;
  text-align: center;
  z-index: 2;
  position: relative;
}
.hero-title .highlight {
  color: #ffd700;
  font-weight: 800;
  letter-spacing: 1px;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 30px;
  min-height: 220px;
  position: relative;
  z-index: 1;
}
.hero-visual {
  position: relative;
  width: 340px;
  height: 180px;
}
.floating-card {
  position: absolute;
  background: white;
  color: #333;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1em;
  min-width: 120px;
  min-height: 48px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-1 {
  left: 0;
  top: 40px;
  z-index: 2;
  transform: rotate(-6deg);
}
.card-2 {
  left: 110px;
  top: 0;
  z-index: 3;
  transform: rotate(4deg) scale(1.08);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
}

.card-2::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.card-2:hover {
  transform: rotate(4deg) scale(1.12);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.card-2:hover::before {
  animation: shimmer 0.6s ease-out;
  opacity: 1;
}

@keyframes float {
  0%, 100% { transform: rotate(4deg) scale(1.08) translateY(0px); }
  50% { transform: rotate(4deg) scale(1.08) translateY(-5px); }
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

.card-2 .card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.card-2 .card-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-2 .card-subtitle {
  font-size: 0.75em;
  opacity: 0.9;
  font-weight: 400;
}

.card-2 .card-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff6b6b;
  color: white;
  font-size: 0.7em;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
}

/* Mapbox centered wrapper and animated aurora background */
.mapbox-centered-wrapper {
  position: relative;
  width: 100%; /* 2,5% outer margin on both sides */
  height: 80vh;
  margin: 10vh auto; /* vertical centering via top/bottom margin */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Map section header styles */
.map-section .map-section-header {
  text-align: center;
  margin: 0 auto 16px;
  padding: 0 12px;
}

.map-section .map-section-title {
  margin: 0 0 4px 0;
  font-size: 1.8em;
  font-weight: 600;
  color: #1f2937; /* gray-800 */
}

.map-section .map-section-subtitle {
  margin: 0;
  font-size: 1em;
  color: #6b7280; /* gray-500 */
}

[data-theme="dark"] .map-section .map-section-title {
  color: #e5e7eb; /* gray-200 */
}

[data-theme="dark"] .map-section .map-section-subtitle {
  color: #9ca3af; /* gray-400 */
}

/* When authenticated, prefer 70-80% viewport height and center */
.map-section.authenticated .mapbox-centered-wrapper {
  height: 100vh; /* taller map area for logged-in users on desktop */
  margin: 5vh auto; /* reduce top/bottom margin to extend map */
}

.mapbox-centered-wrapper > *:not(.mapbox-bg-aurora) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.mapbox-bg-aurora {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  filter: blur(60px);
  background: radial-gradient(350px 350px at 30% 30%, rgba(118, 75, 162, 0.35), transparent 70%),
              radial-gradient(350px 350px at 70% 30%, rgba(102, 126, 234, 0.35), transparent 70%),
             radial-gradient(350px 350px at 50% 70%, rgba(45, 122, 70, 0.25), transparent 70%);
background-blend-mode: screen;              
  animation: aurora-rotate 14s linear infinite;
  transform-origin: center;
  z-index: 0;
}

@keyframes aurora-rotate {
  0% { transform: rotate(0deg) scale(1); opacity: 0.8; }
  50% { transform: rotate(180deg) scale(1.03); opacity: 1; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.8; }
}

/* Global aurora variant that sits behind content, fixed to page */
.aurora-global {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  inset: auto;
  z-index: 0;
}

@media (max-width: 1024px) {
  .mapbox-centered-wrapper { width: 94%; height: 70vh; margin: 7.5vh auto; }
  .map-section.authenticated .mapbox-centered-wrapper { height: 70vh; margin: 7.5vh auto; }
}

@media (max-width: 640px) {
  .mapbox-centered-wrapper { width: 96%; height: 60vh; margin: 5vh auto; }
  .map-section.authenticated .mapbox-centered-wrapper { height: 60vh; margin: 5vh auto; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.card-3 {
  right: 0;
  top: 60px;
  z-index: 1;
  transform: rotate(8deg);
}
.floating-card .card-icon {
  font-size: 1.6em;
  margin-right: 8px;
}
.floating-card .card-text {
  font-weight: 600;
}
@media (max-width: 900px) {
  .hero-section {
    padding: 40px 0 20px 0;
  }
  .hero-content {
    padding: 24px 8px 0 8px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-image {
    min-height: 120px;
  }
  .hero-visual {
    width: 220px;
    height: 100px;
  }
  .floating-card {
    font-size: 0.95em;
    min-width: 80px;
    min-height: 36px;
    padding: 10px 12px;
  }
  .card-1 { left: 0; top: 20px; }
  .card-2 { 
    left: 60px; 
    top: 0; 
    animation: float 4s ease-in-out infinite;
  }
  
  .card-2 .card-subtitle {
    font-size: 0.65em;
  }
  
  .card-2 .card-badge {
    font-size: 0.6em;
    padding: 2px 6px;
    top: -4px;
    right: -6px;
  }
  .card-3 { right: 0; top: 30px; }
} 

/* Location Permission Modal Styles */
.location-permission-modal {
  max-width: 500px;
  width: 90%;
}

.location-permission-content {
  text-align: center;
  padding: 20px 0;
}

.location-icon {
  margin-bottom: 20px;
}

.location-permission-content h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.location-permission-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.location-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #333;
}

.benefit-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.error-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 6px;
  color: #d32f2f;
  font-size: 0.9rem;
  text-align: left;
  margin-top: 15px;
}

.error-icon {
  font-size: 1.1rem;
  margin-top: 1px;
}

.modal-actions .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Dark theme support for location modal */
[data-theme='dark'] .location-permission-content h4 {
  color: #111;
  color: var(--color-text);
}

[data-theme='dark'] .location-permission-content p {
  color: var(--color-text-muted);
}

[data-theme='dark'] .location-benefits {
  background: var(--color-surface-dark);
}

[data-theme='dark'] .benefit-item {
  color: #111;
  color: var(--color-text);
}

[data-theme='dark'] .error-message {
  background: rgba(244, 67, 54, 0.1);
  border-color: rgba(244, 67, 54, 0.3);
  color: #ff6b6b;
}

@media (max-width: 768px) {
  .location-permission-modal {
    margin: 20px;
    max-width: none;
  }
  
  .location-benefits {
    padding: 15px;
  }
  
  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .modal-actions .btn {
    width: 100%;
  }
}

/* Modal body scroll management utilities */
body.modal-open {
  overflow: hidden !important;
  height: 100vh;
  width: 100vw;
}

/* Prevent body bounce on iOS when modal is open */
body.modal-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Welcome modal specific styles */
.welcome-modal-overlay {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.welcome-modal-overlay::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.welcome-modal {
  /* Ensure modal content scrolls smoothly */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 155, 155, 0.5) transparent;
}

.welcome-modal::-webkit-scrollbar {
  width: 6px;
}

.welcome-modal::-webkit-scrollbar-track {
  background: transparent;
}

.welcome-modal::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.5);
  border-radius: 20px;
  border: transparent;
}

/* Welcome modal fade transition effects */
.modal-content-transition {
  transition: opacity 0.15s ease-in-out;
}

.modal-content-transition.fade-in {
  opacity: 1;
}

.modal-content-transition.fade-out {
  opacity: 0;
}

/* Enhanced form styling for modal */
.welcome-modal .form-group {
  margin-bottom: 16px;
}

.welcome-modal .form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.welcome-modal .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.welcome-modal .form-input:focus {
  outline: none;
  border-color: #2d7a46;
  box-shadow: 0 0 0 3px rgba(45, 122, 70, 0.1);
}

.welcome-modal .btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Loading spinner for modal */
.welcome-modal .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive adjustments for modal */
@media (max-width: 480px) {
  .welcome-modal {
    margin: 10px;
    max-height: calc(100vh - 20px) !important;
  }
  
  .welcome-modal-overlay {
    padding: 10px !important;
  }
}

/* NEW: displayDarkMode priority logic for global components */

/* When displayDarkMode is false, force white backgrounds everywhere */
body.display-dark-mode-false {
  background: white !important;
}

body.display-dark-mode-false .home-page {
  background: white !important;
}

body.display-dark-mode-false .hero-section {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .features-section {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .services-section {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .stats-section {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .how-it-works-section {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .footer {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Force almost white text for all elements when displayDarkMode is false */
body.display-dark-mode-false * {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Home page body background fixes */
.home-page {
  background: #f7f6fa;
  background: var(--color-background);
  min-height: 100vh;
}

[data-theme="dark"] .home-page {
  background: #f7f6fa !important;
  background: var(--color-background) !important;
}

[data-theme="light"] .home-page {
  background: #f7f6fa !important;
  background: var(--color-background) !important;
}

body.display-dark-mode-false .card,
body.display-dark-mode-false .modal,
body.display-dark-mode-false .welcome-modal {
  background: rgba(0, 0, 0, 0.05) !important; /* Subtle dark tint for contrast */
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Add subtle background tints to sections for better text visibility */
body.display-dark-mode-false .hero-section,
body.display-dark-mode-false .features-section,
body.display-dark-mode-false .services-section,
body.display-dark-mode-false .stats-section,
body.display-dark-mode-false .how-it-works-section {
  background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1)) !important;
}

body.display-dark-mode-false .footer {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure headings and titles are visible */
body.display-dark-mode-false h1,
body.display-dark-mode-false h2,
body.display-dark-mode-false h3,
body.display-dark-mode-false h4,
body.display-dark-mode-false h5,
body.display-dark-mode-false h6 {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Ensure links and buttons are visible */
body.display-dark-mode-false a {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.display-dark-mode-false .btn {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false .btn:hover {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Form inputs with almost white text */
body.display-dark-mode-false input,
body.display-dark-mode-false textarea,
body.display-dark-mode-false select {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false input::placeholder,
body.display-dark-mode-false textarea::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* When displayDarkMode is true, enhance placeholders and inputs */
body.display-dark-mode-true input::placeholder,
body.display-dark-mode-true textarea::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.display-dark-mode-true .form-input::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.display-dark-mode-true .form-input {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: #444 !important;
}

body.display-dark-mode-true .welcome-modal {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-true .welcome-modal .form-label {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Theme toggle enhancements for displayDarkMode priority */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  width: 40px;
  height: 40px;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

/* Dark mode theme toggle */
[data-theme="dark"] .theme-toggle {
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 1);
}

/* Theme sync for home page - applies when user enables sync */
body.theme-sync-enabled.home-theme-dark .home-page {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-sync-enabled.home-theme-dark .hero-section {
  background: rgba(0, 0, 0, 0.3) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

body.theme-sync-enabled.home-theme-dark .features-section,
body.theme-sync-enabled.home-theme-dark .services-section,
body.theme-sync-enabled.home-theme-dark .stats-section,
body.theme-sync-enabled.home-theme-dark .how-it-works-section {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-sync-enabled.home-theme-dark .footer {
  background: rgba(0, 0, 0, 0.4) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-sync-enabled.home-theme-dark .feature-card,
body.theme-sync-enabled.home-theme-dark .service-card,
body.theme-sync-enabled.home-theme-dark .step {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-sync-enabled.home-theme-dark .btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.theme-sync-enabled.home-theme-dark .btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

body.theme-sync-enabled.home-theme-dark .floating-card {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Light theme sync for home page */
body.theme-sync-enabled.home-theme-light .home-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
  color: #333 !important;
}

body.theme-sync-enabled.home-theme-light .hero-section {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
}

body.theme-sync-enabled.home-theme-light .features-section,
body.theme-sync-enabled.home-theme-light .services-section,
body.theme-sync-enabled.home-theme-light .stats-section,
body.theme-sync-enabled.home-theme-light .how-it-works-section {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #333 !important;
}

body.theme-sync-enabled.home-theme-light .footer {
  background: rgba(248, 249, 250, 0.95) !important;
  color: #333 !important;
}

body.theme-sync-enabled.home-theme-light .feature-card,
body.theme-sync-enabled.home-theme-light .service-card,
body.theme-sync-enabled.home-theme-light .step {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #333 !important;
}

body.theme-sync-enabled.home-theme-light .btn {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body.theme-sync-enabled.home-theme-light .btn:hover {
  background: rgba(255, 255, 255, 1) !important;
  color: #000 !important;
}

body.theme-sync-enabled.home-theme-light .floating-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #333 !important;
} 

/* Google-style theme sync modal */
.theme-sync-modal {
  font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
  box-sizing: border-box;
  animation: themeSyncSlideIn 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.theme-sync-modal.visible {
  animation: themeSyncSlideIn 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes themeSyncSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.theme-sync-modal button {
  font-family: inherit;
  font-size: inherit;
}

/* Responsive adjustments for theme sync modal */
@media (max-width: 480px) {
  .theme-sync-modal {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: none !important;
    width: auto !important;
  }
}

/* Responsive adjustments for login page */
@media (max-width: 480px) {
  .page.login-page,
  .page:has(.card) {
    padding: 10px;
    align-items: flex-start;
    padding-top: 10vh;
  }
  
  .card {
    max-width: 100%;
    margin: 0;
    min-height: auto;
  }
  
  .card-header {
    padding: 20px 20px 16px;
  }
  
  .card-title {
    font-size: 1.5rem;
  }
  
  .card-subtitle {
    font-size: 1rem;
  }
}

@media (max-height: 600px) {
  .page.login-page,
  .page:has(.card) {
    align-items: flex-start;
    padding-top: 20px;
  }
}

/* Ensure proper text color in forms */
.card .form-label {
  color: #333;
}

.card .form-input {
  background: white;
  color: #333;
  border: 1px solid #e1e5e9;
}

[data-theme="dark"] .card .form-label {
  color: #111;
  color: var(--color-text);
}

[data-theme="dark"] .card .form-input {
  background: #fff;
  background: var(--color-surface);
  color: #111;
  color: var(--color-text);
  border: 1px solid #e0e0e0;
  border: 1px solid var(--color-border);
}

/* Add to existing App.css */

/* Legacy Skills Styling */
.legacy-skills {
  margin-top: 8px;
}

.skill-tag {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 8px;
  margin: 2px 4px 2px 0;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
  border: 1px solid #bbdefb;
}

.skill-tag.legacy {
  background: #fff3e0;
  color: #ef6c00;
  border-color: #ffcc02;
}

.skill-tag.legacy::before {
  content: "📋 ";
  font-size: 0.9em;
}

/* Add to existing App.css */

/* Premium Services Section */
.premium-services-section {
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 16px;
  border: 2px solid #f59e0b;
}

.premium-services-section h3 {
  margin: 0 0 16px 0;
  color: #92400e;
  font-size: 1.3em;
  font-weight: 600;
}

.premium-option-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.premium-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
}

.premium-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.premium-icon {
  font-size: 2.5em;
  flex-shrink: 0;
}

.premium-info {
  flex: 1 1;
}

.premium-info h4 {
  margin: 0 0 6px 0;
  color: #1f2937;
  font-size: 1.4em;
  font-weight: 600;
}

.premium-info p {
  margin: 0;
  color: #6b7280;
  font-size: 1em;
  line-height: 1.4;
}

.premium-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  flex-shrink: 0;
}

.premium-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.premium-features span {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.85em;
  font-weight: 500;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-divider {
  text-align: center;
  margin: 32px 0;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
  z-index: 1;
}

.section-divider span {
  background: white;
  padding: 0 20px;
  color: #6b7280;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .premium-features {
    justify-content: center;
  }
  
  .premium-option-card {
    padding: 16px;
  }
  
  .premium-services-section {
    padding: 20px 16px;
  }
}

/* Dashboard Globe Integration */
.dashboard-globe-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e1e5e9;
}

.globe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.globe-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.globe-controls {
  display: flex;
  gap: 8px;
}

.globe-control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.globe-control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.globe-control-btn.active {
  background: rgba(0, 255, 136, 0.3);
  border-color: rgba(0, 255, 136, 0.5);
}

/* Real-time Notification Effects */
.completion-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
  animation: slideInRight 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.provider-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
  animation: slideInRight 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.completion-content,
.provider-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.completion-icon {
  font-size: 1.2rem;
}

.provider-icon {
  font-size: 1rem;
}

.completion-text,
.provider-text {
  font-size: 0.9rem;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive adjustments for globe in dashboard */
@media (max-width: 768px) {
  .dashboard-globe-section {
    margin: 10px;
  }
  
  .globe-header {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .globe-header h3 {
    font-size: 1.1rem;
  }
  
  .globe-controls {
    align-self: flex-end;
  }
  
  .globe-control-btn {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
  
  .completion-notification,
  .provider-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Enhanced Logout Success Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #f7f6fa;
  background: var(--color-background, white);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 90%;
  animation: slideIn 0.3s ease;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
}

.modal-header {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9) 0%, rgba(32, 201, 151, 0.9) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: -1;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modal-body {
  padding: 32px 28px;
  text-align: center;
}

.modal-body p {
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  color: #111;
  color: var(--color-text, #333);
  line-height: 1.6;
  font-weight: 500;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-footer {
  padding: 0 28px 32px 28px;
  text-align: center;
}

.modal-footer .btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.modal-footer .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modal-footer .btn:hover::before {
  left: 100%;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Dark Mode Support for Logout Success Modal */
body[data-theme='dark'] .modal-content {
  background: #1a202c;
  background: var(--color-background-dark, #1a202c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border-dark, rgba(255, 255, 255, 0.1));
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body[data-theme='dark'] .modal-body p {
  color: #e2e8f0;
  color: var(--color-text-dark, #e2e8f0);
}

body[data-theme='dark'] .modal-header {
  background: linear-gradient(135deg, #2d7a46 0%, #1a9f7a 100%);
}

body[data-theme='dark'] .modal-header::before {
  background: linear-gradient(135deg, rgba(45, 122, 70, 0.9) 0%, rgba(26, 159, 122, 0.9) 100%);
}

/* Responsive Design for Logout Success Modal */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-width: 350px;
  }
  
  .modal-header {
    padding: 20px 24px;
  }
  
  .modal-header h3 {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 24px 20px;
  }
  
  .modal-body p {
    font-size: 1rem;
  }
  
  .modal-footer {
    padding: 0 20px 24px 20px;
  }
  
  .modal-footer .btn {
    width: 100%;
    min-width: auto;
  }
}

/* Got It Logout Button Styling */
.gotit-logout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 16px 24px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: white !important;
  background-color: #2d7a46 !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1em !important;
  width: 100% !important;
  box-shadow: 0 4px 12px rgba(45, 122, 70, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
}

.gotit-logout:hover {
  background-color: #1e5a2e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(45, 122, 70, 0.4) !important;
}

.gotit-logout:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 12px rgba(45, 122, 70, 0.3) !important;
}

/* Dark mode support for gotit-logout button */
body[data-theme='dark'] .gotit-logout {
  background-color: #2d7a46 !important;
  color: white !important;
}

body[data-theme='dark'] .gotit-logout:hover {
  background-color: #1e5a2e !important;
}

/* Responsive design for gotit-logout button */
@media (max-width: 480px) {
  .gotit-logout {
    padding: 14px 20px !important;
    font-size: 0.95em !important;
  }
}

/* Telegram Error Toast Styling */
/* Ensure Telegram error toasts are visible and not blocked by dashboard header */
[data-testid="toast"] {
  margin-top: 80px !important;
  z-index: 10001 !important;
}

/* Specific styling for Telegram error toasts */
[data-testid="toast"]:has([data-testid="toast-error"]),
[data-testid="toast-error"] {
  margin-top: 80px !important;
  top: 80px !important;
  z-index: 10001 !important;
}

/* Alternative selectors for different toast libraries */
.toast-error,
.toast-notification-error,
[class*="toast-error"],
[class*="notification-error"] {
  margin-top: 80px !important;
  top: 80px !important;
  z-index: 10001 !important;
}

/* React Hot Toast specific styling */
[data-testid="toast"] {
  margin-top: 80px !important;
  z-index: 10001 !important;
}

/* Ensure all error toasts have proper spacing from dashboard header */
body:has(.dashboard-header) [data-testid="toast"],
body:has(.dashboard-header) .toast-error,
body:has(.dashboard-header) [class*="toast-error"] {
  margin-top: 80px !important;
  top: 80px !important;
  z-index: 10001 !important;
}

/* Dashboard-specific toast positioning */
.dashboard [data-testid="toast"],
.dashboard .toast-error,
.dashboard [class*="toast-error"] {
  margin-top: 80px !important;
  top: 80px !important;
  z-index: 10001 !important;
}

/* Enhanced Stats Section Responsive Design */
.stats-section .container > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 32px;
  gap: 32px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.info-layout-container {
  display: flex;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.info-content-side {
  flex: 1 1;
  margin: 0;
  padding: 40px;
  background: #f8f9fa;
}

.info-map-side {
  flex: 1 1;
  margin: 0;
  padding: 0;
  background: white;
}

.info-map-side .map-container {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
}

.info-map-side .map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.info-map-side .map-content {
  text-align: center;
  max-width: 400px;
}

.info-map-side .map-message h3 {
  margin: 0 0 16px 0;
  font-size: 1.8em;
  font-weight: 600;
  color: #333;
}

.info-map-side .map-message p {
  margin: 0;
  font-size: 1.1em;
  color: #666;
  line-height: 1.5;
}

/* Info Toggle Buttons */
.info-toggle-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: white;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toggle-btn {
  flex: 1 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #666;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.toggle-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.toggle-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.toggle-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.info-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.stats-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  width: 100%;
  margin: 0;
}

/* Stats Grid Card */
.stats-grid-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: -webkit-fit-content;
  height: fit-content;
}

.stats-grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stats-grid-card h2 {
  margin: 0 0 12px 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  text-align: center;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
  gap: 8px;
}

.stat-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  border-color: #667eea;
}

.stat-number {
  font-size: 1.4em;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(102, 126, 234, 0.2);
  line-height: 1;
}

.stat-label {
    font-size: 0.75em;
  color: #666;
  font-weight: 500;
  line-height: 1.1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

/* Info Section Cards - Unified Style */
.achievements-card,
.activities-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  height: -webkit-fit-content;
  height: fit-content;
  width: 100%;
  max-width: 100%;
}

/* Info Section Headers - Unified Style */
.achievements-header,
.activities-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.achievements-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

/* Info Section Header Text - Unified Style */
.achievements-header h3,
.activities-header h3 {
  margin: 0 0 4px 0;
  font-size: 1.2em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.achievements-header p,
.activities-header p {
  margin: 0;
  font-size: 0.85em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Info Section Content - Unified Style */
.achievements-content,
.activities-content {
  padding: 16px 20px;
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.achievement-item:hover {
  background: #e9ecef;
  transform: translateX(2px);
}

.achievement-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  font-size: 0.8em;
  color: white;
  flex-shrink: 0;
}

.achievement-details {
  flex: 1 1;
  min-width: 0;
}

.achievement-text {
  font-size: 0.85em;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
}

.achievement-badge-name {
  color: #ff6b35;
  font-weight: 500;
}

.achievement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
}

.achievement-time {
  color: #666;
}

.achievement-xp {
  color: #ff6b35;
  font-weight: 600;
}

/* Info Section Footer - Unified Style */
.achievements-footer,
.activities-footer {
  padding: 16px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
  width: 100%;
}

/* Info Section Footer Links - Unified Style */
.achievements-footer a,
.activities-footer a {
  color: #667eea;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.achievements-footer a:hover,
.activities-footer a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Top Tasks Card */
.top-tasks-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  max-height: 400px;
  max-width: 350px;
}

.top-tasks-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  border-radius: 16px 16px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.top-tasks-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.top-tasks-header h3 {
  margin: 0;
  font-size: 1.4em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-align: center;
}

.top-tasks-header p {
  margin: 4px 0 0 0;
  font-size: 0.9em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  text-align: center;
}

.top-tasks-content {
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.top-tasks-loading,
.top-tasks-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #666;
}

.top-tasks-empty .empty-icon {
  font-size: 2em;
  margin-bottom: 12px;
}

.top-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.top-task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.top-task-item:hover {
  background: #e9ecef;
  border-color: #ff6b6b;
}

.top-task-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  flex-shrink: 0;
}

.top-task-details {
  flex: 1 1;
  min-width: 0;
}

.top-task-text {
  margin-bottom: 8px;
}

.top-task-text strong {
  color: #333;
  font-weight: 600;
}

.top-task-description {
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}

.top-task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8em;
  color: #888;
}

.top-task-time {
  color: #666;
}

.top-task-budget {
  color: #ff6b6b;
  font-weight: 600;
}

.top-task-bids {
  color: #2d7a46;
  font-weight: 500;
}

.top-task-view-btn {
  padding: 4px 8px;
  font-size: 0.75em;
  border-radius: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

.top-tasks-footer {
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.top-tasks-footer a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  transition: color 0.2s ease;
}

.top-tasks-footer a:hover {
  color: #ee5a52;
  text-decoration: underline;
}

/* Activities Card */
.activities-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  height: -webkit-fit-content;
  height: fit-content;
  width: 100%;
  max-width: 100%;
}

.activities-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activities-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.activities-header h3 {
  margin: 0 0 4px 0;
  font-size: 1.2em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.activities-header p {
  margin: 0;
  font-size: 0.85em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.activities-content {
  padding: 16px 20px;
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}

.activities-loading,
.activities-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #666;
}

.activities-empty .empty-icon {
  font-size: 2em;
  margin-bottom: 12px;
}

.activities-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.activity-item:hover {
  background: #e9ecef;
  border-color: #667eea;
}

.activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.activity-icon[data-type="payout"] {
  background: #28a745;
}

.activity-icon[data-type="bid"] {
  background: #ffc107;
}

.activity-icon[data-type="created"] {
  background: #007bff;
}

.activity-details {
  flex: 1 1;
  min-width: 0;
}

.activity-text {
  font-size: 0.85em;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
}

.activity-task {
  font-weight: 500;
}

.payout-task {
  color: #28a745;
}

.bid-task {
  color: #ffc107;
}

.created-task {
  color: #007bff;
}

.activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
}

.activity-time {
  color: #666;
}

.activity-amount {
  font-weight: 600;
}

.payout-amount {
  color: #28a745;
}

.bid-amount {
  color: #ffc107;
}

.created-amount {
  color: #007bff;
}

.task-amount {
  color: #2d7a46;
}

.activities-footer {
  padding: 16px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
  width: 100%;
}

.activities-footer a {
  color: #667eea;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.activities-footer a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Project Created Card */
.project-created-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}

.project-created-header {
  position: relative;
  padding: 24px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
}

.project-created-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.project-created-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.project-created-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95em;
  position: relative;
  z-index: 1;
}

.project-created-content {
  padding: 24px 32px;
}

.project-created-description {
  margin-bottom: 24px;
}

.project-created-description p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95em;
}

.project-scope-selection {
  margin-bottom: 24px;
}

.project-scope-selection h4 {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 1.1em;
  font-weight: 600;
}

.scope-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-option {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  position: relative;
}

.scope-option:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

.scope-option input[type="radio"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: #667eea;
}

.scope-option input[type="radio"]:checked + .scope-label {
  color: #667eea;
  font-weight: 600;
}

.scope-label {
  font-weight: 500;
  color: #333;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.scope-description {
  color: #666;
  font-size: 0.9em;
  font-weight: normal;
}

.project-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.place-bid-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1em;
}

.place-bid-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.place-bid-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.project-created-footer {
  padding: 16px 32px;
  border-top: 1px solid #e1e5e9;
  text-align: center;
}

.project-created-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-created-footer a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Dark Mode Theming for Stats Section */
[data-theme="dark"] .stats-grid-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .stats-grid-card h2 {
  color: #ffffff;
}

[data-theme="dark"] .stat-item {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-color: #333;
}

[data-theme="dark"] .stat-item:hover {
  background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
  border-color: #667eea;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] .stat-number {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-label {
  color: #b0b0b0;
}

[data-theme="dark"] .achievements-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .achievement-item {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .achievement-item:hover {
  background: #333;
  border-color: #667eea;
}

[data-theme="dark"] .achievement-text {
  color: #ffffff;
}

[data-theme="dark"] .achievement-time {
  color: #b0b0b0;
}

[data-theme="dark"] .achievements-footer {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .achievements-footer a {
  color: #8b9eff;
}

[data-theme="dark"] .achievements-footer a:hover {
  color: #a8b4ff;
}

[data-theme="dark"] .activities-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .activity-item {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .activity-item:hover {
  background: #333;
  border-color: #667eea;
}

[data-theme="dark"] .activity-text {
  color: #ffffff;
}

[data-theme="dark"] .activity-time {
  color: #b0b0b0;
}

[data-theme="dark"] .activities-footer {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .activities-footer a {
  color: #8b9eff;
}

[data-theme="dark"] .activities-footer a:hover {
  color: #a8b4ff;
}

[data-theme="dark"] .top-tasks-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .top-task-item {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .top-task-item:hover {
  background: #333;
  border-color: #ff6b6b;
}

[data-theme="dark"] .top-task-text strong {
  color: #ffffff;
}

[data-theme="dark"] .top-task-description {
  color: #b0b0b0;
}

[data-theme="dark"] .top-task-time {
  color: #b0b0b0;
}

[data-theme="dark"] .top-tasks-footer {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .top-tasks-footer a {
  color: #ff6b6b;
}

[data-theme="dark"] .top-tasks-footer a:hover {
  color: #ee5a52;
}

[data-theme="dark"] .project-created-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .project-created-description p {
  color: #b0b0b0;
}

[data-theme="dark"] .project-scope-selection h4 {
  color: #ffffff;
}

[data-theme="dark"] .scope-option {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .scope-option:hover {
  background: #333;
  border-color: #667eea;
}

[data-theme="dark"] .scope-label {
  color: #ffffff;
}

[data-theme="dark"] .scope-description {
  color: #b0b0b0;
}

[data-theme="dark"] .project-created-footer {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .project-created-footer a {
  color: #8b9eff;
}

[data-theme="dark"] .project-created-footer a:hover {
  color: #a8b4ff;
}

/* Create Project Modal Styles */
.create-project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.create-project-modal-content {
  background: white;
  padding: 0;
  border-radius: 16px;
  max-width: 1100px;
  width: 95%;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  animation: modalSlideIn 0.3s ease-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.create-project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.create-project-modal-close:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.create-project-modal-header {
  padding: 24px 20px 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px 16px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.create-project-header-bg {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.create-project-modal-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.8em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-align: center;
}

.create-project-modal-header p {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Specific styling for create-project-modal-content to make header extend to edges */
.create-project-modal-content .create-project-modal-header {
  padding: 0 0 40px 0;
  margin: -1px -1px 0 -1px; /* Extend beyond modal borders */
}

.create-project-modal-content .create-project-modal-header h2 {
  margin: 0;
  padding: 24px 20px 8px 20px;
}

  .create-project-modal-content .create-project-modal-header p {
  margin: 0;
  padding: 0 20px 24px 20px;
}

/* Moderation Warning Styles */
.moderation-warning {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 16px 0;
  overflow: hidden;
  border: 2px solid #e53e3e;
  animation: slideInDown 0.3s ease-out;
}

.moderation-warning-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: white;
  position: relative;
}

.moderation-warning-header.bg-red-500 {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.moderation-warning-header.bg-orange-500 {
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.moderation-warning-header.bg-yellow-500 {
  background: linear-gradient(135deg, #ecc94b 0%, #d69e2e 100%);
}

.moderation-warning-header.bg-blue-500 {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.moderation-warning-icon {
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

.moderation-warning-title h4 {
  margin: 0 0 4px 0;
  font-size: 1.1em;
  font-weight: 600;
}

.moderation-warning-title p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.9;
}

.moderation-warning-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.moderation-warning-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.moderation-warning-content {
  padding: 20px;
}

.moderation-warning-message {
  margin-bottom: 16px;
}

.moderation-warning-message p {
  margin: 0;
  color: #2d3748;
  font-size: 0.95em;
  line-height: 1.5;
}

.moderation-issues-list {
  margin-bottom: 20px;
}

.moderation-issue-group {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid;
}

.moderation-issue-group.critical {
  background: #fed7d7;
  border-left-color: #e53e3e;
}

.moderation-issue-group.high {
  background: #feebc8;
  border-left-color: #ed8936;
}

.moderation-issue-group.medium {
  background: #fef5e7;
  border-left-color: #ecc94b;
}

.moderation-issue-group.low {
  background: #ebf8ff;
  border-left-color: #4299e1;
}

.moderation-issue-group h5 {
  margin: 0 0 8px 0;
  font-size: 0.9em;
  font-weight: 600;
  color: #2d3748;
}

.moderation-issue-item {
  margin-bottom: 8px;
}

.moderation-issue-item:last-child {
  margin-bottom: 0;
}

.moderation-issue-item p {
  margin: 0;
  font-size: 0.85em;
  color: #4a5568;
  line-height: 1.4;
}

.moderation-suggestions {
  background: #f7fafc;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.moderation-suggestions h5 {
  margin: 0 0 12px 0;
  font-size: 0.9em;
  font-weight: 600;
  color: #2d3748;
}

.moderation-suggestions ul {
  margin: 0;
  padding-left: 20px;
}

.moderation-suggestions li {
  margin-bottom: 6px;
  font-size: 0.85em;
  color: #4a5568;
  line-height: 1.4;
}

.moderation-warning-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.moderation-policy-link {
  margin-bottom: 12px;
}

.moderation-policy-link p {
  margin: 0;
  font-size: 0.9em;
  color: #2d3748;
}

.policy-link {
  color: #3182ce;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.policy-link:hover {
  color: #2c5282;
  text-decoration: underline;
}

.moderation-note {
  background: #f7fafc;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.moderation-note p {
  margin: 0;
  font-size: 0.8em;
  color: #718096;
  line-height: 1.4;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark theme support for moderation warnings */
[data-theme="dark"] .moderation-warning {
  background: #2d3748;
  border-color: #e53e3e;
}

[data-theme="dark"] .moderation-warning-content {
  color: #e2e8f0;
}

[data-theme="dark"] .moderation-warning-message p {
  color: #e2e8f0;
}

[data-theme="dark"] .moderation-issue-group.critical {
  background: #742a2a;
  border-left-color: #fc8181;
}

[data-theme="dark"] .moderation-issue-group.high {
  background: #744210;
  border-left-color: #f6ad55;
}

[data-theme="dark"] .moderation-issue-group.medium {
  background: #744210;
  border-left-color: #f6e05e;
}

[data-theme="dark"] .moderation-issue-group.low {
  background: #2a4365;
  border-left-color: #63b3ed;
}

[data-theme="dark"] .moderation-issue-group h5 {
  color: #e2e8f0;
}

[data-theme="dark"] .moderation-issue-item p {
  color: #cbd5e0;
}

[data-theme="dark"] .moderation-suggestions {
  background: #4a5568;
  border-color: #718096;
}

[data-theme="dark"] .moderation-suggestions h5 {
  color: #e2e8f0;
}

[data-theme="dark"] .moderation-suggestions li {
  color: #cbd5e0;
}

[data-theme="dark"] .moderation-warning-footer {
  border-top-color: #718096;
}

[data-theme="dark"] .moderation-policy-link p {
  color: #e2e8f0;
}

[data-theme="dark"] .policy-link {
  color: #63b3ed;
}

[data-theme="dark"] .policy-link:hover {
  color: #90cdf4;
}

[data-theme="dark"] .moderation-note {
  background: #4a5568;
  border-color: #718096;
}

[data-theme="dark"] .moderation-note p {
  color: #a0aec0;
}

.create-project-modal-body {
  flex: 1 1;
  overflow-y: auto;
  padding: 24px;
}

/* Dark Mode Support for Create Project Modal */
[data-theme="dark"] .create-project-modal-content {
  background: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

[data-theme="dark"] .create-project-modal-body {
  color: #e2e8f0;
}

[data-theme="dark"] .sample-projects-section h3 {
  color: #ffffff;
}

[data-theme="dark"] .sample-projects-section p {
  color: #b0b0b0;
}

[data-theme="dark"] .sample-project-card {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .sample-project-card:hover {
  background: #333;
  border-color: #667eea;
}

[data-theme="dark"] .sample-project-header h4 {
  color: #ffffff;
}

[data-theme="dark"] .project-description {
  color: #b0b0b0;
}

[data-theme="dark"] .project-bids h5 {
  color: #ffffff;
}

[data-theme="dark"] .bid-item {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .provider-name {
  color: #ffffff;
}

[data-theme="dark"] .bid-description {
  color: #b0b0b0;
}

[data-theme="dark"] .project-creation-flow h3 {
  color: #ffffff;
}

[data-theme="dark"] .creation-step {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .step-header h4 {
  color: #ffffff;
}

[data-theme="dark"] .scope-content {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .scope-option input[type="radio"]:checked + .scope-content {
  background: #2a2a2a;
  border-color: #667eea;
}

[data-theme="dark"] .scope-label {
  color: #ffffff;
}

[data-theme="dark"] .scope-description {
  color: #b0b0b0;
}

[data-theme="dark"] .category-content {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .category-option input[type="radio"]:checked + .category-content {
  background: #2a2a2a;
  border-color: #667eea;
}

[data-theme="dark"] .category-label {
  color: #ffffff;
}

[data-theme="dark"] .task-section {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .task-section h5 {
  color: #ffffff;
}

[data-theme="dark"] .task-item:hover {
  background: #2a2a2a;
}

[data-theme="dark"] .task-text {
  color: #ffffff;
}

[data-theme="dark"] .add-task-input input {
  background: #2a2a2a;
  border-color: #333;
  color: #ffffff;
}

[data-theme="dark"] .project-summary {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .summary-label {
  color: #b0b0b0;
}

[data-theme="dark"] .summary-value {
  color: #ffffff;
}

/* Create Project Section */
.create-project-section {
  padding: 80px 0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

[data-theme="dark"] .create-project-section {
  background: #1a1a1a;
}

[data-theme="light"] .create-project-section {
  background: #ffffff;
}

.create-project-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid #e1e5e9;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.create-project-header {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
  text-align: center;
}

.create-project-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.create-project-header h2 {
  margin: 0 0 12px 0;
  font-size: 2.2em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.create-project-header p {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .create-project-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .create-project-header h2 {
  color: #ffffff;
}

[data-theme="dark"] .create-project-header p {
  color: #b0b0b0;
}

[data-theme="dark"] .sample-projects-section h3 {
  color: #ffffff;
}

[data-theme="dark"] .sample-projects-section p {
  color: #b0b0b0;
}

[data-theme="dark"] .sample-project-card {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .sample-project-card:hover {
  background: #333;
  border-color: #667eea;
}

[data-theme="dark"] .sample-project-header h4 {
  color: #ffffff;
}

[data-theme="dark"] .project-description {
  color: #b0b0b0;
}

[data-theme="dark"] .project-bids h5 {
  color: #ffffff;
}

[data-theme="dark"] .bid-item {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .provider-name {
  color: #ffffff;
}

[data-theme="dark"] .bid-description {
  color: #b0b0b0;
}

[data-theme="dark"] .project-creation-flow h3 {
  color: #ffffff;
}

[data-theme="dark"] .creation-step {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .step-header h4 {
  color: #ffffff;
}

[data-theme="dark"] .scope-content {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .scope-option input[type="radio"]:checked + .scope-content {
  background: #2a2a2a;
  border-color: #667eea;
}

[data-theme="dark"] .scope-label {
  color: #ffffff;
}

[data-theme="dark"] .scope-description {
  color: #b0b0b0;
}

[data-theme="dark"] .category-content {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .category-option input[type="radio"]:checked + .category-content {
  background: #2a2a2a;
  border-color: #667eea;
}

[data-theme="dark"] .category-label {
  color: #ffffff;
}

[data-theme="dark"] .task-section {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .task-section h5 {
  color: #ffffff;
}

[data-theme="dark"] .task-item:hover {
  background: #2a2a2a;
}

[data-theme="dark"] .task-text {
  color: #ffffff;
}

[data-theme="dark"] .add-task-input input {
  background: #2a2a2a;
  border-color: #333;
  color: #ffffff;
}

[data-theme="dark"] .project-summary {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .summary-label {
  color: #b0b0b0;
}

[data-theme="dark"] .summary-value {
  color: #ffffff;
}

/* Sample Projects Section */
.sample-projects-section {
  padding: 32px;
  border-bottom: 1px solid #e9ecef;
}

.sample-projects-section h3 {
  margin: 0 0 8px 0;
  font-size: 1.4em;
  font-weight: 600;
  color: #333;
}

.sample-projects-section p {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 0.95em;
}

.sample-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.sample-project-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.sample-project-card:hover {
  background: #e9ecef;
  border-color: #667eea;
}

.sample-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.sample-project-header h4 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  flex: 1 1;
  margin-right: 12px;
}

.scope-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
  white-space: nowrap;
}

.scope-badge.needs {
  background: #e3f2fd;
  color: #1976d2;
}

.scope-badge.wants {
  background: #f3e5f5;
  color: #7b1fa2;
}

.project-description {
  margin: 0 0 16px 0;
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
}

.project-bids h5 {
  margin: 0 0 8px 0;
  font-size: 0.9em;
  font-weight: 600;
  color: #333;
}

.bid-item {
  background: white;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e9ecef;
}

.bid-provider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.provider-name {
  font-weight: 600;
  color: #333;
  font-size: 0.9em;
}

.bid-amount {
  color: #2d7a46;
  font-weight: 600;
  font-size: 0.9em;
}

.bid-description {
  color: #666;
  font-size: 0.85em;
  line-height: 1.3;
}

/* Project Creation Flow */
.project-creation-flow {
  padding: 32px;
}

.project-creation-flow h3 {
  margin: 0 0 24px 0;
  font-size: 1.4em;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.creation-step {
  margin-bottom: 32px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

.step-header h4 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
}

/* Enhanced Scope Options */
.scope-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.scope-option {
  display: block;
  cursor: pointer;
  position: relative;
}

.scope-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.scope-content {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-option input[type="radio"]:checked + .scope-content {
  border-color: #667eea;
  background: #f8f9ff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.scope-label {
  font-weight: 600;
  color: #333;
  font-size: 1.1em;
}

.scope-description {
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
}

.scope-budget {
  color: #2d7a46;
  font-weight: 600;
  font-size: 0.9em;
}

/* Category Options */
.category-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.category-option {
  display: block;
  cursor: pointer;
  position: relative;
}

.category-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.category-content {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.category-option input[type="radio"]:checked + .category-content {
  border-color: #667eea;
  background: #f8f9ff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.category-icon {
  font-size: 1.5em;
}

.category-label {
  font-weight: 500;
  color: #333;
  font-size: 0.9em;
}

/* Task Definition */
.task-definition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}

.task-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.task-section h5 {
  margin: 0 0 16px 0;
  font-size: 1em;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.task-item:hover {
  background: #f8f9fa;
}

.task-item input[type="checkbox"] {
  margin: 0;
}

.task-text {
  font-size: 0.9em;
  color: #333;
  line-height: 1.3;
}

.add-task-input {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.add-task-input input {
  flex: 1 1;
  padding: 8px 12px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.9em;
}

.add-task-input button {
  padding: 8px 12px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.add-task-input button:hover {
  background: #5a67d8;
}

/* Project Summary */
.project-summary {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.summary-label {
  font-weight: 500;
  color: #666;
}

.summary-value {
  font-weight: 600;
  color: #333;
}

.project-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.create-project-btn {
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 600;
}

.create-project-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

[data-theme="dark"] .activities-loading,
[data-theme="dark"] .activities-empty {
  color: #b0b0b0;
}

/* Dark Mode Theming for Services Categories Card */
[data-theme="dark"] .services-categories-card {
  background: #1a1a1a;
  border-color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="dark"] .service-category-item {
  background: #2a2a2a;
}

[data-theme="dark"] .service-category-item:hover {
  background: #333;
}

[data-theme="dark"] .service-category-title {
  color: #ffffff;
}

[data-theme="dark"] .service-category-tasks li {
  background: #333;
  color: #b0b0b0;
}

[data-theme="dark"] .services-categories-footer {
  background: #2a2a2a;
  border-color: #333;
}

[data-theme="dark"] .services-categories-footer a {
  color: #a8b4ff;
}

[data-theme="dark"] .services-categories-footer a:hover {
  color: #8b9aff;
}



/* Mobile Responsive Design */
@media (max-width: 768px) {
  .map-section {
    height: 80vh;
  }



  .zoom-status-indicator {
    font-size: 0.8em;
    padding: 6px 12px;
  }

  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .scroll-progress-container {
    width: 3px;
  }

  .floating-cards-container {
    top: 16px;
    left: 16px;
    max-width: 350px;
  }

  .floating-toggle-buttons {
    margin-bottom: 12px;
    padding: 6px;
  }

  .floating-toggle-btn {
    padding: 8px 12px;
    font-size: 0.8em;
  }

  .floating-activities-card,
  .floating-achievements-card {
    max-height: 400px;
  }

  .floating-activities-header,
  .floating-achievements-header {
    padding: 12px 16px;
  }

  .floating-activities-header h3,
  .floating-achievements-header h3 {
    font-size: 1.1em;
  }

  .floating-activities-content,
  .floating-achievements-content {
    padding: 12px 16px;
    max-height: 250px;
  }

  .info-section .container > div {
    padding: 0 16px;
  }

  .info-layout-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    min-height: auto;
  }

  .info-content-side {
    max-width: 100%;
    gap: 20px;
  }

  .info-map-side {
    height: 400px;
    position: static;
  }

  .info-map-side .map-placeholder {
    padding: 20px;
  }

  .info-map-side .map-message h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
  }

  .info-map-side .map-message p {
    font-size: 1em;
  }

  .info-toggle-buttons {
    margin-bottom: 16px;
  }

  .toggle-btn {
    padding: 10px 12px;
    font-size: 0.85em;
  }

  .info-grid-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stats-section .container > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-layout-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    min-height: auto;
  }

  .stats-content-side {
    max-width: 100%;
    gap: 20px;
  }

  .stats-map-side {
    height: 400px;
    position: static;
  }

  .stats-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    gap: 12px;
    width: 100%;
  }
  
  .stats-grid-card {
    padding: 16px;
    margin-bottom: 0;
  }
  
  .stats-grid-card h2 {
    font-size: 1.2em;
    margin-bottom: 12px;
  }
  
  .stats-grid {
    gap: 12px;
  }
  
  .stat-item {
    padding: 14px;
    min-height: 70px;
  }
  
  .stat-number {
    font-size: 1.6em;
    margin-bottom: 4px;
  }
  
  .stat-label {
    font-size: 0.75em;
  }
  
  .achievements-card,
  .activities-card,
  .top-tasks-card {
    max-height: 250px;
  }
  
  .achievements-header,
  .activities-header {
    padding: 12px 16px;
  }
  
  .achievements-header h3,
  .activities-header h3 {
    font-size: 1.1em;
  }
  
  .achievements-header p,
  .activities-header p {
    font-size: 0.8em;
  }
  
  .achievements-content,
  .activities-content {
    padding: 12px 16px;
    max-height: 200px;
  }
  
  .achievement-item,
  .activity-item {
    gap: 10px;
    padding: 10px;
  }
  
  .achievement-icon,
  .activity-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .achievement-text,
  .activity-text {
    font-size: 0.8em;
  }
  
  .achievement-meta,
  .activity-meta {
    font-size: 0.7em;
  }
  
  .achievements-footer,
  .activities-footer {
    padding: 12px 16px;
  }
  
  .achievements-footer a,
  .activities-footer a,
  .top-tasks-footer a {
    font-size: 0.85em;
  }
  
  .services-categories-card {
    max-height: 400px;
  }
  
  .services-categories-header {
    padding: 20px 16px;
  }
  
  .services-categories-header h3 {
    font-size: 1.2em;
  }
  
  .services-categories-header p {
    font-size: 0.8em;
  }
  
  .services-categories-content {
    padding: 16px;
    max-height: 250px;
  }
  
  .service-category-item {
    gap: 10px;
    padding: 10px;
  }
  
  .service-category-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .service-category-title {
    font-size: 0.85em;
  }
  
  .service-category-tasks li {
    font-size: 0.7em;
  }
  
  .services-categories-footer {
    padding: 12px 16px;
  }
  
  .services-categories-footer a {
    font-size: 0.8em;
  }

  .project-created-card {
    margin-top: 16px;
  }

  .project-created-header {
    padding: 20px 24px;
  }

  .project-created-header h3 {
    font-size: 1.3em;
  }

  .project-created-header p {
    font-size: 0.9em;
  }

  .project-created-content {
    padding: 20px 24px;
  }

  .project-scope-selection h4 {
    font-size: 1em;
  }

  .scope-option {
    padding: 12px;
  }

  .scope-label {
    font-size: 0.9em;
  }

  .scope-description {
    font-size: 0.85em;
  }

  .place-bid-btn {
    padding: 10px 24px;
    font-size: 0.9em;
  }

  .project-created-footer {
    padding: 12px 24px;
  }

  .project-created-footer a {
    font-size: 0.85em;
  }

  .create-project-section {
    padding: 40px 0;
  }

  .create-project-card {
    margin: 0 16px;
  }

  .create-project-header {
    padding: 24px 20px;
  }

  .create-project-header h2 {
    font-size: 1.8em;
  }

  .create-project-header p {
    font-size: 1em;
  }

  .sample-projects-section {
    padding: 20px;
  }

  .sample-projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-creation-flow {
    padding: 20px;
  }

  .creation-step {
    padding: 16px;
    margin-bottom: 24px;
  }

  .scope-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .task-definition {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .task-section {
    padding: 16px;
  }

  .project-actions {
    flex-direction: column;
    gap: 8px;
  }

  .create-project-btn {
    width: 100%;
  }

  /* Responsive styles for Create Project Modal */
  .create-project-modal-content {
    width: 98%;
    max-width: 95vw;
    max-height: 95vh;
    padding: 0 !important;
  }

  .create-project-modal-header {
    padding: 0;
    margin: -1px -1px 0 -1px;
  }

  .create-project-modal-header h2 {
    font-size: 1.5em;
    padding: 20px 16px 8px 16px;
  }

  .create-project-modal-header p {
    font-size: 1em;
    padding: 0 16px 20px 16px;
  }

  .create-project-modal-body {
    padding: 20px 16px;
  }

  .sample-projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scope-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .task-definition {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-actions {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .map-section {
    height: 70vh;
  }



  .zoom-status-indicator {
    font-size: 0.75em;
    padding: 4px 8px;
    top: 10px;
  }

  .scroll-to-top-btn {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .scroll-progress-container {
    width: 2px;
  }

  .floating-cards-container {
    top: 12px;
    left: 12px;
    max-width: 300px;
  }

  .floating-toggle-buttons {
    margin-bottom: 8px;
    padding: 4px;
  }

  .floating-toggle-btn {
    padding: 6px 10px;
    font-size: 0.75em;
  }

  .floating-activities-card,
  .floating-achievements-card {
    max-height: 350px;
  }

  .floating-activities-header,
  .floating-achievements-header {
    padding: 10px 14px;
  }

  .floating-activities-header h3,
  .floating-achievements-header h3 {
    font-size: 1em;
  }

  .floating-activities-content,
  .floating-achievements-content {
    padding: 10px 14px;
    max-height: 200px;
  }

  .floating-activity-item,
  .floating-achievement-item {
    padding: 4px;
  }

  .floating-activity-icon,
  .floating-achievement-icon {
    width: 20px;
    height: 20px;
    font-size: 0.7em;
  }

  .floating-activity-text,
  .floating-achievement-text {
    font-size: 0.8em;
  }

  .floating-activity-meta,
  .floating-achievement-meta {
    font-size: 0.7em;
  }

  .info-layout-container {
    padding: 0 16px;
    gap: 16px;
  }

  .info-content-side {
    gap: 16px;
  }

  .info-map-side {
    height: 350px;
  }

  .info-map-side .map-placeholder {
    padding: 16px;
  }

  .info-map-side .map-message h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
  }

  .info-map-side .map-message p {
    font-size: 0.9em;
  }

  .info-toggle-buttons {
    margin-bottom: 12px;
  }

  .toggle-btn {
    padding: 8px 10px;
    font-size: 0.8em;
  }

  .info-grid-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stats-section .container > div > div:first-child > div:last-child {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stats-layout-container {
    padding: 0 16px;
    gap: 16px;
  }
  
  .stats-content-side {
    gap: 16px;
  }
  
  .stats-map-side {
    height: 350px;
  }

  .stats-grid-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Modern Badge System */
.modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

/* Locked Field Styles */
.locked-field {
  background: #f5f5f5 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  position: relative;
  border: 1px solid #e0e0e0 !important;
}

.locked-field::before {
  content: '🔒';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.7;
  pointer-events: none;
}

.locked-field:hover {
  background: #f0f0f0 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Hidden elements when not editing */
.hidden-when-not-editing {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s ease;
  pointer-events: none;
}

.editing .hidden-when-not-editing {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

/* Profile image actions row */
.profile-image-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.profile-image-actions-row .btn {
  flex: 1 1;
  min-width: 80px;
  max-width: 120px;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.profile-image-actions-row .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive design for profile image actions */
@media (max-width: 480px) {
  .profile-image-actions-row {
    flex-direction: column;
    gap: 6px;
  }
  
  .profile-image-actions-row .btn {
    max-width: none;
    width: 100%;
  }
}

.modern-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Clickable role badges */
.role-item .modern-badge {
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-item .modern-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.role-item .modern-badge:active {
  transform: translateY(0);
}

/* Pulse animation for clickable role badges */
@keyframes roleBadgePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.role-item .modern-badge {
  animation: roleBadgePulse 2s ease-in-out 1s;
}

/* Telegram status indicator within role item */
.telegram-status-indicator {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.telegram-status-indicator .badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 12px;
}

.badge-secondary-modern {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  color: #666;
  border: 1px solid #d0d0d0;
}

.badge-warning-modern {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #f57c00;
  border: 1px solid #ffcc80;
}

.badge-info-modern {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1976d2;
  border: 1px solid #90caf9;
}

.badge-success-modern {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  color: #2d7a46;
  border: 1px solid #a5d6a7;
}

.badge-danger-modern {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  color: #d32f2f;
  border: 1px solid #ef9a9a;
}

.badge-premium-modern {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #7b1fa2;
  border: 1px solid #ce93d8;
}

.badge-vip-modern {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  color: #f57f17;
  border: 1px solid #ffd54f;
}

/* Role System Container */
.role-system-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.role-section {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

.role-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.role-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.role-section h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}

.role-item {
  position: relative;
  cursor: pointer;
}

.role-item:hover .role-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Role Tooltip */
.role-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #333;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 250px;
  text-align: center;
}

.role-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
}

.role-tooltip .tooltip-title {
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.role-tooltip .tooltip-description {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Role Agreement Content - Slides up within profile modal content */
.role-agreement-content {
  background: white;
  border-radius: 12px 12px 0 0;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  position: relative;
  margin-top: 20px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

.role-agreement-content.slide-up {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Collapse icon in role agreement header */
.role-agreement-header {
  position: relative;
  cursor: pointer;
}

.role-agreement-header .collapse-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #666;
}

.role-agreement-header .collapse-icon.collapsed {
  transform: translateY(-50%) rotate(180deg);
}

.role-agreement-header:hover .collapse-icon {
  color: #333;
}

.role-agreement-header {
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.role-agreement-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.role-agreement-body {
  padding: 0 24px 24px 24px;
}

.role-agreement-body h4 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
}

.role-agreement-body p {
  margin: 0 0 16px 0;
  line-height: 1.6;
  color: #6b7280;
}

.role-agreement-body ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.role-agreement-body li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #6b7280;
}

.role-agreement-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 0 0 16px 16px;
}

.role-agreement-actions button {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.role-agreement-actions .btn-primary {
  background: #3b82f6;
  color: white;
}

.role-agreement-actions .btn-primary:hover {
  background: #2563eb;
}

.role-agreement-actions .btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.role-agreement-actions .btn-secondary:hover {
  background: #e5e7eb;
}

/* Membership Upgrade Section */
.membership-upgrade-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #ce93d8;
  margin-top: 20px;
}

.membership-upgrade-section h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #7b1fa2;
}

.membership-upgrade-content {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.membership-upgrade-icon {
  font-size: 1.5rem;
  color: #7b1fa2;
}

.membership-upgrade-text {
  flex: 1 1;
  font-size: 0.9rem;
  color: #7b1fa2;
  line-height: 1.4;
}

.membership-upgrade-btn {
  background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.membership-upgrade-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

/* Dark theme support */
[data-theme="dark"] .role-section {
  background: #2d2d2d;
  border-color: #404040;
}

[data-theme="dark"] .role-section h4 {
  color: #ffffff;
}

[data-theme="dark"] .membership-upgrade-section {
  background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%);
  border-color: #7b1fa2;
}

[data-theme="dark"] .membership-upgrade-section h4,
[data-theme="dark"] .membership-upgrade-text {
  color: #ffffff;
}

[data-theme="dark"] .role-agreement-content {
  background: #2d2d2d;
  color: #ffffff;
}

[data-theme="dark"] .role-agreement-backdrop {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .role-agreement-header {
  border-bottom-color: #404040;
}

[data-theme="dark"] .role-agreement-header h3 {
  color: #ffffff;
}

[data-theme="dark"] .role-agreement-body h4 {
  color: #e5e7eb;
}

[data-theme="dark"] .role-agreement-body p,
[data-theme="dark"] .role-agreement-body li {
  color: #d1d5db;
}

[data-theme="dark"] .role-agreement-actions {
  background: #374151;
  border-top-color: #404040;
}

[data-theme="dark"] .role-agreement-actions .btn-secondary {
  background: #4b5563;
  color: #e5e7eb;
}

[data-theme="dark"] .role-agreement-actions .btn-secondary:hover {
  background: #6b7280;
}

/* Dark theme for locked fields */
[data-theme="dark"] .locked-field {
  background: #2d2d2d !important;
  color: #666 !important;
  border-color: #404040 !important;
}

[data-theme="dark"] .locked-field:hover {
  background: #333333 !important;
}

[data-theme="dark"] .locked-field::before {
  opacity: 0.5;
}

/* Dark theme for role agreement */
[data-theme="dark"] .role-agreement-content {
  background: #2d2d2d;
  color: #ffffff;
}

[data-theme="dark"] .role-agreement-header .collapse-icon {
  color: #999;
}

[data-theme="dark"] .role-agreement-header:hover .collapse-icon {
  color: #ffffff;
}

/* Dark theme for role section */
[data-theme="dark"] .role-section {
  background: #2d2d2d;
  border-color: #404040;
}

[data-theme="dark"] .role-section h4 {
  color: #ffffff;
}

[data-theme="dark"] .role-section-badge {
  background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%);
  color: #ffffff;
}

/* Bio Generator Styles */
.bio-generator-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-generator-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.bio-generator-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.no-bio-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: #666;
}

.add-bio-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-bio-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Bio Generator Modal */
.bio-generator-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  padding: 20px;
}

.bio-generator-content {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.3s ease-out;
}

.bio-generator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.bio-generator-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.bio-generator-body {
  padding: 0 24px 24px 24px;
}

.interest-selection h4,
.category-selection h4,
.skills-selection h4,
.bio-preview h4 {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.interest-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.interest-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interest-option:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

.interest-option input[type="radio"] {
  margin-top: 2px;
  accent-color: #667eea;
}

.interest-label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.interest-description {
  color: #666;
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
}

.category-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 24px;
}

.category-option,
.skill-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-option:hover,
.skill-option:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

.category-option input[type="checkbox"],
.skill-option input[type="checkbox"] {
  accent-color: #667eea;
}

.category-label,
.skill-label {
  font-size: 0.9rem;
  color: #333;
}

.bio-preview {
  margin-top: 24px;
  padding: 20px;
  background: #f8f9ff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.bio-preview-content {
  margin-bottom: 16px;
}

.bio-preview-content p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.bio-placeholder {
  color: #666;
  font-style: italic;
}

.bio-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.generate-btn,
.save-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.generate-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.generate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.generate-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.save-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

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

/* Dark theme for bio generator */
[data-theme="dark"] .bio-generator-content {
  background: #2d2d2d;
  color: #ffffff;
}

[data-theme="dark"] .bio-generator-header {
  border-bottom-color: #404040;
}

[data-theme="dark"] .bio-generator-header h3 {
  color: #ffffff;
}

[data-theme="dark"] .close-btn {
  color: #cccccc;
}

[data-theme="dark"] .close-btn:hover {
  background: #404040;
  color: #ffffff;
}

[data-theme="dark"] .interest-selection h4,
[data-theme="dark"] .category-selection h4,
[data-theme="dark"] .skills-selection h4,
[data-theme="dark"] .bio-preview h4 {
  color: #ffffff;
}

[data-theme="dark"] .interest-option {
  border-color: #404040;
  background: #333333;
}

[data-theme="dark"] .interest-option:hover {
  border-color: #667eea;
  background: #2a2a3a;
}

[data-theme="dark"] .interest-label {
  color: #ffffff;
}

[data-theme="dark"] .interest-description {
  color: #cccccc;
}

[data-theme="dark"] .category-option,
[data-theme="dark"] .skill-option {
  border-color: #404040;
  background: #333333;
}

[data-theme="dark"] .category-option:hover,
[data-theme="dark"] .skill-option:hover {
  border-color: #667eea;
  background: #2a2a3a;
}

[data-theme="dark"] .category-label,
[data-theme="dark"] .skill-label {
  color: #ffffff;
}

[data-theme="dark"] .bio-preview {
  background: #2a2a3a;
  border-color: #404040;
}

[data-theme="dark"] .bio-preview-content p {
  color: #ffffff;
}

[data-theme="dark"] .bio-placeholder {
  color: #cccccc;
}

/* How It Works Section - Improved with consistent styling */
.how-it-works-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.how-it-works-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e1e5e9;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.how-it-works-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.how-it-works-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 2s infinite;
}

.how-it-works-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.8em;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.how-it-works-header p {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.how-it-works-content {
  padding: 40px 24px;
}

.how-it-works-content .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.how-it-works-content .step {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
}

.how-it-works-content .step:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.how-it-works-content .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.how-it-works-content .step:hover .step-number {
  transform: scale(1.1);
}

.how-it-works-content .step h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.how-it-works-content .step p {
  color: #666;
  line-height: 1.5;  margin: 0;
  font-size: 0.95em;
}

/* Dark mode support for How It Works */
[data-theme="dark"] .how-it-works-section {
  background: #1a1a1a;
}

[data-theme="dark"] .how-it-works-card {
  background: #2d2d2d;
  border-color: #404040;
}

[data-theme="dark"] .how-it-works-content .step {
  background: #1a1a1a;
  border-color: #404040;
}

[data-theme="dark"] .how-it-works-content .step:hover {
  background: #333;
}

[data-theme="dark"] .how-it-works-content .step h3 {
  color: #ffffff;
}

[data-theme="dark"] .how-it-works-content .step p {
  color: #cccccc;
}
/* Mobile responsiveness for How It Works */
@media (max-width: 768px) {
  .how-it-works-section {
    padding: 40px 20px;
  }
  
  .how-it-works-header {
    padding: 20px 16px;
  }
  
  .how-it-works-header h2 {
    font-size: 1.5em;
  }
  
  .how-it-works-header p {
    font-size: 1em;
  }
  
  .how-it-works-content {
    padding: 24px 16px;
  }
  
  .how-it-works-content .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .how-it-works-content .step {
    padding: 20px;
  }
  
  .how-it-works-content .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.3em;
    margin-bottom: 16px;
  }
  
  .how-it-works-content .step h3 {
    font-size: 1.2em;
  }
}


/* Rating Display Styles */

.rating-new {
  color: #007bff;
  font-weight: 600;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rating-excellent {
  color: #28a745;
  font-weight: 600;
}

.rating-good {
  color: #17a2b8;
  font-weight: 600;
}

.rating-average {
  color: #ffc107;
  font-weight: 600;
}

.rating-poor {
  color: #dc3545;
  font-weight: 600;
}

/* Provider rating display */
.provider-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9em;
}

.provider-rating.rating-new {
  background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
  border: 1px solid #4caf50;
  color: #2e7d32;
}

/* Customer rating display */
.customer-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9em;
}

.customer-rating.rating-new {
  background: linear-gradient(135deg, #fff3e0, #ffcc02);
  border: 1px solid #ff9800;
  color: #e65100;
}

/* Rating tooltip styles */
.rating-tooltip {
  position: relative;
  cursor: help;
}

.rating-tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8em;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 5px;
}

.rating-tooltip:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
  margin-bottom: -5px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .rating-new {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: #90caf9;
    border: 1px solid #3f51b5;
  }
  
  .provider-rating.rating-new {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    border: 1px solid #4caf50;
    color: #81c784;
  }
  
  .customer-rating.rating-new {
    background: linear-gradient(135deg, #e65100, #f57c00);
    border: 1px solid #ff9800;
    color: #ffb74d;
  }
} 
.job-category-selector {
  width: 100%;
  margin: 16px 0;
}

.job-category-display {
  width: 100%;
  margin: 16px 0;
}

/* Header Section */
.selector-header {
  margin-bottom: 24px;
}

.selector-header h4 {
  margin: 0 0 6px 0;
  font-size: 1.3em;
  font-weight: 600;
  color: #1f2937;
}

.selector-header p {
  margin: 0 0 16px 0;
  color: #6b7280;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Category Stats */
.category-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.8em;
  font-weight: 700;
  color: #1f2937;
}

.stat-label {
  font-size: 0.8em;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
}

.stat-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-align: center;
}

.stat-badge[data-membership="premium"] {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.stat-badge[data-membership="free"] {
  background: #e5e7eb;
  color: #374151;
}

/* High Risk Warning */
.high-risk-warning {
  margin: 16px 0;
  padding: 16px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
}

.warning-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.warning-icon {
  font-size: 1.5em;
  flex-shrink: 0;
}

.warning-text strong {
  color: #92400e;
  display: block;
  margin-bottom: 4px;
}

.warning-text p {
  margin: 0;
  color: #78350f;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Search Section */
.search-section {
  margin-bottom: 24px;
}

.category-search {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1em;
  transition: border-color 0.2s ease;
}

.category-search:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Categories Grid */
.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.category-section:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Category Header */
.category-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-left: 4px solid #6366f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.category-header.clickable:hover {
  background: #f1f5f9;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon {
  font-size: 1.4em;
}

.category-name {
  font-size: 1.1em;
  font-weight: 600;
  color: #1f2937;
}

.subcategory-count {
  font-size: 0.85em;
  color: #6b7280;
  font-weight: 400;
}

.expand-icon {
  font-size: 0.8em;
  color: #6b7280;
  transition: transform 0.2s ease;
}

.expand-icon.expanded {
  transform: rotate(180deg);
}

/* Subcategories List */
.subcategories-list {
  background: white;
  border-top: 1px solid #e5e7eb;
}

.subcategory-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

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

.subcategory-item:hover {
  background: #f8fafc;
}

.subcategory-item.selected {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
}

.subcategory-main {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-wrapper {
  flex-shrink: 0;
  margin-top: 2px;
}

.subcategory-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.subcategory-content {
  flex: 1 1;
  min-width: 0;
}

.subcategory-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.subcategory-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 1em;
}

.subcategory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.certification-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #f59e0b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.background-check-badge {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #22c55e;
}

.insurance-badge {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #6366f1;
}

.certification-details {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
}

.certification-details h5 {
  margin: 0 0 12px 0;
  color: #166534;
  font-size: 0.9em;
  font-weight: 600;
}

.certification-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.certification-list.optional {
  margin-bottom: 16px;
}

.certification-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: #166534;
  font-size: 0.85em;
  line-height: 1.4;
}

.certification-item.optional {
  color: #6b7280;
}

.cert-icon {
  font-size: 0.9em;
  flex-shrink: 0;
}

.wellness-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #f59e0b;
  margin-top: 12px;
}

.wellness-notice h5 {
  margin: 0 0 8px 0;
  color: #92400e;
  font-size: 0.85em;
  font-weight: 600;
}

.standards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.standards-list li {
  color: #92400e;
  font-size: 0.8em;
  line-height: 1.3;
  margin-bottom: 4px;
}

.standards-list li:last-child {
  margin-bottom: 0;
}

/* Enhanced subcategory item for wellness services */
.subcategory-item:has(.certification-details) {
  border: 2px solid #bbf7d0;
}

.subcategory-item:has(.certification-details).selected {
  border-color: #22c55e;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.risk-badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
}

.risk-badge.low {
  background: #d1fae5;
  color: #065f46;
}

.risk-badge.medium {
  background: #fed7aa;
  color: #9a3412;
}

.risk-badge.high {
  background: #fee2e2;
  color: #991b1b;
}

.premium-required {
  background: #fbbf24;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7em;
  font-weight: 600;
}

.subcategory-description {
  color: #6b7280;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Risk Level Styling */
.subcategory-item.high {
  border-left: 3px solid transparent;
}

.subcategory-item.high.selected {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.subcategory-item.medium.selected {
  border-left-color: #d97706;
  background: #fffbeb;
}

.subcategory-item.low.selected {
  border-left-color: #059669;
  background: #f0fdf4;
}

/* Selected Summary */
.selected-summary {
  margin-top: 24px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.selected-summary h5 {
  margin: 0 0 12px 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #1f2937;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selected-tag:hover {
  background: #fee2e2;
  border-color: #dc2626;
}

.selected-tag.high {
  border-color: #dc2626;
  background: #fef2f2;
}

.selected-tag.medium {
  border-color: #d97706;
  background: #fffbeb;
}

.selected-tag.low {
  border-color: #059669;
  background: #f0fdf4;
}

.remove-tag {
  font-size: 1.2em;
  color: #6b7280;
  margin-left: 4px;
}

.remove-tag:hover {
  color: #dc2626;
}

/* Display Mode (Read-only) */
.no-categories {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.empty-icon {
  font-size: 2em;
  opacity: 0.5;
}

.selected-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 16px;
}

.category-display-card {
  padding: 16px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.category-display-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.category-display-card.high {
  border-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 50%);
}

.category-display-card.medium {
  border-color: #d97706;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%);
}

.category-display-card.low {
  border-color: #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%);
}

.category-display-card .category-header {
  background: none;
  padding: 0;
  border: none;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  cursor: default;
}

.category-display-card .category-name {
  font-size: 1em;
}

.category-display-card .category-description {
  font-size: 0.85em;
  color: #6b7280;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-stats {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .subcategory-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .subcategory-badges {
    align-self: flex-start;
  }

  .selected-categories-grid {
    grid-template-columns: 1fr;
  }
  
  .warning-content {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .category-header {
    padding: 12px 16px;
  }

  .subcategory-item {
    padding: 12px 16px;
  }

  .selected-summary {
    padding: 16px;
  }

  .category-title {
    gap: 8px;
  }

  .category-icon {
    font-size: 1.2em;
  }

  .category-name {
    font-size: 1em;
  }
} 

/* Responsive design for badges */
@media (max-width: 768px) {
  .subcategory-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .certification-badge,
  .background-check-badge,
  .insurance-badge {
    font-size: 0.7em;
    padding: 3px 6px;
  }
  
  .certification-details {
    padding: 12px;
  }
  
  .wellness-notice {
    padding: 8px;
  }
} 
:root {
  --re-bg: #ffffff;
  --re-surface: #f7f7f9;
  --re-elev: #ffffff;
  --re-text: #0b1220;
  --re-muted: #6b7280;
  --re-border: #e5e7eb;
  --re-primary: #3b82f6;
  --re-primary-contrast: #ffffff;
  --re-accent: #10b981;
  --re-chip-bg: #eef2ff;
  --re-chip-active: #3b82f6;
  --re-chip-text: #1f2937;
}

.re-theme-dark {
  --re-bg: #0f172a;
  --re-surface: #121826;
  --re-elev: #0b1220;
  --re-text: #e5e7eb;
  --re-muted: #9ca3af;
  --re-border: #1f2937;
  --re-primary: #60a5fa;
  --re-primary-contrast: #0b1220;
  --re-accent: #34d399;
  --re-chip-bg: #0b1220;
  --re-chip-active: #60a5fa;
  --re-chip-text: #d1d5db;
}



/* Drawer */
.re-drawer {
  position: absolute;
  /* Offset below floating toggle buttons so tabs remain clickable */
  top: 96px;
  left: 20px;
  bottom: 10px;
  width: 400px;
  background: #ffffff;
  background: var(--re-elev);
  color: #0b1220;
  color: var(--re-text);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
  /* Keep below the tab control (z-index ~2200 in MapView) */
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

/* Make drawer visually match floating cards (glass, border, shadow) */
.re-drawer.re-theme-dark {
  background: rgba(42, 42, 42, 0.95);
  border: 1px solid rgba(51, 51, 51, 0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.re-drawer.re-theme-light {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(225, 229, 233, 0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* Match floating container widths at breakpoints */
@media (max-width: 768px) {
  .re-drawer { width: 350px; left: 16px; }
}

@media (max-width: 480px) {
  .re-drawer { width: 300px; left: 12px; }
}

.re-drawer__header {
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
  border-bottom: 1px solid var(--re-border);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}
.re-drawer__title { font-weight: 700; }
.re-drawer__subtitle { opacity: 0.9; font-size: 12px; margin-top: 2px; color: #ffffff; }

.re-drawer__sections { padding: 12px; display: grid; grid-gap: 12px; gap: 12px; overflow-y: auto; }

.re-section__label { font-size: 12px; font-weight: 600; margin-bottom: 6px; color: #6b7280; color: var(--re-muted); }

.re-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.re-chip {
  border: 1px solid #e5e7eb;
  border: 1px solid var(--re-border);
  background: #eef2ff;
  background: var(--re-chip-bg);
  color: #1f2937;
  color: var(--re-chip-text);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
}
.re-chip.active { background: #3b82f6; background: var(--re-chip-active); color: #ffffff; color: var(--re-primary-contrast); border-color: #3b82f6; border-color: var(--re-chip-active); }

.re-input-row { display: flex; gap: 8px; }
.re-input {
  width: 50%;
  background: #f7f7f9;
  background: var(--re-surface);
  color: #0b1220;
  color: var(--re-text);
  border: 1px solid #e5e7eb;
  border: 1px solid var(--re-border);
  padding: 8px 10px;
  border-radius: 8px;
}

.re-range { width: 100%; }
.re-hint { font-size: 12px; color: #6b7280; color: var(--re-muted); margin-top: 4px; }

.re-checkboxes { display: flex; gap: 10px; flex-wrap: wrap; }
.re-checkbox { display: flex; align-items: center; gap: 6px; font-size: 13px; }

.re-select {
  width: 100%;
  background: #f7f7f9;
  background: var(--re-surface);
  color: #0b1220;
  color: var(--re-text);
  border: 1px solid #e5e7eb;
  border: 1px solid var(--re-border);
  padding: 8px 10px;
  border-radius: 8px;
}

.re-results__header { font-weight: 700; padding: 12px 18px 6px; }
.re-results {
  overflow-y: auto;
  padding: 0 18px 16px;
  height: 100%;
}

.re-result-item {
  display: flex;
  gap: 8px;
  padding: 6px;
  /* Match floating-activity-item look */
  border: none;
  background: #f8f9fa;
  border-radius: 6px;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.re-result-item:hover { background: #e9ecef; transform: translateX(2px); box-shadow: none; }

/* Constrain to drawer to avoid impacting other uses */
.re-drawer .re-result-item { background: #f8f9fa; }
.re-drawer .re-result-item:hover { background: #e9ecef; }

/* Dark theme variant to mirror floating-activity-item */
.re-drawer.re-theme-dark .re-result-item { background: #333; }
.re-drawer.re-theme-dark .re-result-item:hover { background: #444; }

/* Selected state - button-like active style */
.re-drawer .re-result-item.selected {
  background: #3b82f6;
  color: #ffffff;
  transform: none;
}
.re-drawer .re-result-item.selected .re-result-title,
.re-drawer .re-result-item.selected .re-result-meta,
.re-drawer .re-result-item.selected .re-result-muted {
  color: #ffffff;
}
.re-drawer .re-result-item.selected:hover {
  background: #2563eb; /* slightly darker on hover */
}

/* Selected state - dark theme */
.re-drawer.re-theme-dark .re-result-item.selected {
  background: #2563eb;
  color: #ffffff;
}
.re-drawer.re-theme-dark .re-result-item.selected:hover {
  background: #1d4ed8;
}

.re-result-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #f7f7f9; background: var(--re-surface); display:flex; align-items:center; justify-content:center; }
.re-result-thumb img { width: 100%; height: 100%; object-fit: cover; display:block; }
.re-result-thumb__placeholder { font-size: 20px; }

.re-result-body { flex: 1 1; min-width: 0; }
.re-result-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-result-meta { font-size: 12px; color: #0b1220; color: var(--re-text); }
.re-result-muted { font-size: 12px; color: #6b7280; color: var(--re-muted); }
.re-empty { color: #6b7280; color: var(--re-muted); font-size: 13px; padding: 8px 0; }

/* Detail Card */
.re-card {
  position: absolute; /* keep within map-view container */
  right: 10px;
  top: 10px;
  width: 360px;
  background: #ffffff;
  background: var(--re-elev);
  color: #0b1220;
  color: var(--re-text);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 2100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Keep within map area (container) and support internal scrolling.
     10px top/bottom spacing within the map container */
  max-height: calc(100% - 20px);
  overscroll-behavior: contain;
}
.re-card__header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; border-bottom: 1px solid var(--re-border); }
.re-card__title { font-weight: 700; }
.re-close { background: transparent; color: #0b1220; color: var(--re-text); border: 1px solid #e5e7eb; border: 1px solid var(--re-border); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.re-card__media { height: 180px; overflow: hidden; }
.re-card__media img { width: 100%; height: 100%; object-fit: cover; display:block; }
.re-card__body {
  /* Make body scrollable while header/media remain fixed */
  padding: 16px;
  padding-top: 18px;   /* upper padding for readability */
  padding-bottom: 28px; /* lower padding for readability */
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Stretch animation support */
  --stretch-y: 0px;
  transform: translateY(var(--stretch-y));
  transition: transform 180ms ease-out;
  will-change: transform;
}
.re-card__headline { font-weight: 700; }
.re-card__price { font-weight: 800; color: #10b981; color: var(--re-accent); }
.re-card__meta { font-size: 13px; }
.re-card__muted { font-size: 12px; color: #6b7280; color: var(--re-muted); }

.re-actions { display: flex; gap: 8px; margin-top: 6px; }
.re-btn { border: 1px solid #e5e7eb; border: 1px solid var(--re-border); background: #f7f7f9; background: var(--re-surface); color: #0b1220; color: var(--re-text); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-weight: 700; }
.re-btn--primary { background: #3b82f6; background: var(--re-primary); color: #ffffff; color: var(--re-primary-contrast); border-color: #3b82f6; border-color: var(--re-primary); }
.re-btn--ghost { background: transparent; }

.avatar-marker {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1f2937;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.avatar-marker .avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #374151;
}
.avatar-marker .avatar-image img { width: 100%; height: 100%; object-fit: cover; }
.avatar-marker .avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid #111827;
}



.create-task-card .card {
  max-width: 560px;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

.create-task-card .card-body {
  max-height: 64vh; /* taller to avoid truncation in map modal */
  overflow-y: auto;
}

/* Inputs themed to Real Estate tokens */
.create-task-card .form-input,
.create-task-card .form-textarea,
.create-task-card select.form-input {
  background: var(--re-surface);
  color: var(--re-text);
  border: 1px solid var(--re-border);
}

.create-task-card .form-input::placeholder,
.create-task-card .form-textarea::placeholder {
  color: var(--re-muted);
  opacity: 0.85;
}

/* Prevent long placeholder/text overflow */
.create-task-card input[type="text"],
.create-task-card input[type="number"],
.create-task-card input[type="datetime-local"] {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.create-task-card textarea.form-textarea {
  overflow: auto;
  word-break: break-word;
}

/* Layout resiliency on narrow widths */
.create-task-card .form-row {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .create-task-card .form-row {
    grid-template-columns: 1fr;
  }
}

/* Selected location info uses theme tokens */
.create-task-card .selected-location-info {
  background: var(--re-surface);
  color: var(--re-text);
  border: 1px solid var(--re-border);
}



.task-detail-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background 0.18s, color 0.18s;
}
.task-detail-close-btn:hover {
  background: #f0f0f0;
  color: #d32f2f;
}

.task-detail-card-root {
  position: relative;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 0 0 24px 0;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(225,229,233,0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-sizing: border-box;
}
.task-detail-image-section {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background: #f5f7fa;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.task-detail-image-wrapper {
  flex: 1 1;
  min-width: 220px;
  max-width: 320px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
}
.task-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 0;
}
.task-detail-image-placeholder {
  color: #aaa;
  font-size: 1.1em;
}
.task-detail-title-section {
  flex: 2 1;
  padding: 28px 24px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.task-detail-title {
  font-size: 18px;
  font-weight: 800;
  color: #0b1220;
  margin-bottom: 4px;
}
.task-detail-category-badge {
  display: inline-block;
  background: #e8f5e8;
  color: #2d7a46;
  font-size: 0.98em;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 12px;
  margin-bottom: 8px;
}
.task-detail-price {
  font-size: 16px;
  font-weight: 800;
  color: #10b981;
  margin-top: 6px;
}
.task-detail-info-section {
  padding: 28px 36px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.task-detail-desc {
  color: #1f2937;
  font-size: 14px;
  margin-bottom: 8px;
}
.task-detail-details-row {
  display: flex;
  gap: 32px;
  font-size: 1em;
  color: #555;
  margin-bottom: 2px;
}
.task-detail-details-row > div {
  min-width: 120px;
}
.task-detail-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 36px 0 36px;
  margin-top: 8px;
}
.task-detail-actions .btn {
  min-width: 120px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 0;
}
.task-detail-bids-section {
  margin-top: 28px;
  padding: 0 36px;
}
.bids-title {
  font-weight: 600;
  color: #2d7a46;
  margin-bottom: 8px;
}
.bids-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bid-item {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 1em;
}
.bid-amount {
  color: #256b3c;
  font-weight: 600;
  min-width: 80px;
}
.bid-provider {
  color: #2d7a46;
  font-weight: 500;
  min-width: 120px;
}
.bid-date {
  color: #888;
  font-size: 0.98em;
}
.no-bids {
  color: #888;
  font-size: 1em;
  margin-top: 8px;
}
.task-detail-posted-by {
  display: flex;
  align-items: center;
  gap: 8px;
}
.posted-by-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #256b3c;
  font-weight: 600;
  gap: 8px;
}
.posted-by-link:hover .posted-by-name {
  text-decoration: underline;
}
.posted-by-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  margin-right: 6px;
}
.posted-by-name {
  font-size: 1em;
  color: #256b3c;
}
.task-detail-posted-by-standalone {
  margin-left: 36px;
  margin-top: 16px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
@media (max-width: 700px) {
  .task-detail-card-root {
    max-width: 100vw;
    padding: 0 0 24px 0;
  }
  .task-detail-info-section, .task-detail-actions, .task-detail-bids-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .task-detail-title-section {
    padding: 20px 16px 0 16px;
  }
  .task-detail-posted-by-standalone {
    margin-left: 20px;
    margin-top: 12px;
  }
}

/* Profile-related styles */
.posted-by-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.posted-by-avatar.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.posted-by-avatar.clickable:hover {
  transform: scale(1.1);
  border-color: #ff6b9d;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.view-profile-btn {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.view-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
} 
/* Enhanced Authentication Modal Styles */
.enhanced-auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.enhanced-auth-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 32px;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.auth-header p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #f5f5f5;
  color: #666;
}

.close-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Provider Buttons */
.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  background: white;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.auth-provider-btn:hover {
  border-color: #4285F4;
  border-color: var(--provider-color, #4285F4);
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.auth-provider-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-provider-btn.loading {
  background: #f8f9fa;
  border-color: #4285F4;
  border-color: var(--provider-color, #4285F4);
}

.provider-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.provider-name {
  flex: 1 1;
  text-align: left;
}

/* Loading Spinner */
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #4285F4;
  border-top: 2px solid var(--provider-color, #4285F4);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-spinner.large {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

/* Divider */
.divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e5e9;
}

.divider span {
  background: white;
  padding: 0 16px;
  color: #666;
  font-size: 14px;
}

/* Email Password Form */
.email-password-section {
  margin-bottom: 24px;
}

.email-password-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #4285F4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-group input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.sign-in-btn {
  background: #4285F4;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sign-in-btn:hover {
  background: #3367d6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.sign-in-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.forgot-password-link {
  background: none;
  border: none;
  color: #4285F4;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: underline;
}

.forgot-password-link:hover {
  color: #3367d6;
}

.forgot-password-link:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Password Reset */
.password-reset-section {
  text-align: center;
}

.password-reset-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.password-reset-section p {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reset-btn {
  background: #4285F4;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reset-btn:hover {
  background: #3367d6;
}

.reset-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.back-btn {
  background: #f5f5f5;
  color: #666;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: #e5e5e5;
}

.back-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.reset-sent {
  padding: 24px;
  background: #f0f8ff;
  border-radius: 12px;
  border: 1px solid #d1e7ff;
}

.reset-sent p {
  color: #1a1a1a;
  margin-bottom: 16px;
}

.back-to-signin {
  background: #4285F4;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-to-signin:hover {
  background: #3367d6;
}

/* Sign Up Section */
.sign-up-section {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e5e9;
}

.sign-up-section p {
  color: #666;
  margin: 0;
}

.sign-up-link {
  background: none;
  border: none;
  color: #4285F4;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.sign-up-link:hover {
  color: #3367d6;
}

/* Messages */
.error-message,
.success-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.success-message {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.error-icon,
.success-icon {
  font-size: 16px;
}

/* Redirecting */
.redirecting {
  text-align: center;
  padding: 40px 20px;
}

.redirecting p {
  margin-top: 16px;
  color: #666;
  font-size: 16px;
}

/* Footer */
.auth-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e5e9;
  text-align: center;
}

.terms {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  margin: 0;
}

.terms a {
  color: #4285F4;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Responsive Design */
@media (max-width: 480px) {
  .enhanced-auth-modal {
    padding: 24px;
    margin: 16px;
    width: calc(100% - 32px);
  }
  
  .auth-header h2 {
    font-size: 24px;
  }
  
  .auth-header p {
    font-size: 14px;
  }
  
  .auth-provider-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .sign-in-btn,
  .reset-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .enhanced-auth-modal {
    background: #1a1a1a;
    color: #fff;
  }
  
  .auth-header h2 {
    color: #fff;
  }
  
  .auth-header p {
    color: #ccc;
  }
  
  .auth-provider-btn {
    background: #2a2a2a;
    border-color: #404040;
    color: #fff;
  }
  
  .auth-provider-btn:hover {
    background: #333;
    border-color: #4285F4;
    border-color: var(--provider-color, #4285F4);
  }
  
  .form-group input {
    background: #2a2a2a;
    border-color: #404040;
    color: #fff;
  }
  
  .form-group input:focus {
    border-color: #4285F4;
  }
  
  .form-group input:disabled {
    background: #333;
  }
  
  .divider::before {
    background: #404040;
  }
  
  .divider span {
    background: #1a1a1a;
    color: #ccc;
  }
  
  .back-btn {
    background: #333;
    color: #ccc;
  }
  
  .back-btn:hover {
    background: #404040;
  }
  
  .sign-up-section {
    border-top-color: #404040;
  }
  
  .sign-up-section p {
    color: #ccc;
  }
  
  .auth-footer {
    border-top-color: #404040;
  }
  
  .terms {
    color: #999;
  }
  
  .close-btn {
    color: #ccc;
  }
  
  .close-btn:hover {
    background: #333;
    color: #fff;
  }
} 
/* LocationPicker Component Styles */

.location-picker {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.map-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Google Maps Controls Styling */
.map-container .mapboxgl-ctrl-group {
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.map-container .mapboxgl-ctrl-zoom-in,
.map-container .mapboxgl-ctrl-zoom-out {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #2d3748 !important;
  font-weight: bold !important;
}

.map-container .mapboxgl-ctrl-zoom-in:hover,
.map-container .mapboxgl-ctrl-zoom-out:hover {
  background-color: rgba(255, 255, 255, 1) !important;
  color: #1a202c !important;
}

/* Dark mode map controls */
[data-theme="dark"] .map-container .mapboxgl-ctrl-zoom-in,
[data-theme="dark"] .map-container .mapboxgl-ctrl-zoom-out {
  background-color: rgba(45, 55, 72, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

[data-theme="dark"] .map-container .mapboxgl-ctrl-zoom-in:hover,
[data-theme="dark"] .map-container .mapboxgl-ctrl-zoom-out:hover {
  background-color: rgba(45, 55, 72, 1) !important;
  color: #e2e8f0 !important;
}

/* Current Location Button */
.location-picker button[type="button"] {
  transition: all 0.2s ease;
  font-weight: 500;
}

.location-picker button[type="button"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-picker button[type="button"]:active:not(:disabled) {
  transform: translateY(0);
}

/* Autocomplete Suggestions */
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .autocomplete-suggestions {
  background: #2d3748;
  border-color: #4a5568;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.suggestion-item {
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid #f7fafc;
  transition: background-color 0.2s ease;
}

[data-theme="dark"] .suggestion-item {
  border-bottom-color: #4a5568;
}

.suggestion-item:hover {
  background-color: #f7fafc;
}

[data-theme="dark"] .suggestion-item:hover {
  background-color: #4a5568;
}

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

.suggestion-main {
  font-weight: 500;
  color: #2d3748;
  margin-bottom: 2px;
}

[data-theme="dark"] .suggestion-main {
  color: white;
}

.suggestion-secondary {
  font-size: 12px;
  color: #718096;
}

[data-theme="dark"] .suggestion-secondary {
  color: #a0aec0;
}

/* Loading Spinner */
.loading-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e2e8f0;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Address Input Container */
.address-autocomplete {
  position: relative;
  margin-bottom: 12px;
}

/* Location Details */
.location-details {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .location-details {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
}

.location-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.location-icon {
  font-size: 16px;
}

.location-address {
  font-weight: 500;
  font-size: 14px;
}

.coordinates {
  font-size: 12px;
  color: #718096;
}

[data-theme="dark"] .coordinates {
  color: #a0aec0;
}

.coordinate-label {
  font-weight: 500;
}

/* Instructions */
.location-instructions {
  margin-top: 12px;
  font-size: 12px;
  color: #718096;
  text-align: center;
  font-style: italic;
}

[data-theme="dark"] .location-instructions {
  color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .location-picker button[type="button"] {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .suggestion-item {
    padding: 10px;
  }
  
  .location-details {
    padding: 10px;
  }
  
  .location-address {
    font-size: 13px;
  }
  
  .coordinates {
    font-size: 11px;
  }
} 
.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom,.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-left,.mapboxgl-ctrl-right,.mapboxgl-ctrl-top,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top{left:50%;top:0;transform:translateX(-50%)}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-right{right:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl-bottom{bottom:0;left:50%;transform:translateX(-50%)}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-left{left:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.mapboxgl-ctrl-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-bottom .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl,.mapboxgl-ctrl-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;background-color:initial;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent;background-color:initial}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z%27/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z%27/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z%27/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z%27/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z%27/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z%27/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10.5 14l4-8 4 8h-8z%27/%3E%3Cpath id=%27south%27 d=%27M10.5 16l4 8 4-8h-8z%27 fill=%27%23ccc%27/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10.5 14l4-8 4 8h-8z%27/%3E%3Cpath id=%27south%27 d=%27M10.5 16l4 8 4-8h-8z%27 fill=%27%23999%27/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M10.5 14l4-8 4 8h-8z%27/%3E%3Cpath id=%27south%27 d=%27M10.5 16l4 8 4-8h-8z%27 fill=%27%23ccc%27/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23333%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23aaa%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 fill=%27%23f00%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%2333b5e5%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23e58978%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%2333b5e5%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27 display=%27none%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23e54e33%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27 display=%27none%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23999%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 fill=%27%23f00%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%2333b5e5%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23e58978%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%2333b5e5%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27 display=%27none%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23e54e33%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27 display=%27none%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23000%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 display=%27none%27/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23666%27%3E%3Cpath d=%27M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z%27/%3E%3Ccircle id=%27dot%27 cx=%2710%27 cy=%2710%27 r=%272%27/%3E%3Cpath id=%27stroke%27 d=%27M14 5l1 1-9 9-1-1 9-9z%27 fill=%27%23f00%27/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 fill-rule=%27evenodd%27 viewBox=%270 0 88 23%27%3E%3Cdefs%3E%3Cpath id=%27logo%27 d=%27M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z%27/%3E%3Cpath id=%27text%27 d=%27M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z%27/%3E%3C/defs%3E%3Cmask id=%27clip%27%3E%3Crect x=%270%27 y=%270%27 width=%27100%25%27 height=%27100%25%27 fill=%27white%27/%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/mask%3E%3Cg id=%27outline%27 opacity=%270.3%27 stroke=%27%23000%27 stroke-width=%273%27%3E%3Ccircle mask=%27url%28%23clip%29%27 cx=%2711.5%27 cy=%2711.5%27 r=%279.25%27/%3E%3Cuse xlink:href=%27%23text%27 mask=%27url%28%23clip%29%27/%3E%3C/g%3E%3Cg id=%27fill%27 opacity=%270.9%27 fill=%27%23fff%27%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-color:initial;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 fill-rule=%27evenodd%27 viewBox=%270 0 88 23%27%3E%3Cdefs%3E%3Cpath id=%27logo%27 d=%27M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z%27/%3E%3Cpath id=%27text%27 d=%27M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z%27/%3E%3C/defs%3E%3Cmask id=%27clip%27%3E%3Crect x=%270%27 y=%270%27 width=%27100%25%27 height=%27100%25%27 fill=%27white%27/%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/mask%3E%3Cg id=%27outline%27 opacity=%271%27 stroke=%27%23000%27 stroke-width=%273%27%3E%3Ccircle mask=%27url%28%23clip%29%27 cx=%2711.5%27 cy=%2711.5%27 r=%279.25%27/%3E%3Cuse xlink:href=%27%23text%27 mask=%27url%28%23clip%29%27/%3E%3C/g%3E%3Cg id=%27fill%27 opacity=%271%27 fill=%27%23fff%27%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 fill-rule=%27evenodd%27 viewBox=%270 0 88 23%27%3E%3Cdefs%3E%3Cpath id=%27logo%27 d=%27M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z%27/%3E%3Cpath id=%27text%27 d=%27M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z%27/%3E%3C/defs%3E%3Cmask id=%27clip%27%3E%3Crect x=%270%27 y=%270%27 width=%27100%25%27 height=%27100%25%27 fill=%27white%27/%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/mask%3E%3Cg id=%27outline%27 opacity=%271%27 stroke=%27%23fff%27 stroke-width=%273%27 fill=%27%23fff%27%3E%3Ccircle mask=%27url%28%23clip%29%27 cx=%2711.5%27 cy=%2711.5%27 r=%279.25%27/%3E%3Cuse xlink:href=%27%23text%27 mask=%27url%28%23clip%29%27/%3E%3C/g%3E%3Cg id=%27fill%27 opacity=%271%27 fill=%27%23000%27%3E%3Cuse xlink:href=%27%23logo%27/%3E%3Cuse xlink:href=%27%23text%27/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;box-sizing:initial;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill-rule=%27evenodd%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill-rule=%27evenodd%27 fill=%27%23fff%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 20 20%27 xmlns=%27http://www.w3.org/2000/svg%27 fill-rule=%27evenodd%27%3E%3Cpath d=%27M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0%27/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid #0000;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;background-color:initial;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid #0000;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid #0000;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button{background-color:#fff;border:1px solid #ccc;border-radius:4px;color:#333;cursor:pointer;font-size:12px;height:auto;line-height:1.5;margin:2px;padding:5px 10px;width:auto}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:hover{background-color:#f0f0f0}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button-selected{background-color:#4264fb;border-color:#4264fb;color:#fff}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button-selected:hover{background-color:#3151d9}
/* Enhanced Task Marker Styles */
.task-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.task-marker:hover {
  transform: scale(1.2) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.task-marker.selected {
  transform: scale(1.3) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border-color: #ffd700;
  z-index: 1001;
  animation: selectedMarkerGlow 2s ease-in-out infinite;
}

@keyframes selectedMarkerGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  }
}

.task-marker.animating {
  animation: markerPulse 0.8s ease-in-out;
}

@keyframes markerPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1.2);
  }
}

/* Pulse animation for mapbox markers */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.task-marker:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s ease;
}

.marker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.urgent-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.3);
  animation: urgentPulse 2s infinite;
  pointer-events: none;
}

@keyframes urgentPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Task Popup Styles */
.task-popup {
  padding: 0;
  max-width: 300px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.popup-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  flex: 1 1;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.open {
  background: #e3f2fd;
  color: #1976d2;
}

.status-badge.accepted {
  background: #e8f5e8;
  color: #2e7d32;
}

.status-badge.in-progress {
  background: #fff3e0;
  color: #f57c00;
}

.status-badge.completed {
  background: #e8f5e8;
  color: #2e7d32;
}

.popup-content {
  font-size: 14px;
}

.popup-price {
  font-size: 18px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 12px;
}

.popup-details {
  margin-bottom: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
}

.detail-label {
  color: #666;
  font-weight: 500;
}

.detail-value {
  color: #2c3e50;
  font-weight: 600;
}

.risk-high {
  color: #d32f2f;
}

.risk-medium {
  color: #f57c00;
}

.risk-low {
  color: #388e3c;
}

.popup-highlight {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: #856404;
  font-weight: 600;
}

/* Map Controls */
.map-controls-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.map-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.control-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  color: #2c3e50;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.control-btn.active {
  background: #667eea;
  color: white;
}

.control-btn:active {
  transform: scale(0.95);
}

/* Map Legend */
.map-legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 1000;
  min-width: 200px;
}

.legend-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 14px;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}

.legend-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend-marker.urgent {
  background: #ff6b6b;
}

.legend-marker.high-payout {
  background: #feca57;
}

.legend-marker.in-progress {
  background: #4ecdc4;
}

.legend-marker.normal {
  background: #667eea;
}

/* Map Container */
.mapbox-map-container {
  position: relative;
  width: 80%;
  height: 100vh;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-left: 10%;
  margin-right: 10%;
}

/* Map Container for Dashboard Layout */
.map-section .mapbox-map-container {
  height: 100vh;
  border-radius: 0;
  box-shadow: none;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}

/* Stats Panel - Top Left */
.map-stats-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px;
  min-width: 280px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.stats-header h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.stat-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.stat-label {
  flex: 1 1;
  font-weight: 500;
}

.stat-value {
  font-weight: 600;
  color: #2c3e50;
  background: rgba(102, 126, 234, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  min-width: 24px;
  text-align: center;
}

/* Category Filter */
.category-filter {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
}

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.category-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: white;
  font-size: 13px;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-select:hover {
  border-color: #667eea;
}

.category-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.category-select option {
  padding: 8px;
  font-size: 13px;
}

.mapbox-map-container.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.mapbox-map-container.error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .map-stats-panel {
    top: 10px;
    left: 10px;
    padding: 12px;
    min-width: 240px;
  }
  
  .stats-header h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .stat-item {
    font-size: 12px;
    gap: 6px;
  }
  
  .stat-icon {
    font-size: 14px;
    width: 16px;
  }
  
  .stat-value {
    font-size: 11px;
    padding: 1px 6px;
  }
  
  .filter-label {
    font-size: 11px;
  }
  
  .category-select {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .map-controls-overlay {
    top: 10px;
    right: 10px;
  }
  
  .map-controls {
    padding: 8px;
    gap: 6px;
  }
  
  .control-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .map-legend {
    bottom: 10px;
    right: 10px;
    padding: 12px;
    min-width: 160px;
  }
  
  .legend-title {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .legend-item {
    font-size: 11px;
    gap: 6px;
  }
  
  .legend-marker {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .map-stats-panel {
    top: 5px;
    left: 5px;
    padding: 8px;
    min-width: 200px;
  }
  
  .stats-header h3 {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .stat-item {
    font-size: 11px;
    gap: 4px;
  }
  
  .stat-icon {
    font-size: 12px;
    width: 14px;
  }
  
  .stat-value {
    font-size: 10px;
    padding: 1px 4px;
  }
  
  .filter-label {
    font-size: 10px;
  }
  
  .category-select {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  .map-controls-overlay {
    top: 5px;
    right: 5px;
  }
  
  .map-controls {
    padding: 6px;
    gap: 4px;
  }
  
  .control-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .map-legend {
    bottom: 5px;
    right: 5px;
    padding: 8px;
    min-width: 140px;
  }
  
  .legend-title {
    font-size: 11px;
    margin-bottom: 6px;
  }
  
  .legend-item {
    font-size: 10px;
    gap: 4px;
  }
  
  .legend-marker {
    width: 12px;
    height: 12px;
  }
}

/* Animation for map transitions */
.mapbox-gl-canvas {
  transition: all 0.3s ease;
}

/* Enhanced focus states for accessibility */
.task-marker:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

.control-btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Provider Avatar Marker */
.avatar-marker {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid #2d7a46;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-marker .avatar-image {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #e6f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d7a46;
  font-weight: 700;
}

.avatar-marker .avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-marker .avatar-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .map-stats-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .stats-header h3 {
    color: white;
  }
  
  .stat-item {
    color: #ccc;
  }
  
  .stat-value {
    background: rgba(102, 126, 234, 0.2);
    color: white;
  }
  
  .filter-label {
    color: white;
  }
  
  .category-select {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .category-select:hover {
    border-color: #667eea;
  }
  
  .category-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  }
  
  .map-controls {
    background: rgba(0, 0, 0, 0.8);
    color: white;
  }
  
  .control-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
  }
  
  .control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .control-btn.active {
    background: #667eea;
  }
  
  .map-legend {
    background: rgba(0, 0, 0, 0.8);
    color: white;
  }
  
  .legend-title {
    color: white;
  }
  
  .legend-item {
    color: #ccc;
  }
}

/* Animation for map refocusing indicator */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
}

/* Right-side Icons Responsive Design */
@media (max-width: 768px) {
  /* Adjust create task button position for smaller screens */
  .create-task-button {
    top: 10px !important;
    right: 10px !important;
  }
  
  /* Adjust debug tooltip position for smaller screens */
  .debug-tooltip {
    bottom: 10px !important;
    right: 10px !important;
  }
  
  /* Make debug tooltip smaller on mobile */
  .debug-tooltip-content {
    width: 240px !important;
    font-size: 11px !important;
    padding: 8px !important;
  }
}

@media (max-width: 480px) {
  /* Further adjust positions for very small screens */
  .create-task-button {
    top: 5px !important;
    right: 5px !important;
  }
  
  .debug-tooltip {
    bottom: 5px !important;
    right: 5px !important;
  }
  
  /* Make debug tooltip even smaller on very small screens */
  .debug-tooltip-content {
    width: 200px !important;
    font-size: 10px !important;
    padding: 6px !important;
  }
  
  /* Reduce icon sizes on very small screens */
  .create-task-button button,
  .debug-tooltip > div {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
} 
/* Enhanced Dashboard Styling */
.dashboard {
  min-height: 100vh;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Enhanced Header Styling */
.dashboard-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  box-sizing: border-box;
}

.dashboard-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: -1;
}

/* Dashboard root container with proper spacing */
.dashboard-root {
  min-height: 100vh;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  padding-top: 80px; /* Account for fixed header */
  box-sizing: border-box;
}

/* Dashboard content with flexible layout */
.dashboard-content {
  flex: 1 1;
  display: flex;
  min-height: calc(100vh - 80px);
  padding: 20px;
  gap: 20px;
  box-sizing: border-box;
  margin-top: 0; /* Remove inline margin */
}

/* Dashboard left sidebar */
.dashboard-left {
  flex: 0 0 350px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow-y: auto;
  max-height: calc(100vh - 120px);
}

/* Dashboard right content area */
.dashboard-right {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: calc(100vh - 120px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .dashboard-content {
    padding: 15px;
    gap: 15px;
  }
  
  .dashboard-left {
    flex: 0 0 300px;
    padding: 15px;
  }
}

@media (max-width: 900px) {
  .dashboard-content {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }
  
  .dashboard-left {
    flex: none;
    max-height: none;
  }
  
  .dashboard-right {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .dashboard-header {
    padding: 15px 20px;
    height: 70px;
  }
  
  .dashboard-root {
    padding-top: 70px;
  }
  
  .dashboard-content {
    padding: 10px;
  }
  
  .dashboard-left {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    padding: 10px 15px;
    height: 60px;
  }
  
  .dashboard-root {
    padding-top: 60px;
  }
  
  .dashboard-content {
    padding: 8px;
  }
  
  .dashboard-left {
    padding: 12px;
  }
}

/* Enhanced Main Content */
.dashboard-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  background: var(--color-background);
}

/* Enhanced Navigation Tabs */
.dashboard-tabs {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tabs-container {
  display: flex;
  gap: 8px;
  padding: 16px 0;
}

.tab-btn {
  background: #f8f9fa;
  color: #6c757d;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
  background: #e9ecef;
  color: #495057;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transform: translateY(-1px);
}

.tab-icon {
  font-size: 1.1rem;
}

.tab-text {
  font-weight: 600;
}

/* Enhanced Content Area */
.dashboard-content {
  flex: 1 1;
  padding: 24px 32px;
  background: var(--color-background);
}

/* Enhanced Tasks Container */
.tasks-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.tasks-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.tasks-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tasks-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tasks-icon {
  font-size: 1.8rem;
}

.tasks-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tasks-count {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.post-task-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.post-task-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

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

.btn-icon {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-text {
  font-weight: 600;
}

/* Enhanced Loading States */
.loading-tasks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #6c757d;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

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

/* Enhanced Map Section */
.map-section {
  width: 100%;
  height: calc(100vh - 200px);
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

/* Enhanced Globe Container */
.globe-container {
  width: 100%;
  height: calc(100vh - 200px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

/* Enhanced Task Detail Modal */
.task-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 1100;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modal-body {
  padding: 32px;
}

.modal-body p {
  margin: 12px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.modal-body strong {
  color: #667eea;
  font-weight: 600;
}

.modal-footer {
  padding: 24px 32px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  border-top: 1px solid #e0e0e0;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Enhanced Footer */
.dashboard-footer {
  background: #f8f9fa;
  padding: 20px 32px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e0e0e0;
}

.logout-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* Dark Mode Support */
.dashboard.dark {
  background: #1a1a1a;
  color: #ffffff;
}

.dashboard.dark .dashboard-tabs {
  background: #2d2d2d;
  border-bottom-color: #404040;
}

.dashboard.dark .tab-btn {
  background: #404040;
  color: #cccccc;
}

.dashboard.dark .tab-btn:hover {
  background: #505050;
  color: #ffffff;
}

.dashboard.dark .tasks-container {
  background: #2d2d2d;
  border-color: #404040;
}

.dashboard.dark .tasks-header {
  background: linear-gradient(135deg, #404040 0%, #505050 100%);
  border-bottom-color: #404040;
}

.dashboard.dark .tasks-title {
  color: #ffffff;
}

.dashboard.dark .modal-content {
  background: #2d2d2d;
  color: #ffffff;
}

.dashboard.dark .modal-body p {
  color: #cccccc;
}

.dashboard.dark .modal-footer {
  border-top-color: #404040;
}

.dashboard.dark .dashboard-footer {
  background: #2d2d2d;
  border-top-color: #404040;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-header {
    padding: 16px 20px;
  }
  
  .header-title {
    font-size: 1.4rem;
  }
  
  .header-subtitle {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .dashboard-tabs {
    padding: 0 20px;
  }
  
  .tabs-container {
    gap: 4px;
  }
  
  .tab-btn {
    padding: 10px 16px;
    min-width: 100px;
    font-size: 0.85rem;
  }
  
  .dashboard-content {
    padding: 16px 20px;
  }
  
  .tasks-header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .modal-content {
    margin: 20px;
    max-height: 90vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    padding: 12px 16px;
  }
  
  .header-title {
    font-size: 1.2rem;
  }
  
  .brand-icon {
    font-size: 1.5rem;
  }
  
  .tab-btn {
    padding: 8px 12px;
    min-width: 80px;
    font-size: 0.8rem;
  }
  
  .tab-icon {
    font-size: 1rem;
  }
  
  .dashboard-content {
    padding: 12px 16px;
  }
  
  .tasks-header {
    padding: 16px;
  }
  
  .tasks-title {
    font-size: 1.2rem;
  }
  
  .modal-content {
    margin: 10px;
    max-height: 95vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 16px;
  }
}

.dashboard-root {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--color-background);
}

.dashboard-globe-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-surface);
  border-radius: 0;
  overflow: hidden;
}

.dashboard-map-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-surface);
  border-radius: 0;
  overflow: hidden;
}

.globe-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  color: white;
  padding: 16px 24px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.map-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  color: white;
  padding: 16px 24px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.globe-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.map-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.globe-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-header-content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.map-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 400;
}

.map-status-dot {
  width: 8px;
  height: 8px;
  background: #4ecdc4;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.globe-controls {
  display: flex;
  gap: 8px;
}

.map-controls {
  display: flex;
  gap: 8px;
}

.globe-control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.map-control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.globe-control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

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

.map-control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

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

.globe-info-panel {
  position: absolute;
  top: 80px;
  left: 20px;
  z-index: 15;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 300px;
  animation: slideInLeft 0.3s ease-out;
}

.map-info-panel {
  position: absolute;
  top: 80px;
  left: 20px;
  z-index: 15;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 300px;
  animation: slideInLeft 0.3s ease-out;
}

.globe-info-content {
  padding: 20px;
}

.map-info-content {
  padding: 20px;
}

.globe-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.map-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.map-info-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.globe-info-close {
  cursor: pointer;
  font-size: 18px;
  color: #666;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.map-info-close {
  cursor: pointer;
  font-size: 18px;
  color: #666;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.globe-info-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.map-info-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.globe-info-stats {
  margin-bottom: 20px;
}

.map-info-stats {
  margin-bottom: 20px;
}

.globe-info-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.map-info-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.map-info-stat:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.stat-value {
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
}

.globe-info-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-info-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.globe-info-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.map-info-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.globe-info-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.map-info-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.dashboard-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-surface);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) brightness(0.95);
}

.dashboard-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
}

/* New Dashboard Layout with Mapbox at 80% width */
.dashboard-layout {
  display: flex;
  width: 100%;
  height: 100vh;
  background: var(--color-background);
}

.map-section {
  width: 100%;
  height: calc(100vh - 120px);
  position: relative;
  overflow: hidden;
}

/* Sidebar removed - map now takes full width */

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-surface);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.post-task-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.post-task-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.sidebar-content {
  flex: 1 1;
  padding: 20px;
  overflow-y: auto;
}

.selected-task-details {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
}

.selected-task-details h4 {
  margin: 0 0 16px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
}

.selected-task-details p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.selected-task-details strong {
  color: var(--color-primary);
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 16px;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.no-task-selected {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-muted);
  font-size: 16px;
  text-align: center;
  padding: 40px 20px;
}

/* Responsive Design for Dashboard Layout */
@media (max-width: 1200px) {
  .map-section {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .dashboard-layout {
    flex-direction: column;
  }
  
  .map-section {
    width: 100%;
    height: calc(100vh - 120px);
  }
}

@media (max-width: 600px) {
  .map-section {
    height: calc(100vh - 120px);
  }
}

.dashboard-left {
  width: clamp(320px, 36vw, 480px);
  min-width: 0;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-right: 1.5px solid var(--color-border);
  padding: 32px 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 2px 0 16px 0 rgba(0,0,0,0.04);
  height: 100vh;
  overflow-y: auto;
  position: relative;
  padding-bottom: 320px; /* increased to allow scrolling past fixed elements */
  gap: 5px;
}

@media (max-width: 1100px) {
  .dashboard-left {
    width: 220px;
    padding: 18px 8px 12px 8px;
  }
  .dashboard-right {
    padding: 18px 8px 12px 8px;
  }
}

body[data-theme='dark'] .dashboard-left {
  background: var(--color-surface);
  color: var(--color-text);
}
body[data-theme='dark'] .dashboard-left .dashboard-section-title,
body[data-theme='dark'] .dashboard-left .dashboard-hamburger,
body[data-theme='dark'] .dashboard-left .dashboard-modal-header,
body[data-theme='dark'] .dashboard-left .dashboard-modal-close,
body[data-theme='dark'] .dashboard-left .popular-categories-arrow {
  color: var(--color-muted);
}
body[data-theme='dark'] .dashboard-left .dashboard-modal,
body[data-theme='dark'] .dashboard-left .dashboard-search-input {
  background: var(--color-surface);
  color: var(--color-text);
}
body[data-theme='dark'] .dashboard-left .dashboard-modal-header {
  border-bottom: 1px solid var(--color-border);
}
body[data-theme='dark'] .dashboard-left .dashboard-weekly {
  background: var(--color-surface);
  color: var(--color-text);
}
body[data-theme='dark'] .dashboard-left .dashboard-weekly h3 {
  color: var(--color-primary);
}
body[data-theme='dark'] .dashboard-left .dashboard-xp {
  background: var(--color-highlight);
  color: var(--color-success);
}
body[data-theme='dark'] .dashboard-left .dashboard-xp h4 {
  color: var(--color-success);
}
body[data-theme='dark'] .dashboard-left .dashboard-quicklinks-row .quicklink-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
}
body[data-theme='dark'] .dashboard-left .dashboard-quicklinks-row .quicklink-btn.active,
body[data-theme='dark'] .dashboard-left .dashboard-quicklinks-row .quicklink-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
body[data-theme='dark'] .dashboard-left .main-tab-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
}
body[data-theme='dark'] .dashboard-left .main-tab-btn.active,
body[data-theme='dark'] .dashboard-left .main-tab-btn:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}
body[data-theme='dark'] .dashboard-left .dashboard-search-input {
  border: 1.5px solid var(--color-border);
}
body[data-theme='dark'] .dashboard-left .dashboard-modal {
  border-radius: 12px 0 0 12px;
  box-shadow: 2px 0 16px 0 rgba(0,0,0,0.32);
}
body[data-theme='dark'] .dashboard-left .popular-categories-fade-left {
  background: linear-gradient(to right, var(--color-surface) 80%, rgba(0,0,0,0));
}
body[data-theme='dark'] .dashboard-left .popular-categories-fade-right {
  background: linear-gradient(to left, var(--color-surface) 80%, rgba(0,0,0,0));
}
body[data-theme='dark'] .dashboard-left .popular-categories-arrow {
  background: var(--color-surface);
  color: var(--color-muted);
}
body[data-theme='dark'] .dashboard-left .popular-categories-arrow:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.dashboard-section-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #888;
  margin: 18px 0 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.dashboard-hamburger {
  background: none;
  border: none;
  font-size: 1.6em;
  margin-right: 10px;
  cursor: pointer;
  color: #888;
  vertical-align: middle;
}
.hamburger-icon {
  display: inline-block;
  font-size: 1.3em;
}
.dashboard-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.dashboard-modal {
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  height: 100vh;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0 0 24px 0;
  animation: slideInLeft 0.2s;
  background: #fff;
  display: flex;
  flex-direction: column;
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.dashboard-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 8px 24px;
  border-bottom: 1px solid #eee;
  position: relative;
}
.dashboard-modal-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: left;
}
.dashboard-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2em;
  color: #888;
  cursor: pointer;
  z-index: 2;
}
.dashboard-quick-access-modal-content {
  padding: 18px;
}

/* Quick Access grid: equal columns/rows with consistent padding */
.dashboard-quick-access .quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  padding: 8px 0;
}

@media (max-width: 1100px) {
  .dashboard-quick-access .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dashboard-quick-access .quick-access-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-quick-access .quick-access-btn,
.dashboard-quick-access .profile-settings-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  box-sizing: border-box;
}

.dashboard-quick-access .quick-access-icon {
  font-size: 1.2rem;
}

/* Enhanced Task Detail Modal Styling */
.dashboard-task-detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: modalOverlayFadeIn 0.3s ease-out;
}

@keyframes modalOverlayFadeIn {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur(0px);
            backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
}

.dashboard-task-detail-modal {
  background: transparent;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  margin: 20px;
  animation: modalSlideIn 0.4s ease-out;
  transform-origin: center;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Improve the TaskDetailCard spacing when used in modal */
.dashboard-task-detail-modal .task-detail-card-root {
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: cardSlideIn 0.5s ease-out 0.1s both;
}

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

/* Enhanced task selection visual feedback */
.task-selected {
  animation: taskSelectionPulse 1s ease-in-out;
}

@keyframes taskSelectionPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* Enhanced modal positioning for globe integration */
.dashboard-task-detail-modal-overlay.globe-integrated {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.dashboard-task-detail-modal.globe-integrated {
  margin-bottom: 0;
  max-height: 60vh;
  animation: modalSlideUp 0.4s ease-out;
}

/* Enhanced modal positioning for map integration */
.dashboard-task-detail-modal-overlay.map-integrated {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.dashboard-task-detail-modal.map-integrated {
  margin-bottom: 0;
  max-height: 72vh; /* allow taller create task card in map context */
  animation: modalSlideUp 0.4s ease-out;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-task-detail-modal-overlay {
    padding: 20px;
  }
  
  .dashboard-task-detail-modal {
    margin: 10px;
    max-height: 95vh;
  }
  
  .dashboard-task-detail-modal .task-detail-card-root {
    border-radius: 16px;
  }
  
  .dashboard-task-detail-modal-overlay.globe-integrated {
    padding: 10px;
  }
  
  .dashboard-task-detail-modal.globe-integrated {
    max-height: 70vh;
  }
  
  .dashboard-task-detail-modal-overlay.map-integrated {
    padding: 10px;
  }
  
  .dashboard-task-detail-modal.map-integrated {
    max-height: 72vh;
  }
}

@media (max-width: 480px) {
  .dashboard-task-detail-modal-overlay {
    padding: 10px;
  }
  
  .dashboard-task-detail-modal {
    margin: 5px;
    max-height: 98vh;
  }
  
  .dashboard-task-detail-modal-overlay.globe-integrated {
    padding: 5px;
  }
  
  .dashboard-task-detail-modal.globe-integrated {
    max-height: 80vh;
  }
  
  .dashboard-task-detail-modal-overlay.map-integrated {
    padding: 5px;
  }
  
  .dashboard-task-detail-modal.map-integrated {
    max-height: 80vh;
  }
}

/* Enhanced map integration styles */
.dashboard-map-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #f8f9fa;
}

.dashboard-map-container.with-task-modal {
  height: calc(100vh - 400px);
  transition: height 0.4s ease-out;
}

/* Smooth transitions for map state changes */
.dashboard-map-container,
.dashboard-task-detail-modal-overlay,
.dashboard-task-detail-modal {
  transition: all 0.3s ease-out;
}

/* Enhanced accessibility */
.dashboard-task-detail-modal-overlay:focus-within {
  outline: none;
}

.dashboard-task-detail-modal:focus {
  outline: 2px solid #667eea;
  outline-offset: 4px;
}

/* Loading state for task selection */
.task-selection-loading {
  position: relative;
}

.task-selection-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.dashboard-weekly-xp-row {
  margin-bottom: 18px;
  align-items: flex-start;
}
.dashboard-weekly {
  flex: 1 1;
  min-width: 0;
  background: var(--color-surface);
  border-radius: 8px;
  padding: 18px 18px 12px 18px;
  color: var(--color-text);
  max-height: 30%;
  overflow-y: auto;
  min-height: 0;
  min-height: initial;
  margin: 0;
  box-sizing: border-box;
}
.dashboard-weekly h3 {
  color: var(--color-primary);
}
.dashboard-weekly ul {
  /* Remove or increase max-height so weekly updates can show all content */
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  padding: 0 0 0 18px;
}
.dashboard-weekly ul li {
  margin-bottom: 6px;
  font-size: 0.98em;
}
.dashboard-xp {
  flex: 1 1;
  min-width: 0;
  margin-left: 12px;
  background: var(--color-highlight);
  border-radius: 8px;
  padding: 18px 18px 12px 18px;
  color: var(--color-success);
  font-weight: 600;
  font-size: 1.1em;
}
.dashboard-xp h4 {
  color: var(--color-success);
}
.dashboard-quicklinks-row {
  margin-bottom: 18px;
  justify-content: space-between;
}
.dashboard-quicklinks-row .quicklink-btn {
  flex: 1 1;
  margin-right: 8px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.18s;
}
.dashboard-quicklinks-row .quicklink-btn.active, .dashboard-quicklinks-row .quicklink-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.dashboard-quicklinks-row .quicklink-btn:last-child {
  margin-right: 0;
}
.dashboard-main-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.main-tab-btn {
  background: var(--color-secondary);
  border: none;
  border-radius: 6px 6px 0 0;
  padding: 6px 14px;
  font-size: 0.95em;
  color: var(--color-primary);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
}
.main-tab-btn.active, .main-tab-btn:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.25);
  transform: translateY(-1px);
}
.dashboard-table-area {
  flex: 1 1;
  min-width: 0;
  margin-top: 8px;
}
.dashboard-right {
  position: relative;
  flex: 1 1;
  min-width: 0;
  background: var(--color-background);
  padding: 24px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
}
.dashboard-sticky-icons {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  z-index: 10;
  margin-bottom: 24px;
}
.dashboard-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 18px auto; /* center within right column */
  position: relative;
}
.dashboard-search-input {
  width: 100%;
  border-radius: 18px;
  border: 1.5px solid #e0e0e0;
  padding: 12px 18px 12px 44px;
  font-size: 1.1em;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60,64,67,0.04);
}
.dashboard-hamburger {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3em;
  color: #888;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  margin: 0;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Removed dashboard-tabs-right styles for cleaner bottom right corner */
.dashboard-root > .dashboard-header, .dashboard-header {
  background: #fff;
}
@media (max-width: 900px) {
  .dashboard-search-bar {
    width: 99%;
  }
  .dashboard-modal {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .dashboard-modal-header {
    padding: 12px 12px 4px 12px;
  }
  .dashboard-modal-close {
    top: 12px;
    right: 12px;
    font-size: 1.5em;
  }
}
.dashboard-feed-area {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.dashboard-main-content {
  flex: 1 1;
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
  padding: 24px 20px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.dashboard-browse-placeholder,
.dashboard-feeds-placeholder {
  color: var(--color-muted);
  font-size: 1.2em;
  text-align: center;
  margin-top: 80px;
}
.popular-categories-container {
  position: relative;
  width: 100%;
}
.popular-categories-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin: 8px 0 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: 18px;
  padding-right: 18px;
}
.popular-categories-grid::-webkit-scrollbar {
  display: none;
}
.popular-categories-fade-left,
.popular-categories-fade-right {
  position: absolute;
  top: 0;
  width: 32px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.popular-categories-fade-left {
  left: 0;
  background: linear-gradient(to right, #fff 80%, rgba(255,255,255,0));
}
.popular-categories-fade-right {
  right: 0;
  background: linear-gradient(to left, #fff 80%, rgba(255,255,255,0));
}
.popular-category {
  display: inline-block;
  min-width: 80px;
  padding: 8px 0 6px 0;
  border-radius: 8px;
  font-size: 0.8em;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}
.popular-categories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #888;
  font-size: 1.3em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: background 0.18s, color 0.18s;
}
.popular-categories-arrow.left {
  left: 0;
}
.popular-categories-arrow.right {
  right: 0;
}
.popular-categories-arrow:hover {
  background: #f0f0f0;
  color: #333;
  opacity: 1;
}
@media (max-width: 600px) {
  .popular-categories-arrow {
    display: none;
  }
}
.dashboard-profile-right {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.dashboard-map-toggle {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.dashboard-map-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.dashboard-map-toggle:active {
  transform: translateY(0);
}

.map-toggle-icon {
  font-size: 16px;
}

.map-toggle-text {
  font-weight: 600;
}
.tab-btn {
  background: #e3f2fd;
  color: #1976d2;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1.08em;
  font-weight: 600;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: none;
  outline: none;
}
.tab-btn:last-child {
  margin-right: 0;
}
.tab-btn.active, .tab-btn:hover {
  background: #1976d2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.18);
}

/* --- DARK MODE OVERRIDES: Place at end for highest specificity --- */
body[data-theme='dark'] .dashboard-right {
  background: linear-gradient(135deg, #232b3e 0%, #3a466e 100%) !important;
  color: var(--color-text) !important;
}

/* NEW: displayDarkMode priority logic */

/* When displayDarkMode is false (regardless of user theme), force white backgrounds */
body.display-dark-mode-false .dashboard-root {
  background: white !important;
}

body.display-dark-mode-false .dashboard-left {
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .dashboard-right {
  background: white !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-false .dashboard-map-bg {
  background: white !important;
}

/* Force white backgrounds for home page when displayDarkMode is false */
body.display-dark-mode-false .home-page {
  background: white !important;
}

body.display-dark-mode-false .hero-section {
  background: white !important;
}

/* Update all text elements in left dashboard to almost white */
body.display-dark-mode-false .dashboard-left .dashboard-section-title {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.display-dark-mode-false .dashboard-left .dashboard-search-input {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false .dashboard-left .dashboard-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.display-dark-mode-false .dashboard-left .quick-access-btn {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false .dashboard-left .quick-access-btn:hover {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

body.display-dark-mode-false .dashboard-left .popular-category {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false .dashboard-left .popular-category:hover {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

body.display-dark-mode-false .dashboard-left .dashboard-weekly {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false .dashboard-left .dashboard-weekly h3 {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.display-dark-mode-false .dashboard-left .dashboard-weekly ul li {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.display-dark-mode-false .dashboard-left .dashboard-weekly p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Buttons in left dashboard */
body.display-dark-mode-false .dashboard-left button:not(.btn-primary):not(.btn-secondary) {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.display-dark-mode-false .dashboard-left button:not(.btn-primary):not(.btn-secondary):hover {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Specific button styling for test buttons */
body.display-dark-mode-false .dashboard-left .btn-outline-warning,
body.display-dark-mode-false .dashboard-left .btn-outline-primary,
body.display-dark-mode-false .dashboard-left .btn-outline-success,
body.display-dark-mode-false .dashboard-left .btn-outline-info,
body.display-dark-mode-false .dashboard-left .btn-outline-secondary,
body.display-dark-mode-false .dashboard-left .btn-outline-dark {
  background: rgba(0, 0, 0, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

body.display-dark-mode-false .dashboard-left .btn-outline-warning:hover,
body.display-dark-mode-false .dashboard-left .btn-outline-primary:hover,
body.display-dark-mode-false .dashboard-left .btn-outline-success:hover,
body.display-dark-mode-false .dashboard-left .btn-outline-info:hover,
body.display-dark-mode-false .dashboard-left .btn-outline-secondary:hover,
body.display-dark-mode-false .dashboard-left .btn-outline-dark:hover {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Primary and success buttons for display dark mode controls */
body.display-dark-mode-false .dashboard-left .btn-primary,
body.display-dark-mode-false .dashboard-left .btn-warning,
body.display-dark-mode-false .dashboard-left .btn-success {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

body.display-dark-mode-false .dashboard-left .btn-primary:hover,
body.display-dark-mode-false .dashboard-left .btn-warning:hover,
body.display-dark-mode-false .dashboard-left .btn-success:hover {
  background: rgba(0, 0, 0, 0.3) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* When displayDarkMode is true, enhance left dashboard placeholders */
body.display-dark-mode-true .dashboard-left .dashboard-search-input::placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-true .dashboard-left .dashboard-search-input {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: #333 !important;
}

body.display-dark-mode-true .dashboard-left .dashboard-section-title {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.display-dark-mode-true .dashboard-left .quick-access-btn {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #333 !important;
}

body.display-dark-mode-true .dashboard-left .quick-access-btn:hover {
  background: #2a2a2a !important;
  color: white !important;
}

body.display-dark-mode-true .dashboard-left .popular-category {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #333 !important;
}

body.display-dark-mode-true .dashboard-left .popular-category:hover {
  background: #2a2a2a !important;
  color: white !important;
}

body.display-dark-mode-true .dashboard-left .dashboard-weekly {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #333 !important;
}

body.display-dark-mode-true .dashboard-left .dashboard-weekly h3 {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.display-dark-mode-true .dashboard-left .dashboard-weekly ul li {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Ensure form inputs and placeholders in dark mode have proper contrast */
body.display-dark-mode-true input::placeholder,
body.display-dark-mode-true textarea::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.display-dark-mode-true input,
body.display-dark-mode-true textarea {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: #333 !important;
}

/* Ensure buttons maintain visibility in dark mode */
body.display-dark-mode-true .dashboard-left button:not(.btn-primary):not(.btn-secondary) {
  background: #1a1a1a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #333 !important;
}

body.display-dark-mode-true .dashboard-left button:not(.btn-primary):not(.btn-secondary):hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Logout Confirmation Modal Styles */
.dashboard-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.dashboard-modal {
  background: white;
  background: var(--color-background, white);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 450px;
  width: 90%;
  animation: slideIn 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
}

.dashboard-modal-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.dashboard-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.9) 0%, rgba(200, 35, 51, 0.9) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: -1;
}

.dashboard-modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dashboard-modal-header h3::before {
  content: '🚪';
  font-size: 1.2em;
}

.dashboard-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dashboard-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.dashboard-modal-content {
  padding: 32px 28px;
  text-align: center;
}

.dashboard-modal-content p {
  margin: 0 0 28px 0;
  font-size: 1.2rem;
  color: #333;
  color: var(--color-text, #333);
  line-height: 1.6;
  font-weight: 500;
}

.dashboard-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dashboard-modal-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.dashboard-modal-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.dashboard-modal-btn:hover::before {
  left: 100%;
}

.dashboard-modal-btn.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.dashboard-modal-btn.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.dashboard-modal-btn.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.dashboard-modal-btn.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Dark Mode Support */
body[data-theme='dark'] .dashboard-modal {
  background: #1a202c;
  background: var(--color-background-dark, #1a202c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border-dark, rgba(255, 255, 255, 0.1));
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body[data-theme='dark'] .dashboard-modal-content p {
  color: #e2e8f0;
  color: var(--color-text-dark, #e2e8f0);
}

body[data-theme='dark'] .dashboard-modal-header {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

body[data-theme='dark'] .dashboard-modal-header::before {
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.9) 0%, rgba(197, 48, 48, 0.9) 100%);
}

/* Responsive Design */
@media (max-width: 480px) {
  .dashboard-modal {
    width: 95%;
    max-width: 350px;
  }
  
  .dashboard-modal-header {
    padding: 20px 24px;
  }
  
  .dashboard-modal-header h3 {
    font-size: 1.2rem;
  }
  
  .dashboard-modal-content {
    padding: 24px 20px;
  }
  
  .dashboard-modal-content p {
    font-size: 1.1rem;
  }
  
  .dashboard-modal-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .dashboard-modal-btn {
    width: 100%;
    min-width: auto;
  }
} 

/* Profile Settings Button - matches ProfileIcon styling */
.profile-settings-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 0 rgba(45, 122, 70, 0.2);
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-settings-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(45, 122, 70, 0.1);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.profile-settings-btn:focus {
  box-shadow: 0 0 0 4px rgba(45, 122, 70, 0.15);
  transform: scale(1.05);
}

.profile-settings-btn:active {
  transform: scale(0.98);
}

/* Dark mode support for profile settings button */
body.dark-mode .profile-settings-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f5f5;
}

body.dark-mode .profile-settings-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 6px rgba(45, 122, 70, 0.2);
} 

/* Profile avatar styling for profile-settings-btn - matches ProfileIcon */
.profile-settings-btn .profile-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-settings-btn .profile-avatar svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Header content styles */
.header-left {
  display: flex;
  align-items: center;
}

.header-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-icon {
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.header-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.user-welcome {
  font-weight: 500;
}

.user-role-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dashboard main content area */
.dashboard-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Dashboard tabs */
.dashboard-tabs {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tabs-container {
  display: flex;
  gap: 10px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1;
  justify-content: center;
}

.tab-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tab-icon {
  font-size: 1.2rem;
}

.tab-text {
  font-weight: 600;
} 

/* Welcome message responsive positioning */
@media (max-width: 768px) {
  .dashboard-header .header-title {
    font-size: 1.4rem;
  }
  
  .dashboard-header .header-subtitle {
    font-size: 0.85rem;
  }
  
  /* Adjust welcome message positioning for mobile */
  .dashboard-root > div[style*="position: fixed"][style*="top: 100px"] {
    top: 90px !important;
    left: 10px !important;
    right: 10px !important;
    transform: none !important;
    max-width: none !important;
    font-size: 1rem !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 480px) {
  .dashboard-header .header-title {
    font-size: 1.2rem;
  }
  
  .dashboard-header .header-subtitle {
    font-size: 0.8rem;
  }
  
  /* Further adjust welcome message for small screens */
  .dashboard-root > div[style*="position: fixed"][style*="top: 100px"] {
    top: 80px !important;
    font-size: 0.9rem !important;
    padding: 8px 12px !important;
  }
}

/* Ensure proper scrolling behavior */
.dashboard-left {
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.dashboard-left::-webkit-scrollbar {
  width: 6px;
}

.dashboard-left::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-left::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 3px;
}

.dashboard-left::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

/* Ensure map container doesn't overflow */
.dashboard-map-container {
  height: calc(100vh - 120px);
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .dashboard-map-container {
    height: 400px;
    min-height: 300px;
  }
}
.app-footer {
  width: 100%;
  color: #334155;
}

.desktop-footer {
  display: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 20px;
  gap: 20px;
  border-top: 1px solid #e5e7eb;
  background: #ffffffcc;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-weight: 800; font-size: 20px; color: #111827; }
.footer-desc { font-size: 13px; color: #6b7280; }
.footer-title { font-weight: 700; color: #111827; margin-bottom: 4px; }
.footer-link { color: #334155; text-decoration: none; font-size: 14px; }
.footer-link:hover { color: #0ea5e9; text-decoration: underline; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #e5e7eb;
  font-size: 13px;
}
.footer-bottom .dot { margin: 0 8px; color: #94a3b8; }

/* Mobile bottom nav */
.mobile-footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; }
.mobile-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #ffffffee;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-top: 1px solid #e5e7eb;
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 0;
  color: #334155; text-decoration: none; font-size: 11px;
}
.mobile-nav-item .icon { font-size: 18px; line-height: 1; }
.mobile-nav-item.create {
  color: white; font-weight: 700;
}
.mobile-nav-item.create .icon {
  background: #22c55e; color: white; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(34,197,94,0.4);
  margin-top: -14px;
}
.mobile-footer-spacer { height: 60px; }

/* Responsive */
@media (min-width: 768px) {
  .desktop-footer { display: block; }
  .mobile-footer { display: none; }
}



/* Globe Map Component Styles */
.globe-map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 1;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}

/* Ensure map doesn't overflow modal */
.globe-map-container .mapboxgl-map {
  z-index: 1 !important;
}

.globe-map-container .mapboxgl-canvas {
  z-index: 1 !important;
}





/* Profile Icon in Map Context */
.globe-map-container .profile-icon-container {
  position: relative;
  z-index: 2000;
}

.globe-map-container .profile-icon-btn {
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.globe-map-container .profile-icon-btn:hover {
  background: rgba(45, 122, 70, 0.9);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(45, 122, 70, 0.4);
}

.globe-map-container .profile-panel {
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.globe-map-container .profile-panel-action {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.globe-map-container .profile-panel-action:hover {
  background: rgba(45, 122, 70, 0.8);
  color: #ffffff;
  transform: translateX(5px);
}

/* Loading state */
.globe-map-container.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
}

.globe-map-container.loading::after {
  content: 'Loading globe...';
  color: #7f8c8d;
  font-weight: 500;
}

/* Error state */
.globe-map-container.error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  font-weight: 500;
}

.globe-map-container.error::after {
  content: 'Globe failed to load';
}

/* Stats Panel - Top Left */
.globe-stats-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

/* Stats Panel - Bottom Left */
.globe-stats-bottom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.stats-section {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  flex-wrap: nowrap;
  width: -webkit-fit-content;
  width: fit-content;
  width: auto;
}

/* Category Filter Section */
.category-filter-section {
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Compact Category Filter - Following Stats Section Style */
.category-filter-compact {
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-top: 8px;
}

.filter-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-header-compact:hover {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.08) 100%);
}

.filter-title-compact {
  color: #19a664;
  font-weight: 600;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.filter-title-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
}

.filter-summary-compact {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
  letter-spacing: 0.1px;
  line-height: 1.2;
}

.filter-toggle-compact {
  background: none;
  border: none;
  color: #00ff88;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-toggle-compact:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: scale(1.1);
}

.category-filters-compact {
  padding: 10px;
  max-height: 180px;
  overflow-y: auto;
}

.category-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.category-filter-item-compact {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 9px;
  min-width: 70px;
  justify-content: center;
}

.category-filter-item-compact:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.category-filter-item-compact input[type="checkbox"] {
  width: 10px;
  height: 10px;
  margin: 0;
  accent-color: #00ff88;
}

.category-icon-compact {
  font-size: 10px;
  width: 12px;
  text-align: center;
}

.category-name-compact {
  font-weight: 500;
  color: white;
  font-size: 8px;
  letter-spacing: 0.1px;
}

.category-count-compact {
  font-size: 7px;
  color: #00ff88;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.filter-actions-compact {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.filter-btn-compact {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.filter-btn-compact:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-1px);
}

.filter-btn-compact.select-all {
  background: rgba(0, 255, 136, 0.15);
}

.filter-btn-compact.select-all:hover {
  background: rgba(0, 255, 136, 0.25);
}

.filter-btn-compact.clear-all {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.filter-btn-compact.clear-all:hover {
  background: rgba(255, 107, 107, 0.2);
}

.pulse-btn-compact {
  width: 100%;
  margin-top: 6px;
  padding: 4px 6px;
  border: 1px solid #00ff88;
  border-radius: 6px;
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  font-size: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.pulse-btn-compact:hover:not(:disabled) {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-1px);
}

.pulse-btn-compact:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Compact Location Filter - Following Same Style as Category Filter */
.location-filter-compact {
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-top: 8px;
}

.location-filters-compact {
  padding: 10px;
  max-height: 180px;
  overflow-y: auto;
}

.location-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.location-filter-item-compact {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 9px;
  min-width: 70px;
  justify-content: center;
}

.location-filter-item-compact:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.location-filter-item-compact input[type="checkbox"] {
  width: 10px;
  height: 10px;
  margin: 0;
  accent-color: #00ff88;
}

.location-icon-compact {
  font-size: 10px;
  width: 12px;
  text-align: center;
}

.location-name-compact {
  font-weight: 500;
  color: white;
  font-size: 8px;
  letter-spacing: 0.1px;
}

.location-count-compact {
  font-size: 7px;
  color: #00ff88;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-header:hover {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.08) 100%);
}

.filter-title {
  color: #00ff88;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-toggle {
  background: none;
  border: none;
  color: #00ff88;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-toggle:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: scale(1.1);
}

.category-filters {
  padding: 16px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  font-size: 14px;
}

.category-filter-item:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateX(5px);
}

.category-filter-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00ff88;
  cursor: pointer;
}

.category-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.category-name {
  flex: 1 1;
  font-weight: 500;
}

.category-count {
  color: #888;
  font-size: 12px;
  font-weight: 400;
}

.filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn {
  flex: 1 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn.select-all {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.filter-btn.select-all:hover {
  background: rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.filter-btn.clear-all {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.filter-btn.clear-all:hover {
  background: rgba(255, 107, 107, 0.3);
  transform: translateY(-1px);
}

/* Location Filter Styles */
.location-filter-section {
  margin-top: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.location-filter-section:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.location-filters {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.location-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-filter-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.location-filter-item input[type="checkbox"] {
  margin: 0;
  accent-color: #00ff88;
}

.location-icon {
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.location-name {
  flex: 1 1;
  font-size: 12px;
  color: white;
  font-weight: 500;
}

.location-count {
  font-size: 11px;
  color: #888;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Debug Tooltip Styles */
.debug-tooltip-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.debug-tooltip-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.debug-tooltip-trigger:hover {
  background: rgba(45, 122, 70, 0.9);
  border-color: rgba(45, 122, 70, 0.5);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(45, 122, 70, 0.4);
}

.debug-tooltip-content {
  position: absolute;
  top: 50px;
  right: 0;
  width: 320px;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: tooltipSlideIn 0.3s ease-out;
  z-index: 1001;
}

.debug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.debug-close {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.debug-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: scale(1.1);
}

.debug-content {
  padding: 16px;
  color: white;
  font-size: 12px;
  line-height: 1.4;
  max-height: 300px;
  overflow-y: auto;
}

.debug-content > div {
  margin-bottom: 6px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.debug-content > div:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

@keyframes tooltipSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stat-item {
  text-align: center;
  min-width: 100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex: 1 1;
}

.stat-number {
  font-size: 1rem;
  font-weight: bold;
  color: #808080;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.stat-number.animated {
  color: inherit;
  animation: colorBlip 2s ease-out;
}

@keyframes colorBlip {
  0% {
    text-shadow: 0 0 5px currentColor;
  }
  50% {
    text-shadow: 0 0 15px currentColor, 0 0 25px currentColor;
  }
  100% {
    text-shadow: 0 0 5px currentColor;
  }
}

.stat-number-rolling {
  animation: statRoll 0.6s ease-out;
}

@keyframes statRoll {
  0% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-2px) scale(1.05);
  }
  50% {
    transform: translateY(-4px) scale(1.1);
  }
  75% {
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Active filter styles */
.stat-item.filter-active {
  background: rgba(0, 255, 136, 0.2);
  border: 2px solid #00ff88;
  border-radius: 8px;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.stat-item.filter-active .stat-number {
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.stat-item.filter-active .stat-label {
  color: #00ff88;
  font-weight: 700;
}

.stat-item:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: scale(1.02);
  transition: all 0.2s ease;
}

.stat-item.filter-active:hover {
  background: rgba(0, 255, 136, 0.3);
  transform: scale(1.07);
}

/* Task Markers */
.task-marker {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.task-marker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.task-marker:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
  border-color: rgba(255, 255, 255, 1);
}

.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.marker-icon {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Task Popup */
.task-popup {
  padding: 16px;
  max-width: 300px;
}

.task-popup h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

.task-popup p {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.task-details {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.task-price {
  background: #00ff88;
  color: #000;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.task-category {
  background: #4ecdc4;
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.task-status {
  background: #ff6b6b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.task-location {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Enhanced Globe Controls */
.globe-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.control-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.control-btn:hover::before {
  left: 100%;
}

.control-btn:hover {
  background: rgba(45, 122, 70, 0.9);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(45, 122, 70, 0.4);
  border-color: rgba(45, 122, 70, 0.5);
}

.control-btn:active {
  transform: scale(0.95);
}

/* Special styling for zoom buttons */
.control-btn[title*="Zoom"] {
  background: rgba(0, 123, 255, 0.8);
}

.control-btn[title*="Zoom"]:hover {
  background: rgba(0, 123, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
}

/* Special styling for location buttons */
.control-btn[title*="Bangkok"],
.control-btn[title*="Chiang Mai"] {
  background: rgba(255, 193, 7, 0.8);
}

.control-btn[title*="Bangkok"]:hover,
.control-btn[title*="Chiang Mai"]:hover {
  background: rgba(255, 193, 7, 0.9);
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
}

/* Connection Line Animations */
@keyframes dash {
  to {
    stroke-dashoffset: -8;
  }
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #00ff88;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Pulsing animation for checkpoints */
@keyframes pulse {
  0% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.2);
    opacity: 0.4;
  }
  100% { 
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Moving line animation */
@keyframes dash {
  to {
    stroke-dashoffset: -8;
  }
}

/* Checkpoint pulse effect */
.checkpoint-pulse {
  animation: pulse 2s infinite;
}

/* Animated line effect */
.animated-line {
  stroke-dasharray: 4;
  animation: dash 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  
  .stat-item {
    min-width: 60px;
    gap: 4px;
  }
  
  .stat-number {
    font-size: 14px;
  }
  
  .stat-label {
    font-size: 10px;
  }

  .globe-controls {
    top: 10px;
    right: 10px;
    gap: 6px;
  }

  .control-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .task-popup {
    max-width: 250px;
    padding: 12px;
  }

  .task-popup h3 {
    font-size: 1rem;
  }

  .task-popup p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  
  .globe-stats-top-left {
    top: 5px;
    left: 5px;
    right: 5px;
    max-width: none;
  }
  
  .category-filter-compact {
    margin-top: 4px;
  }
  
  .location-filter-compact {
    margin-top: 4px;
  }
  
  .category-filters-row {
    gap: 3px;
  }
  
  .location-filters-row {
    gap: 3px;
  }
  
  .category-filter-item-compact {
    min-width: 40px;
    padding: 1px 3px;
    font-size: 7px;
  }
  
  .location-filter-item-compact {
    min-width: 40px;
    padding: 1px 3px;
    font-size: 7px;
  }
  
  .category-name-compact {
    font-size: 6px;
  }
  
  .location-name-compact {
    font-size: 6px;
  }
  
  .category-count-compact {
    font-size: 5px;
  }
  
  .location-count-compact {
    font-size: 5px;
  }
  
  .filter-btn-compact {
    padding: 1px 3px;
    font-size: 6px;
  }

  .filter-summary-compact {
    font-size: 6px;
  }
  
  .stat-item {
    min-width: 50px;
    gap: 3px;
  }
  
  .stat-number {
    font-size: 12px;
  }
  
  .stat-label {
    font-size: 8px;
  }

  .globe-controls {
    position: relative;
    top: 0;
    right: 0;
    flex-direction: row;
    justify-content: center;
    margin: 10px;
  }

  .control-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Dark Theme Enhancements */
[data-theme="dark"] .globe-map-container {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}



[data-theme="dark"] .control-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

[data-theme="dark"] .control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mapbox Popup Customization */
.mapboxgl-popup-content {
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(10px) !important;
          backdrop-filter: blur(10px) !important;
}

.mapboxgl-popup-close-button {
  color: #333 !important;
  font-size: 18px !important;
  padding: 8px !important;
}

.mapboxgl-popup-close-button:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  border-radius: 50% !important;
}

/* Connection Line Glow Effect */
.mapboxgl-canvas {
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

/* Globe Atmosphere Effects */
.globe-map-container .mapboxgl-map {
  filter: contrast(1.1) brightness(1.1);
}

/* Custom Scrollbar for Popup */
.task-popup::-webkit-scrollbar {
  width: 6px;
}

.task-popup::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.task-popup::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.5);
  border-radius: 3px;
}

.task-popup::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 136, 0.7);
}

/* Custom Scrollbar for Create Task Modal */
.create-task-modal::-webkit-scrollbar {
  width: 8px;
}

.create-task-modal::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin: 4px 0;
}

.create-task-modal::-webkit-scrollbar-thumb {
  background: rgba(45, 122, 70, 0.6);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.create-task-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 122, 70, 0.8);
}

/* Dark theme scrollbar for create task modal */
[data-theme="dark"] .create-task-modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .create-task-modal::-webkit-scrollbar-thumb {
  background: rgba(45, 122, 70, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .create-task-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 122, 70, 0.9);
}

/* Body scroll lock styles */
body.scroll-locked {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

/* Ensure modal content remains scrollable */
.create-task-modal {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 100vh !important;
  z-index: 3002 !important;
  position: relative !important;
}

/* Modal overlay styles */
.create-task-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 3000 !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  -webkit-backdrop-filter: blur(8px) !important;
          backdrop-filter: blur(8px) !important;
}

/* Location picker within modal */
.create-task-modal .location-picker-container {
  z-index: 3003 !important;
  position: relative !important;
}

.create-task-modal .mapboxgl-map {
  z-index: 3003 !important;
}

.create-task-modal .mapboxgl-canvas {
  z-index: 3003 !important;
}

/* Modal container - fixed positioning above everything */
.create-task-modal-container {
  position: fixed !important;
  z-index: 3001 !important;
  top: 5% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: 500px !important;
  max-height: 85vh !important;
  width: calc(100% - 40px) !important;
  background: #2d3748 !important;
  background: var(--modal-bg, #2d3748) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid #4a5568 !important;
  border: 1px solid var(--modal-border, #4a5568) !important;
} 

/* Radial Activity Wheel Styles */
.activity-wheel {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Activity Modal Backdrop */
.activity-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 9998;
  animation: backdropFadeIn 0.3s ease-out;
}

.activity-wheel-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.activity-wheel-toggle:hover {
  transform: scale(1.1);
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

.activity-wheel.has-activity .activity-wheel-toggle {
  border-color: rgba(0, 255, 136, 0.6);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.activity-wheel-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: bounce 1s ease-in-out infinite;
}

/* Radial Slots Animation */
.activity-wheel-slots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  animation: wheelExpand 0.5s ease-out;
}

.activity-slot {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slotAppear 0.6s ease-out;
}

.activity-slot:hover {
  transform: scale(1.1);
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

/* Slot Positions (like weapon wheel) */
.slot-1 {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.1s;
}

.slot-2 {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  animation-delay: 0.2s;
}

.slot-3 {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.3s;
}

.slot-4 {
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  animation-delay: 0.4s;
}

.slot-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.slot-label {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.slot-count {
  font-size: 12px;
  color: #00ff88;
  font-weight: bold;
}

/* Expanded Activity List */
.activity-expanded-list {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 350px;
  height: 300px;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: slideInFromTopLeft 0.4s ease-out;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.expanded-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: bold;
}

.close-expanded {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-expanded:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.expanded-activity-list {
  padding: 16px;
  max-height: 220px;
  overflow-y: auto;
}

.expanded-activity-item {
  display: flex;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  animation: slideInFromRight 0.3s ease-out;
}

.expanded-activity-item:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateX(5px);
}

.expanded-activity-icon {
  font-size: 20px;
  margin-right: 12px;
  width: 24px;
  text-align: center;
}

.expanded-activity-content {
  flex: 1 1;
}

.expanded-activity-text {
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.expanded-activity-time {
  color: #888;
  font-size: 12px;
}

/* Enhanced Task Pulse Animations */
@keyframes taskPulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

@keyframes travelingLine {
  0% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
  }
}

@keyframes bidLineTravel {
  0% {
    stroke-dashoffset: 0;
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
    transform: scaleY(0.5) translateZ(0);
  }
  5% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.8));
    transform: scaleY(1) translateZ(2px);
  }
  25% {
    filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.9));
    transform: scaleY(1.1) translateZ(5px);
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    transform: scaleY(1.2) translateZ(8px);
  }
  75% {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    transform: scaleY(1.1) translateZ(5px);
  }
  95% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transform: scaleY(1) translateZ(2px);
  }
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
    transform: scaleY(0.5) translateZ(0);
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Radial Wheel Animations */
@keyframes wheelExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes slotAppear {
  0% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes listExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromTopLeft {
  0% {
    opacity: 0;
    transform: translate(-20px, -20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@keyframes backdropFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Cyberpunk-style glow effects */
.task-pulse-glow {
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.traveling-line-glow {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Enhanced 3D traveling lines for bid animations */
.bid-traveling-line {
  animation: bidLineTravel 4s ease-in-out;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
  transform-style: preserve-3d;
  perspective: 1000px;
}

.bid-traveling-line-glow {
  animation: bidLineTravel 4s ease-in-out;
  filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.4));
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* 3D Contact Point Indicators */
.contact-point-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: contactPointPulse 2s ease-in-out infinite;
}

@keyframes contactPointPulse {
  0% {
    transform: scale(1) translateZ(0);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2) translateZ(5px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateZ(0);
    opacity: 0.8;
  }
}

/* Enhanced 3D line effects */
.line-3d-solid {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transform-style: preserve-3d;
  perspective: 1000px;
}

.line-3d-glow {
  filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.5));
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Provider online status indicator */
.provider-online {
  background: rgba(0, 255, 136, 0.2);
  border: 1px solid rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Enhanced marker animations */
.task-marker {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.task-marker:hover {
  transform: scale(1.2);
}

.task-marker.pulsing {
  animation: taskPulse 2s ease-in-out infinite;
}

.task-marker.pulsing .marker-pulse {
  animation: taskPulse 1.5s ease-in-out infinite;
}

/* Popularity-based pulse intensity */
.task-marker.popularity-high {
  animation: taskPulse 1s ease-in-out infinite;
}

.task-marker.popularity-medium {
  animation: taskPulse 1.5s ease-in-out infinite;
}

.task-marker.popularity-low {
  animation: taskPulse 2s ease-in-out infinite;
}

/* Urgent task indicator */
.urgent-indicator {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(255, 0, 0, 0.9);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  animation: urgentPulse 1s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@keyframes urgentPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes bidReceivedPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  }
}

.bid-received-pulse {
  animation: bidReceivedPulse 1s ease-in-out;
}

/* Ecosystem stats enhancements */
.ecosystem-stats {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 1px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.ecosystem-stats .stat-number {
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
  }
  to {
    text-shadow: 0 0 20px rgba(0, 255, 136, 1), 0 0 30px rgba(0, 255, 136, 0.5);
  }
}

/* Activity feed scrollbar */
.activity-list::-webkit-scrollbar {
  width: 4px;
}

.activity-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.activity-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.5);
  border-radius: 2px;
}

.activity-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 136, 0.8);
}

/* Mobile responsiveness for activity wheel */
@media (max-width: 768px) {
  .activity-wheel-slots {
    width: 250px;
    height: 250px;
  }
  
  .activity-slot {
    width: 60px;
    height: 60px;
  }
  
  .slot-1 { top: -30px; }
  .slot-2 { right: -30px; }
  .slot-3 { bottom: -30px; }
  .slot-4 { left: -30px; }
  
  .activity-expanded-list {
    width: 280px;
    height: 240px;
    top: 10px;
    left: 10px;
  }
  
  .slot-icon {
    font-size: 18px;
  }
  
  .slot-label {
    font-size: 8px;
  }
  
  .slot-count {
    font-size: 10px;
  }
  
  /* Top-left stats and filter mobile */
  .globe-stats-top-left {
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .category-filter-compact {
    margin-top: 6px;
  }
  
  .location-filter-compact {
    margin-top: 6px;
  }
  
  .category-filters-row {
    gap: 4px;
  }
  
  .location-filters-row {
    gap: 4px;
  }
  
  .category-filter-item-compact {
    min-width: 50px;
    padding: 2px 4px;
    font-size: 8px;
  }
  
  .location-filter-item-compact {
    min-width: 50px;
    padding: 2px 4px;
    font-size: 8px;
  }
  
  .category-name-compact {
    font-size: 7px;
  }
  
  .location-name-compact {
    font-size: 7px;
  }
  
  .category-count-compact {
    font-size: 6px;
  }
  
  .location-count-compact {
    font-size: 6px;
  }
  
  .filter-btn-compact {
    padding: 2px 4px;
    font-size: 7px;
  }

  .filter-summary-compact {
    font-size: 7px;
  }
  
  /* Bottom-left stats and filter mobile */
  .globe-stats-bottom {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .stats-section {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    width: -webkit-fit-content;
    width: fit-content;
    min-width: 400px;
  }
  
  .stat-item {
    min-width: 60px;
  }
  
  .stat-number {
    font-size: 16px;
  }
  
  .stat-label {
    font-size: 8px;
  }
  
  .category-filter-section {
    max-height: 200px;
  }
  
  .category-filters {
    max-height: 150px;
    padding: 12px;
  }
  
  .category-filter-item {
    padding: 6px 8px;
    font-size: 12px;
  }
  
  .filter-actions {
    flex-direction: column;
    gap: 6px;
  }
  
  .filter-btn {
    padding: 6px 8px;
    font-size: 10px;
  }
  
  .location-filter-section {
    margin-top: 8px;
    padding: 8px;
  }
  
  .location-filters {
    max-height: 120px;
    gap: 6px;
  }
  
  .location-filter-item {
    padding: 4px 6px;
  }
  
  .location-name {
    font-size: 11px;
  }
  
  .location-count {
    font-size: 10px;
    padding: 1px 4px;
  }
  
  /* Debug tooltip mobile */
  .debug-tooltip-container {
    top: 10px;
    right: 10px;
  }
  
  .debug-tooltip-content {
    width: 280px;
    right: -10px;
  }
  
  .debug-content {
    font-size: 11px;
    padding: 12px;
  }
}

/* Dark theme enhancements for ecosystem */
[data-theme="dark"] .activity-feed {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

[data-theme="dark"] .activity-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .activity-item:hover {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
} 

/* Light theme styles (when dark theme is disabled) */
 

/* Pulsing Layer System */
.task-marker.pulsing-animation {
  animation: layerPulse 1s ease-in-out;
}

@keyframes layerPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.overlapping-indicator {
  animation: overlappingPulse 2s ease-in-out infinite;
}

@keyframes overlappingPulse {
  0%, 100% {
    transform: scale(1);
    background: #00ff88;
  }
  50% {
    transform: scale(1.1);
    background: #00cc6a;
  }
}

/* Enhanced marker styles for pulsing system */
.task-marker[data-group-size] {
  position: relative;
}

.task-marker[data-group-size="1"] {
  /* Single marker - no special styling */
}

.task-marker[data-group-size]:not([data-group-size="1"]) {
  /* Multiple markers - add subtle glow */
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Layer transition effects */
.task-marker {
  transition: all 0.5s ease;
}

.task-marker:hover {
  transform: scale(1.1) !important;
  z-index: 1000;
}

/* Overlapping group info tooltip */
.overlapping-indicator:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  z-index: 1001;
  margin-bottom: 4px;
} 
.browse-tasks-table-root {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  overflow-x: auto;
}
.browse-tasks-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.browse-tasks-filters select,
.browse-tasks-filters input {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 1em;
  background: #f5f5f5;
  color: #222;
  outline: none;
  transition: border 0.18s;
}
.browse-tasks-filters select:focus,
.browse-tasks-filters input:focus {
  border: 1.5px solid #2d7a46;
}

.browse-tasks-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-surface);
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  overflow: hidden;
  table-layout: fixed;
}
.browse-tasks-table th, .browse-tasks-table td {
  padding: 8px 6px;
  text-align: left;
  font-size: 0.98em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.browse-tasks-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
}
.browse-tasks-table tr {
  transition: background 0.18s;
}
.browse-tasks-table .task-row:hover {
  background: var(--color-highlight);
  cursor: pointer;
}
.browse-tasks-table .post-task-row {
  background: var(--color-secondary);
  font-weight: 600;
  color: var(--color-primary);
  transition: background 0.18s;
}
.browse-tasks-table .post-task-row:hover {
  background: var(--color-primary-light);
  color: #fff;
}
.post-task-cell {
  text-align: left;
  padding-left: 18px;
}
.task-highlight-badge {
  display: inline-block;
  background: var(--color-warning);
  color: #fff;
  font-size: 0.95em;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 10px;
  margin-right: 8px;
}
.task-due-date {
  color: var(--color-muted);
  font-size: 0.95em;
}
body[data-theme='dark'] .browse-tasks-table {
  background: var(--color-surface);
}
body[data-theme='dark'] .browse-tasks-table th {
  background: var(--color-primary);
  color: #fff;
  border-bottom: 2px solid var(--color-border);
}
body[data-theme='dark'] .browse-tasks-table .post-task-row {
  background: var(--color-secondary);
  color: var(--color-primary);
}
body[data-theme='dark'] .browse-tasks-table .post-task-row:hover {
  background: var(--color-primary-light);
  color: #fff;
}
body[data-theme='dark'] .task-highlight-badge {
  background: var(--color-warning);
  color: #23202a;
} 

.browse-tasks-list-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.task-card-list {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,64,67,0.08);
  border: 1px solid #e0e0e0;
  padding: 18px 22px;
  transition: box-shadow 0.18s, border 0.18s;
  cursor: pointer;
}
.task-card-list.selected, .task-card-list:hover {
  box-shadow: 0 4px 16px rgba(60,64,67,0.16);
  border: 1.5px solid #4285f4;
}
.task-card-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.task-title {
  font-size: 1.15em;
  font-weight: 600;
  color: #222;
}
.task-highlight-badge {
  background: #ffb300;
  color: #fff;
  font-size: 0.95em;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 10px;
  margin-left: 8px;
}
.task-card-list-body {
  font-size: 1em;
  color: #444;
}
.task-meta-row {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 0.98em;
  color: #666;
}
.btn.btn-primary {
  background: #4285f4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.btn.btn-primary:hover {
  background: #1967d2;
} 

/* Task card enhancements for wellness services */
.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.task-title-section {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1;
}

.task-category-icon {
  font-size: 1.2em;
  flex-shrink: 0;
}

.task-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.certification-required-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #f59e0b;
}

.background-check-badge {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #22c55e;
}

.insurance-badge {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #6366f1;
}

.wellness-service-badge {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  color: #166534;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  border: 1px solid #22c55e;
}

.task-category-info {
  margin-top: 8px;
  padding: 8px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.category-name {
  font-weight: 600;
  color: #374151;
  font-size: 0.9em;
}

.cert-info {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.8em;
  font-style: italic;
}

.wellness-service-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
}

.wellness-service-notice p {
  margin: 0;
  color: #92400e;
  font-size: 0.85em;
  line-height: 1.4;
}

.wellness-service-notice strong {
  font-weight: 600;
}

/* Enhanced task card for wellness services */
.task-card:has(.wellness-service-badge) {
  border: 2px solid #bbf7d0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.task-card:has(.wellness-service-badge):hover {
  border-color: #22c55e;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

/* Urgency badges styling */
.urgency-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
}

.urgency-badge.urgency-standard {
  background: #f3f4f6;
  color: #4b5563;
}

.urgency-badge.urgency-urgent {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.urgency-badge.urgency-emergency {
  background: #7f1d1d;
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .task-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .task-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .certification-required-badge,
  .background-check-badge,
  .insurance-badge,
  .wellness-service-badge {
    font-size: 0.7em;
    padding: 3px 6px;
  }
  
  .wellness-service-notice {
    padding: 8px;
  }
  
  .task-category-info {
    padding: 6px;
  }
} 
.post-task-slidein-root {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 420px;
  min-width: 0;
  box-sizing: border-box;
  height: 100vh;
  background: #fff;
  box-shadow: 4px 0 24px 0 rgba(0,0,0,0.12);
  z-index: 3000;
  transform: translateX(-110%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}
.post-task-slidein-root.open {
  transform: translateX(0);
}
.post-task-slidein-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 10px 28px;
  border-bottom: none;
  background: #e3f2fd;
  color: #1976d2;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.post-task-slidein-header h3 {
  margin: 0;
  font-size: 1.3em;
  color: #1976d2;
}
.close-btn {
  background: none;
  border: none;
  font-size: 2em;
  color: #1976d2;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.18s;
}
.close-btn:hover {
  color: #0d47a1;
}
.post-task-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}
.post-task-form label {
  font-weight: 500;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-task-form input,
.post-task-form textarea,
.post-task-form select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  font-size: 1em;
  background: #fff;
  color: #222;
  outline: none;
  transition: border 0.18s;
}
.post-task-form input:focus,
.post-task-form textarea:focus,
.post-task-form select:focus {
  border: 1.5px solid var(--color-primary);
}
.post-task-form textarea {
  min-height: 60px;
  resize: vertical;
}

/* Form row for side-by-side inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

/* Location section styling */
.location-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.location-input-group input {
  flex: 1 1;
}

.location-picker-btn {
  padding: 8px 12px;
  background: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.18s;
  white-space: nowrap;
}

.location-picker-btn:hover {
  background: #1565c0;
}

.location-picker-container {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.selected-location-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.location-icon {
  font-size: 16px;
}

.location-text {
  flex: 1 1;
  word-break: break-word;
}

.form-error {
  color: #d32f2f;
  font-size: 0.98em;
  margin-bottom: 8px;
}
.add-to-feed-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 500;
  color: var(--color-primary);
  flex-direction: row;
}
.submit-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: none;
}
.submit-btn:hover {
  background: #1565c0;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.18);
}
@media (max-width: 600px) {
  .post-task-slidein-root {
    width: 100vw;
    padding: 0;
  }
  .post-task-form {
    padding: 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .post-task-slidein-root {
    max-width: 220px;
  }
} 
.feeds-carousel-root {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feeds-carousel-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
  overflow: hidden;
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feeds-carousel-media {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  background: #e0e0e0;
  border-radius: 0 0 0 0;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  color: #2d7a46;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s;
}
.carousel-nav.left {
  left: 12px;
}
.carousel-nav.right {
  right: 12px;
}
.carousel-nav:hover {
  background: #e8f5e8;
}
.feeds-carousel-engagement {
  position: absolute;
  right: 18px;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.engage-btn {
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.1em;
  color: #2d7a46;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.06);
  transition: background 0.18s;
}
.engage-btn:hover {
  background: #e8f5e8;
}
.feeds-carousel-info {
  width: 100%;
  padding: 22px 28px 10px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feeds-carousel-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #2d7a46;
}
.feeds-carousel-desc {
  color: #444;
  font-size: 1.05em;
}
.feeds-carousel-meta {
  display: flex;
  gap: 18px;
  font-size: 1em;
  color: #555;
  margin-top: 4px;
}
.meta-badge {
  background: #e8f5e8;
  color: #2d7a46;
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 600;
}
.meta-location {
  color: #888;
}
.meta-price {
  color: #256b3c;
  font-weight: 600;
}
.feeds-carousel-comments {
  width: 100%;
  background: #f5f5f5;
  border-top: 1px solid #eee;
  padding: 16px 24px 12px 24px;
  margin-top: 8px;
  border-radius: 0 0 16px 16px;
}
.comments-title {
  font-weight: 600;
  color: #2d7a46;
  margin-bottom: 8px;
}
.comments-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}
.comments-list li {
  margin-bottom: 4px;
  color: #444;
}
.no-comments {
  color: #888;
  font-size: 1em;
  margin-bottom: 8px;
}
.comment-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 1em;
  background: #fff;
  color: #222;
  outline: none;
  transition: border 0.18s;
}
.comment-input:focus {
  border: 1.5px solid #2d7a46;
}
@media (max-width: 700px) {
  .feeds-carousel-root, .feeds-carousel-content {
    max-width: 100vw;
    min-width: 0;
    padding: 0;
  }
  .feeds-carousel-info, .feeds-carousel-comments {
    padding-left: 10px;
    padding-right: 10px;
  }
} 
.dm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.18);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-modal-root {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px 0 rgba(0,0,0,0.18);
  width: 680px;
  max-width: 98vw;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 10px 28px;
  border-bottom: 1px solid #eee;
}
.dm-modal-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #2d7a46;
}
.dm-modal-close {
  background: none;
  border: none;
  font-size: 2em;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.18s;
}
.dm-modal-close:hover {
  color: #2d7a46;
}
.dm-modal-body {
  display: flex;
  flex: 1 1;
  min-height: 320px;
}
.dm-user-list {
  width: 180px;
  background: #f5f5f5;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.dm-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.18s;
}
.dm-user-item.selected, .dm-user-item:hover {
  background: #e8f5e8;
}
.dm-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: #2d7a46;
  font-weight: 700;
  overflow: hidden;
}
.dm-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.dm-user-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dm-user-name {
  font-weight: 600;
  color: #2d7a46;
}
.dm-user-last {
  color: #888;
  font-size: 0.98em;
}
.dm-chat-window {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 0;
}
.dm-chat-header {
  font-weight: 600;
  color: #2d7a46;
  padding: 14px 18px 0 18px;
}
.dm-chat-messages {
  flex: 1 1;
  overflow-y: auto;
  padding: 10px 18px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dm-chat-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  color: #444;
}
.dm-chat-msg.me {
  justify-content: flex-end;
  color: #2d7a46;
}
.dm-chat-msg-user {
  font-weight: 600;
  color: #2d7a46;
}
.dm-chat-msg.me .dm-chat-msg-user {
  color: #256b3c;
}
.dm-chat-msg-text {
  background: #e8f5e8;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 0 2px;
}
.dm-chat-msg.me .dm-chat-msg-text {
  background: #c8e6c9;
}
.dm-chat-msg-time {
  color: #aaa;
  font-size: 0.95em;
}
.dm-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 14px 18px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.dm-chat-input {
  flex: 1 1;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 1em;
  background: #fff;
  color: #222;
  outline: none;
  transition: border 0.18s;
}
.dm-chat-input:focus {
  border: 1.5px solid #2d7a46;
}
.dm-chat-send {
  background: #2d7a46;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.dm-chat-send:hover {
  background: #256b3c;
}
@media (max-width: 700px) {
  .dm-modal-root {
    width: 98vw;
    min-width: 0;
    padding: 0;
  }
  .dm-modal-header, .dm-chat-header, .dm-chat-input-row {
    padding-left: 8px;
    padding-right: 8px;
  }
  .dm-user-list {
    width: 90px;
  }
} 
.profile-icon-container {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-icon-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 0 rgba(45, 122, 70, 0.2);
  position: relative;
}

.profile-icon-btn.active,
.profile-icon-btn:focus {
  box-shadow: 0 0 0 4px rgba(45, 122, 70, 0.15);
  transform: scale(1.05);
}

.profile-icon-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(45, 122, 70, 0.1);
}

/* Enhanced visual feedback for profile settings modal */
.profile-icon-btn.profile-settings-active {
  animation: profileIconPulse 0.6s ease-out;
  box-shadow: 0 0 0 8px rgba(45, 122, 70, 0.3);
  filter: blur(1px);
  pointer-events: none;
}

/* Blur and lock effect when profile settings is open */
.profile-icon-btn.profile-settings-open {
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

/* Disable hover effects when profile settings is open */
.profile-icon-btn.profile-settings-open:hover {
  transform: scale(0.95);
  box-shadow: 0 0 0 0 rgba(45, 122, 70, 0.2);
}

@keyframes profileIconPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(45, 122, 70, 0.2);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 12px rgba(45, 122, 70, 0.4);
  }
  100% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(45, 122, 70, 0.3);
  }
}
.profile-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-panel {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 260px;
  background: #fff;
  background: var(--panel-bg, #fff);
  color: #222;
  color: var(--panel-fg, #222);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
  z-index: 100000;
}
.profile-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.profile-panel-header {
  display: flex;
  align-items: center;
  padding: 18px 20px 10px 20px;
  border-bottom: 1px solid #eee;
}
.profile-panel-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-panel-info {
  margin-left: 14px;
}
.profile-panel-name {
  font-weight: 600;
  font-size: 1.1em;
}
.profile-panel-email {
  font-size: 0.95em;
  color: #888;
}
.profile-panel-actions {
  padding: 14px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-panel-divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}
.profile-panel-action {
  background: #f5f5f5;
  border: none;
  border-radius: 6px;
  padding: 8px 0;
  font-size: 1em;
  color: #2d7a46;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
}
.profile-panel-action:hover {
  background: #e8f5e8;
}

/* Dark Mode Toggle */
.dark-mode-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dark-mode-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 28px;
  position: relative;
  display: flex;
  align-items: center;
}
.toggle-track {
  width: 48px;
  height: 28px;
  background: #e0e0e0;
  border-radius: 14px;
  position: relative;
  transition: background 0.3s;
  display: flex;
  align-items: center;
}
.dark-mode-toggle.on .toggle-track {
  background: #2d7a46;
}
.toggle-thumb {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  transition: left 0.32s cubic-bezier(.4,0,.2,1), background 0.2s;
}
.dark-mode-toggle.on .toggle-thumb {
  left: 22px;
  background: #222;
  color: #ffe066;
}
.toggle-icon {
  transition: opacity 0.2s, transform 0.3s;
  opacity: 1;
}
.toggle-icon.sun {
  color: #fbc02d;
}
.toggle-icon.moon {
  color: #ffe066;
}

/* Dark mode theme for panel */
body.dark-mode {
  --panel-bg: #23272f;
  --panel-fg: #f5f5f5;
  background: #181c22 !important;
  color: #f5f5f5 !important;
}
body.dark-mode .profile-panel {
  background: #23272f;
  background: var(--panel-bg, #23272f);
  color: #f5f5f5;
  color: var(--panel-fg, #f5f5f5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.38);
}
body.dark-mode .profile-panel-action {
  background: #23272f;
  color: #e8f5e8;
}
body.dark-mode .profile-panel-action:hover {
  background: #2d7a46;
  color: #fff;
}
body.dark-mode .dark-mode-toggle .toggle-track {
  background: #444;
}
body.dark-mode .dark-mode-toggle.on .toggle-track {
  background: #ffe066;
}
body.dark-mode .dark-mode-toggle .toggle-thumb {
  background: #23272f;
  color: #ffe066;
}

/* Profile Details Section */
.profile-details-section {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.profile-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.9em;
}

.profile-detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  color: #666;
  min-width: 80px;
  flex-shrink: 0;
}

.detail-value {
  color: #333;
  text-align: right;
  flex: 1 1;
  margin-left: 12px;
}

.detail-value.provider {
  color: #28a745;
  font-weight: 600;
}

.detail-value.customer {
  color: #007bff;
  font-weight: 600;
}

.detail-value.user {
  color: #6c757d;
  font-weight: 600;
}

.detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.category-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
  white-space: nowrap;
}

.category-more {
  background: #e9ecef;
  color: #6c757d;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
}

/* Dark mode styles for profile details */
body.dark-mode .profile-details-section {
  background: #2a2e36;
  border-bottom-color: #444;
}

body.dark-mode .detail-label {
  color: #aaa;
}

body.dark-mode .detail-value {
  color: #f5f5f5;
}

body.dark-mode .detail-value.provider {
  color: #4ecdc4;
}

body.dark-mode .detail-value.customer {
  color: #74b9ff;
}

body.dark-mode .detail-value.user {
  color: #a29bfe;
}

body.dark-mode .category-more {
  background: #444;
  color: #aaa;
} 
.notification-bell-root {
  position: relative;
  display: inline-block;
  margin-left: 18px;
}
.notification-bell-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  font-size: 1.7em;
  color: #2d7a46;
  transition: color 0.18s;
}
.notification-bell-btn:hover .bell-icon {
  color: #7c4dff;
}
.bell-icon {
  font-size: 1.2em;
  vertical-align: middle;
}
.bell-badge {
  position: absolute;
  top: 0px;
  right: -4px;
  background: #d32f2f;
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
  z-index: 2;
}
.notification-panel {
  position: absolute;
  top: 38px;
  right: 0;
  min-width: 280px;
  background: #fff;
  background: var(--panel-bg, #fff);
  color: #222;
  color: var(--panel-fg, #222);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 100;
  padding: 0;
  overflow: hidden;
  animation: fadeInPanel 0.22s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.notification-panel-header {
  font-weight: 700;
  color: #2d7a46;
  padding: 14px 18px 8px 18px;
  border-bottom: 1px solid #eee;
  background: #fff;
  background: var(--panel-bg, #fff);
}
.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}
.notification-item {
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1em;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  background: var(--panel-bg, #fff);
  transition: background 0.18s;
}
.notification-item.unread {
  background: #e8f5e8;
  color: #2d7a46;
  font-weight: 600;
}
.notification-item:last-child {
  border-bottom: none;
}
.notification-text {
  flex: 1 1;
  margin-right: 10px;
}
.notification-time {
  color: #888;
  font-size: 0.95em;
  min-width: 48px;
  text-align: right;
}
.notification-empty {
  color: #888;
  text-align: center;
  padding: 24px 0;
}
body.dark-mode .notification-bell-btn {
  color: #ffe066;
}
body.dark-mode .notification-panel {
  background: #23272f;
  color: #f5f5f5;
  box-shadow: 0 8px 32px rgba(0,0,0,0.38);
}
body.dark-mode .notification-panel-header {
  background: #23272f;
  color: #ffe066;
  border-bottom: 1px solid #444;
}
body.dark-mode .notification-item {
  background: #23272f;
  color: #f5f5f5;
  border-bottom: 1px solid #333;
}
body.dark-mode .notification-item.unread {
  background: #7c4dff22;
  color: #ffe066;
}
body.dark-mode .bell-badge {
  background: #ffe066;
  color: #23272f;
} 
.dashboard-stats-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.dashboard-stats-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.dashboard-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.dashboard-stats-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.live-dot.active {
  background: #00ff88;
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
}

.live-dot.inactive {
  background: #95a5a6;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card.active-tasks::before {
  background: linear-gradient(90deg, #4ecdc4 0%, #44a08d 100%);
}

.stat-card.active-users::before {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-card.high-risk::before {
  background: linear-gradient(90deg, #ff6b6b 0%, #ee5a52 100%);
}

.stat-card.high-payout::before {
  background: linear-gradient(90deg, #feca57 0%, #ff9ff3 100%);
}

.stat-card.total-value::before {
  background: linear-gradient(90deg, #48dbfb 0%, #0abde3 100%);
}

.stat-card.avg-payout::before {
  background: linear-gradient(90deg, #ff9ff3 0%, #f368e0 100%);
}

.stat-card.urgent-tasks::before {
  background: linear-gradient(90deg, #ff6b6b 0%, #c44569 100%);
}

.stat-card.completed-today::before {
  background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-content {
  flex: 1 1;
  min-width: 0;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #7f8c8d;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-trend {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.stat-trend.positive {
  background: rgba(0, 255, 136, 0.1);
  color: #00cc6a;
}

.stat-trend.warning {
  background: rgba(255, 107, 107, 0.1);
  color: #ee5a52;
}

.stat-trend.neutral {
  background: rgba(149, 165, 166, 0.1);
  color: #7f8c8d;
}

.dashboard-stats-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  color: #7f8c8d;
}

.stats-timestamp {
  font-weight: 500;
}

.stats-summary {
  display: flex;
  gap: 16px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.summary-dot.high-risk {
  background: #ff6b6b;
}

.summary-dot.high-payout {
  background: #feca57;
}

.summary-dot.urgent {
  background: #c44569;
}

.dashboard-stats-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.stats-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

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

.dashboard-stats-loading p {
  color: #7f8c8d;
  font-weight: 500;
  margin: 0;
}

/* Dark theme support */
body[data-theme='dark'] .dashboard-stats-container {
  background: rgba(44, 62, 80, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme='dark'] .dashboard-stats-header h3 {
  color: #ecf0f1;
}

body[data-theme='dark'] .dashboard-stats-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme='dark'] .stat-card {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme='dark'] .stat-number {
  color: #ecf0f1;
}

body[data-theme='dark'] .stat-label {
  color: #bdc3c7;
}

body[data-theme='dark'] .stat-icon {
  /* Background color is now handled by inline styles */
}

body[data-theme='dark'] .dashboard-stats-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
}

/* Responsive design */
@media (max-width: 768px) {
  .dashboard-stats-container {
    padding: 16px;
    margin-bottom: 16px;
  }

  .dashboard-stats-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .dashboard-stats-header h3 {
    font-size: 1.25rem;
  }

  .dashboard-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .dashboard-stats-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .stats-summary {
    flex-wrap: wrap;
    gap: 12px;
  }
}

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

  .stat-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .stat-content {
    text-align: center;
  }
}

/* Animation for real-time updates */
.stat-card.updating {
  animation: updatePulse 0.5s ease-in-out;
}

@keyframes updatePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Animated stat number styles */
.stat-number-rolling {
  animation: numberRoll 0.6s ease-out;
}

.stat-number.animated {
  font-weight: 800;
  text-shadow: 0 0 8px currentColor;
}

@keyframes numberRoll {
  0% { 
    transform: scale(1) rotateX(0deg); 
    opacity: 1;
  }
  50% { 
    transform: scale(1.1) rotateX(10deg); 
    opacity: 0.8;
  }
  100% { 
    transform: scale(1) rotateX(0deg); 
    opacity: 1;
  }
}

/* Hover effects for interactive elements */
.stat-card:hover .stat-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.stats-live-indicator:hover {
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

body[data-theme='dark'] .stats-live-indicator:hover {
  background: rgba(255, 255, 255, 0.1);
} 
.notification-permission-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.notification-permission-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideInScale 0.4s ease-out;
  position: relative;
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.notification-permission-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px 24px 20px;
  border-radius: 16px 16px 0 0;
  text-align: center;
  position: relative;
}

.notification-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.notification-permission-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.notification-permission-content {
  padding: 24px;
}

.provider-content h3,
.customer-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.provider-content p,
.customer-content p {
  margin: 0 0 16px 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.provider-content ul,
.customer-content ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
  list-style: none;
}

.provider-content li,
.customer-content li {
  margin-bottom: 8px;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  padding-left: 8px;
}

.notification-benefits {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  border: 1px solid #e2e8f0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #475569;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.permission-denied-warning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.permission-denied-warning p {
  margin: 0 0 12px 0;
  color: #dc2626;
  font-weight: 500;
  font-size: 0.9rem;
}

.permission-denied-warning ol {
  margin: 0;
  padding-left: 20px;
  color: #7f1d1d;
  font-size: 0.85rem;
  line-height: 1.5;
}

.permission-denied-warning li {
  margin-bottom: 4px;
}

.notification-permission-actions {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-allow-notifications {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-allow-notifications:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-allow-notifications:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-later {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-later:hover:not(:disabled) {
  background: #e5e7eb;
  border-color: #9ca3af;
  color: #374151;
}

.btn-later:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.notification-permission-footer {
  padding: 0 24px 24px;
  text-align: center;
}

.privacy-note {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* Provider-specific styling */
.notification-permission-modal.provider-theme .notification-permission-header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.notification-permission-modal.provider-theme .btn-allow-notifications {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.notification-permission-modal.provider-theme .btn-allow-notifications:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Customer-specific styling */
.notification-permission-modal.customer-theme .notification-permission-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.notification-permission-modal.customer-theme .btn-allow-notifications {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.notification-permission-modal.customer-theme .btn-allow-notifications:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
  .notification-permission-overlay {
    padding: 10px;
  }
  
  .notification-permission-modal {
    max-height: 95vh;
  }
  
  .notification-permission-header {
    padding: 20px 20px 16px;
  }
  
  .notification-permission-header h2 {
    font-size: 1.5rem;
  }
  
  .notification-permission-content {
    padding: 20px;
  }
  
  .notification-permission-actions {
    padding: 0 20px 20px;
  }
  
  .notification-permission-footer {
    padding: 0 20px 20px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .notification-permission-modal {
    background: #1f2937;
    color: #f9fafb;
  }
  
  .provider-content h3,
  .customer-content h3 {
    color: #f9fafb;
  }
  
  .provider-content p,
  .customer-content p {
    color: #d1d5db;
  }
  
  .provider-content li,
  .customer-content li {
    color: #e5e7eb;
  }
  
  .notification-benefits {
    background: #374151;
    border-color: #4b5563;
  }
  
  .benefit-item {
    color: #d1d5db;
  }
  
  .btn-later {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
  }
  
  .btn-later:hover:not(:disabled) {
    background: #4b5563;
    border-color: #6b7280;
    color: #f9fafb;
  }
  
  .privacy-note {
    color: #9ca3af;
  }
} 
.notification-denial-reminder-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.notification-denial-reminder-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
  position: relative;
}

.reminder-header {
  display: flex;
  align-items: center;
  padding: 24px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.reminder-icon {
  font-size: 24px;
  margin-right: 12px;
  animation: pulse 2s infinite;
}

.reminder-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1 1;
}

.reminder-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.reminder-close-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.reminder-content {
  padding: 20px 24px;
}

.reminder-message {
  font-size: 16px;
  line-height: 1.5;
  color: #4a4a4a;
  margin: 0 0 20px 0;
}

.reminder-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #007bff;
}

.benefit-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.benefit-item span:last-child {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.reminder-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 24px;
}

.reminder-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.reminder-btn.primary {
  background: #007bff;
  color: white;
}

.reminder-btn.primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.reminder-btn.secondary {
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
}

.reminder-btn.secondary:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.reminder-btn.text {
  background: none;
  color: #6c757d;
  text-decoration: underline;
  padding: 8px 20px;
}

.reminder-btn.text:hover {
  color: #495057;
  background: #f8f9fa;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .notification-denial-reminder-modal {
    background: #1a1a1a;
    color: #ffffff;
  }

  .reminder-header {
    border-bottom-color: #333;
  }

  .reminder-header h3 {
    color: #ffffff;
  }

  .reminder-close-btn {
    color: #999;
  }

  .reminder-close-btn:hover {
    background: #333;
    color: #fff;
  }

  .reminder-message {
    color: #cccccc;
  }

  .benefit-item {
    background: #2a2a2a;
    border-left-color: #007bff;
  }

  .benefit-item span:last-child {
    color: #cccccc;
  }

  .reminder-btn.secondary {
    background: #2a2a2a;
    color: #cccccc;
    border-color: #444;
  }

  .reminder-btn.secondary:hover {
    background: #333;
    border-color: #555;
  }

  .reminder-btn.text {
    color: #999;
  }

  .reminder-btn.text:hover {
    color: #ccc;
    background: #2a2a2a;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive design */
@media (max-width: 480px) {
  .notification-denial-reminder-modal {
    width: 95%;
    margin: 20px;
  }

  .reminder-header {
    padding: 20px 20px 12px;
  }

  .reminder-content {
    padding: 16px 20px;
  }

  .reminder-actions {
    padding: 12px 20px 20px;
  }

  .reminder-btn {
    padding: 14px 16px;
    font-size: 15px;
  }
} 
.telegram-linking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.telegram-linking-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.modal-content {
  padding: 0 24px 24px 24px;
}

.step-content {
  text-align: center;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.step-icon.success {
  color: #10b981;
}

.step-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.step-content p {
  margin: 0 0 24px 0;
  color: #6b7280;
  line-height: 1.6;
}

.benefits-list {
  text-align: left;
  margin-bottom: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.benefit-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.linking-steps {
  text-align: left;
  margin-bottom: 24px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.step-number {
  background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  margin-bottom: 4px;
  color: #1f2937;
}

.step-text p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.step-text code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: #dc2626;
}

.linking-code-container {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.linking-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 2px solid #0088cc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.code-text {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0088cc;
  letter-spacing: 2px;
}

.copy-button {
  background: #0088cc;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.code-timer {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.9rem;
}

.code-instruction {
  margin-top: 16px;
  padding: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
}

.code-instruction p {
  margin: 0 0 8px 0;
  color: #0369a1;
  font-size: 0.9rem;
}

.code-instruction ol {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  font-size: 0.9rem;
}

.code-instruction li {
  margin-bottom: 4px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  min-width: 120px;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  min-width: 120px;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.success-features {
  text-align: left;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.feature-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.group-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.group-section h4 {
  margin: 0 0 8px 0;
  color: #1f2937;
  font-weight: 600;
}

.group-section p {
  margin: 0 0 16px 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.group-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
} 
