/*
 * Traquility Bootstrap Theme
 *
 * A stunning, modern theme for Bootstrap 5 with gradient accents,
 * glassmorphic effects, and fluid animations.
 *
 * This file contains reusable theme elements extracted from:
 * - Navigation menu (desktop sidebar & mobile bottom nav)
 * - Reports show page (hero cards, visual elements)
 * - Design system documentation
 *
 * Usage: Import this file in your stylesheets to apply Traquility's
 * stunning design system to any Bootstrap-based page.
 *
 * Version: 1.0
 * Created: 2025-11-18
 */

/* ============================================ */
/* COLOR PALETTE */
/* ============================================ */

:root {
  /* Base RGB Values - Change these to update the primary color throughout the app */
  --traq-primary-rgb: 102, 126, 234;
  --traq-primary-dark-rgb: 118, 75, 162;

  /* Primary Gradient */
  --traq-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --traq-color-primary-start: #667eea;
  --traq-color-primary-end: #764ba2;

  /* Primary Solid Colors */
  --traq-color-primary: #667eea;
  --traq-color-primary-dark: #764ba2;
  --traq-color-primary-light: rgba(var(--traq-primary-rgb), 0.1);

  /* Primary Color with Alpha Variations */
  --traq-primary-alpha-05: rgba(var(--traq-primary-rgb), 0.05);
  --traq-primary-alpha-10: rgba(var(--traq-primary-rgb), 0.1);
  --traq-primary-alpha-15: rgba(var(--traq-primary-rgb), 0.15);
  --traq-primary-alpha-20: rgba(var(--traq-primary-rgb), 0.2);
  --traq-primary-alpha-30: rgba(var(--traq-primary-rgb), 0.3);
  --traq-primary-alpha-40: rgba(var(--traq-primary-rgb), 0.4);
  --traq-primary-alpha-50: rgba(var(--traq-primary-rgb), 0.5);
  --traq-primary-alpha-60: rgba(var(--traq-primary-rgb), 0.6);
  --traq-primary-alpha-95: rgba(var(--traq-primary-rgb), 0.95);
  --traq-primary-alpha-98: rgba(var(--traq-primary-rgb), 0.98);

  /* Primary Dark Color with Alpha Variations */
  --traq-primary-dark-alpha-10: rgba(var(--traq-primary-dark-rgb), 0.1);
  --traq-primary-dark-alpha-15: rgba(var(--traq-primary-dark-rgb), 0.15);
  --traq-primary-dark-alpha-95: rgba(var(--traq-primary-dark-rgb), 0.95);
  --traq-primary-dark-alpha-98: rgba(var(--traq-primary-dark-rgb), 0.98);

  /* Gradient Variations with Alpha */
  --traq-gradient-primary-alpha-10: linear-gradient(135deg, rgba(var(--traq-primary-rgb), 0.1) 0%, rgba(var(--traq-primary-dark-rgb), 0.1) 100%);
  --traq-gradient-primary-alpha-15: linear-gradient(135deg, rgba(var(--traq-primary-rgb), 0.15) 0%, rgba(var(--traq-primary-dark-rgb), 0.15) 100%);
  --traq-gradient-primary-alpha-20: linear-gradient(135deg, rgba(var(--traq-primary-rgb), 0.2) 0%, rgba(var(--traq-primary-dark-rgb), 0.2) 100%);
  --traq-gradient-primary-alpha-95: linear-gradient(135deg, rgba(var(--traq-primary-rgb), 0.95) 0%, rgba(var(--traq-primary-dark-rgb), 0.95) 100%);
  --traq-gradient-primary-alpha-98: linear-gradient(135deg, rgba(var(--traq-primary-rgb), 0.98) 0%, rgba(var(--traq-primary-dark-rgb), 0.98) 100%);
  --traq-gradient-primary-90deg-alpha-15: linear-gradient(90deg, rgba(var(--traq-primary-rgb), 0.15) 0%, rgba(var(--traq-primary-dark-rgb), 0.15) 100%);

  /* Text Colors */
  --traq-text-primary: #1a202c;
  --traq-text-secondary: #2d3748;
  --traq-text-muted: #4a5568;
  --traq-text-light: #718096;
  --traq-text-white: #ffffff;

  /* Background Colors */
  --traq-bg-white: #ffffff;
  --traq-bg-light: #f7fafc;
  --traq-bg-gray: #e2e8f0;
  --traq-bg-gradient-overlay: rgba(255, 255, 255, 0.98);

  /* White with Alpha Variations */
  --traq-white-alpha-10: rgba(255, 255, 255, 0.1);
  --traq-white-alpha-15: rgba(255, 255, 255, 0.15);
  --traq-white-alpha-20: rgba(255, 255, 255, 0.2);
  --traq-white-alpha-30: rgba(255, 255, 255, 0.3);
  --traq-white-alpha-80: rgba(255, 255, 255, 0.8);
  --traq-white-alpha-95: rgba(255, 255, 255, 0.95);
  --traq-white-alpha-98: rgba(255, 255, 255, 0.98);

  /* Semantic Colors */
  --traq-color-success: #28a745;
  --traq-color-warning: #ffc107;
  --traq-color-warning-dark: #d39e00;
  --traq-color-danger: #dc3545;
  --traq-color-info: #17a2b8;
  --traq-color-secondary: #6c757d;
  --traq-color-dark: #343a40;

  /* Semantic Gradients */
  --traq-gradient-secondary: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  --traq-gradient-success: linear-gradient(135deg, #28a745 0%, #218838 100%);
  --traq-gradient-warning: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  --traq-gradient-danger: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  --traq-gradient-info: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  --traq-gradient-dark: linear-gradient(135deg, #343a40 0%, #23272b 100%);

  /* Shadows & Effects */
  --traq-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --traq-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --traq-shadow-lg: 0 10px 40px var(--traq-primary-alpha-30); /* General large shadow with primary tint */
  --traq-shadow-primary: 0 4px 15px var(--traq-primary-alpha-40);
  --traq-shadow-primary-hover: 0 6px 20px var(--traq-primary-alpha-50);
  --traq-shadow-primary-sm: 0 2px 8px var(--traq-primary-alpha-30);
  --traq-shadow-primary-md: 0 4px 12px var(--traq-primary-alpha-40);
  --traq-shadow-primary-lg: 0 10px 40px var(--traq-primary-alpha-50); /* Strong primary shadow for prominent elements */

  /* Navigation-specific */
  --traq-nav-bg-mobile: var(--traq-white-alpha-95);
  --traq-nav-bg-desktop: #ffffff;
  --traq-nav-border-color: #dee2e6;
  --traq-nav-text-inactive: #6c757d;
  --traq-nav-text-active: #ffffff;
}

/* ============================================ */
/* BUTTON STYLES */
/* ============================================ */

/* Primary Button with Gradient */
.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--traq-shadow-primary);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--traq-white-alpha-20) 0%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--traq-shadow-primary-hover);
  color: var(--traq-text-white);
  text-decoration: none;
}

.btn-primary-gradient:hover::before {
  transform: translateX(0);
}

.btn-primary-gradient .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-primary-gradient:hover .icon {
  transform: translateX(5px);
}

/* Secondary Button (Glassmorphic) */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--traq-white-alpha-20);
  color: var(--traq-text-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 2px solid var(--traq-white-alpha-30);
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: var(--traq-white-alpha-30);
  transform: translateX(-5px);
  color: var(--traq-text-white);
  text-decoration: none;
}

/* ============================================ */
/* CARD COMPONENTS */
/* ============================================ */

/* Hero Card with Gradient Header */
.card-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: none;
}

.card-hero-inner {
  position: relative;
  background: var(--traq-gradient-primary-alpha-95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

/* Animated Background Effect */
.card-hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, var(--traq-white-alpha-10) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--traq-white-alpha-10) 0%, transparent 50%);
  animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
}

/* Card Header */
.card-hero-header {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}

/* Card Body (white content area) */
.card-hero-body {
  position: relative;
  background: var(--traq-white-alpha-98);
  padding: 2rem;
  border-radius: 20px 20px 0 0;
  margin-top: -10px;
}

/* Standard Content Card with Enhanced Shadow */
.card-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: none;
}

.card-content-inner {
  padding: 3rem;
}

/* Card Hover Effect for Interactive Cards - DISABLED */
.card-hover {
  cursor: pointer;
  /* Hover effects disabled to prevent UI blinking and annoying animations */
}

/* Insight Card with Subtle Animation - DISABLED */
/* Hover effects disabled to prevent UI blinking */
.card-insight {
  display: block; /* dummy property to prevent empty ruleset lint error */
}

/* ============================================ */
/* ICON COMPONENTS */
/* ============================================ */


.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
}

/* Icon Wrapper with default white background (when no score-color is present) */
.icon-wrapper:not([class*="score-color"]) {
  background-color: var(--traq-white-alpha-20);
}

/* Enhanced glassmorphic effect for score-color elements with icon-wrapper */
.icon-wrapper::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  right: 0;
  bottom: 0;
  width: 140%;
  height: 140%;
  border-radius: inherit;
  background-image: url("/assets/button-shadow-57x57-43013a13.png");
  background-origin: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}

/* Icon Sizes */
.icon-wrapper-sm {
  width: 50px;
  height: 50px;
}

.icon-wrapper-md {
  width: 70px;
  height: 70px;
}

.icon-wrapper-lg {
  width: 90px;
  height: 90px;
}

/* Rotating Icon Animation */
.icon-rotate {
  animation: rotateIcon 3s ease-in-out infinite;
}

@keyframes rotateIcon {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
}

/* ============================================ */
/* TYPOGRAPHY */
/* ============================================ */

/* Hero Heading (for gradient backgrounds) */
.heading-hero {
  color: var(--traq-text-white);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

/* Primary Heading with Bottom Border */
.heading-primary {
  font-size: 2rem;
  font-weight: 700;
  color: var(--traq-text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--traq-color-primary);
}

/* Secondary Heading with Left Border */
.heading-secondary {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--traq-text-secondary);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--traq-color-primary);
}

/* Tertiary Heading */
.heading-tertiary {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--traq-text-muted);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Body Text Variations */
.text-body {
  color: var(--traq-text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--traq-text-secondary);
}

.text-small {
  font-size: 0.9rem;
  color: var(--traq-text-light);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

/* Loading Spinner */
.spinner-wrapper {
  display: inline-block;
}

.spinner {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--traq-gradient-primary);
  border-radius: 50%;
  animation: spinPulse 2s ease-in-out infinite;
  box-shadow: var(--traq-shadow-primary);
}

.spinner i {
  font-size: 2.5rem;
  color: var(--traq-text-white);
}

@keyframes spinPulse {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    box-shadow: var(--traq-shadow-primary);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 8px 30px var(--traq-primary-alpha-60);
  }
}

/* Shimmer Effect (Loading State) */
.shimmer-container {
  position: relative;
  overflow: hidden;
}

.shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--traq-primary-alpha-20) 50%,
    transparent 100%);
  animation: shimmerMove 2s infinite;
}

@keyframes shimmerMove {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Trend Indicators */
.trend-up {
  color: #28a745;
  animation: pulse-green 2s infinite;
}

.trend-down {
  color: #dc3545;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============================================ */
/* SPECIAL EFFECTS */
/* ============================================ */

/* Glassmorphism */
.glass {
  background: var(--traq-white-alpha-20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--traq-white-alpha-30);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--traq-white-alpha-10);
}

/* Gradient Backgrounds */
.bg-gradient-primary {
  background: var(--traq-gradient-primary);
}

.bg-gradient-light {
  background: var(--traq-gradient-primary-alpha-10);
}

/* Meta Badge (Profile/Header Info Badge) */
.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--traq-white-alpha-95);
  font-size: 0.95rem;
  background: var(--traq-white-alpha-15);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.meta-badge i {
  font-size: 1.1rem;
}

/* ============================================ */
/* NAVIGATION THEME ELEMENTS */
/* ============================================ */

/* Active State Gradient for Navigation Items */
.nav-item-gradient-active {
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
}

.nav-item-gradient-active:hover {
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
}

/* Subtle Active State for Sub-items */
.nav-subitem-gradient-active {
  background: var(--traq-gradient-primary-90deg-alpha-15);
  color: var(--traq-color-primary);
  border-left: 3px solid var(--traq-color-primary);
}

/* ============================================ */
/* PROGRESS & CHARTS */
/* ============================================ */

/* Progress Ring Animation */
.progress-ring__circle {
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  stroke-linecap: round;
}

/* Chart Container */
.chart-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-container canvas {
  max-width: 100%;
  height: auto !important;
}

/* ============================================ */
/* BADGES & LABELS */
/* ============================================ */

/* Base Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* Primary Badge */
.badge.bg-primary {
  background: var(--traq-gradient-primary) !important;
  color: var(--traq-text-white);
  border: none;
  box-shadow: var(--traq-shadow-primary-sm);
}

.badge.bg-primary:hover {
  box-shadow: var(--traq-shadow-primary);
  transform: translateY(-1px);
}

/* Secondary Badge */
.badge.bg-secondary {
  background: var(--traq-gradient-secondary) !important;
  color: var(--traq-text-white);
  border: none;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.badge.bg-secondary:hover {
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
  transform: translateY(-1px);
}

/* Success Badge */
.badge.bg-success {
  background: var(--traq-gradient-success) !important;
  color: var(--traq-text-white);
  border: none;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.badge.bg-success:hover {
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  transform: translateY(-1px);
}

/* Warning Badge */
.badge.bg-warning {
  background: var(--traq-gradient-warning) !important;
  color: var(--traq-text-primary);
  border: none;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.badge.bg-warning:hover {
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
  transform: translateY(-1px);
}

/* Danger Badge */
.badge.bg-danger {
  background: var(--traq-gradient-danger) !important;
  color: var(--traq-text-white);
  border: none;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.badge.bg-danger:hover {
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  transform: translateY(-1px);
}

/* Info Badge */
.badge.bg-info {
  background: var(--traq-gradient-info) !important;
  color: var(--traq-text-white);
  border: none;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
}

.badge.bg-info:hover {
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
  transform: translateY(-1px);
}

/* Light Badge */
.badge.bg-light {
  background: var(--traq-bg-light) !important;
  color: var(--traq-text-primary);
  border: 1px solid var(--traq-bg-gray);
}

.badge.bg-light:hover {
  background: var(--traq-bg-gray) !important;
  box-shadow: var(--traq-shadow-sm);
  transform: translateY(-1px);
}

/* Dark Badge */
.badge.bg-dark {
  background: var(--traq-gradient-dark) !important;
  color: var(--traq-text-white);
  border: none;
  box-shadow: 0 2px 8px rgba(52, 58, 64, 0.2);
}

.badge.bg-dark:hover {
  box-shadow: 0 4px 12px rgba(52, 58, 64, 0.3);
  transform: translateY(-1px);
}

/* Outline Badge Variants */
/* Base outline badge styles */
.badge-outline-primary,
.badge-outline-secondary,
.badge-outline-success,
.badge-outline-warning,
.badge-outline-danger,
.badge-outline-info,
.badge-outline-dark {
  background: transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1.5px solid;
  transition: all 0.2s ease;
}

.badge-outline-primary {
  color: var(--traq-color-primary);
  border-color: var(--traq-color-primary);
}

.badge-outline-primary:hover {
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
  border-color: transparent;
  box-shadow: var(--traq-shadow-primary-sm);
  transform: translateY(-1px);
}

.badge-outline-secondary {
  color: var(--traq-color-secondary);
  border-color: var(--traq-color-secondary);
}

.badge-outline-secondary:hover {
  background: var(--traq-gradient-secondary);
  color: var(--traq-text-white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
  transform: translateY(-1px);
}

.badge-outline-success {
  color: var(--traq-color-success);
  border-color: var(--traq-color-success);
}

.badge-outline-success:hover {
  background: var(--traq-gradient-success);
  color: var(--traq-text-white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
  transform: translateY(-1px);
}

.badge-outline-warning {
  color: var(--traq-color-warning-dark);
  border-color: var(--traq-color-warning);
}

.badge-outline-warning:hover {
  background: var(--traq-gradient-warning);
  color: var(--traq-text-primary);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
  transform: translateY(-1px);
}

.badge-outline-danger {
  color: var(--traq-color-danger);
  border-color: var(--traq-color-danger);
}

.badge-outline-danger:hover {
  background: var(--traq-gradient-danger);
  color: var(--traq-text-white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
  transform: translateY(-1px);
}

.badge-outline-info {
  color: var(--traq-color-info);
  border-color: var(--traq-color-info);
}

.badge-outline-info:hover {
  background: var(--traq-gradient-info);
  color: var(--traq-text-white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
  transform: translateY(-1px);
}

.badge-outline-dark {
  color: var(--traq-color-dark);
  border-color: var(--traq-color-dark);
}

.badge-outline-dark:hover {
  background: var(--traq-gradient-dark);
  color: var(--traq-text-white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(52, 58, 64, 0.2);
  transform: translateY(-1px);
}

/* Gradient Badge (Legacy - kept for compatibility) */
.badge-gradient-primary {
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
  border: none;
  box-shadow: var(--traq-shadow-primary-sm);
}

.badge-gradient-primary:hover {
  box-shadow: var(--traq-shadow-primary);
  transform: translateY(-1px);
}

/* Pill Badge with Shadow (Legacy - kept for compatibility) */
.badge-pill-shadow {
  border-radius: 50px;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-pill-shadow:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Rounded Pill Modifier */
.badge.rounded-pill {
  border-radius: 50px;
  padding: 0.375rem 0.875rem;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

@media (max-width: 768px) {
  .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .heading-hero {
    font-size: 1.5rem;
  }

  .card-hero-header,
  .card-content-inner {
    padding: 1.5rem;
  }

  .btn-primary-gradient {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

/* Mobile Performance Optimization */
@media (max-width: 768px) {
  /* Disable transforms, transitions, and shadows for better mobile performance */
  .btn-primary-gradient,
  .btn-glass,
  .icon-rotate,
  .badge {
    transition: none !important;
    animation: none !important;
  }

  .btn-primary-gradient:hover,
  .btn-glass:hover,
  .badge:hover {
    transform: none !important;
  }

  .badge:hover {
    box-shadow: none !important;
  }

  /* Disable expensive animations */
  .card-hero-bg-animation,
  .icon-rotate {
    animation: none !important;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .btn-primary-gradient,
  .icon-wrapper,
  .spinner,
  .shimmer,
  .trend-up,
  .trend-down,
  .icon-rotate,
  .progress-ring__circle,
  .badge {
    animation: none;
    transition: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .btn-primary-gradient,
  .nav-item-gradient-active,
  .badge {
    border: 2px solid currentColor;
  }
}

/* Focus Indicators */
.btn-primary-gradient:focus,
.btn-glass:focus,
.card-hover:focus,
.badge:focus {
  outline: 2px solid var(--traq-color-primary);
  outline-offset: 2px;
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

/* Shadows */
.shadow-traq-sm {
  box-shadow: var(--traq-shadow-sm);
}

.shadow-traq-md {
  box-shadow: var(--traq-shadow-md);
}

.shadow-traq-lg {
  box-shadow: var(--traq-shadow-lg);
}

.shadow-traq-primary {
  box-shadow: var(--traq-shadow-primary);
}

.shadow-traq-primary-hover:hover {
  box-shadow: var(--traq-shadow-primary-hover);
}

/* Text Colors */
.text-traq-primary {
  color: var(--traq-text-primary);
}

.text-traq-secondary {
  color: var(--traq-text-secondary);
}

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

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

/* Background Colors */
.bg-traq-light {
  background-color: var(--traq-bg-light);
}

.bg-traq-gray {
  background-color: var(--traq-bg-gray);
}

/* Border Radius */
.rounded-traq {
  border-radius: 20px;
}

.rounded-traq-lg {
  border-radius: 30px;
}

/* ============================================ */
/* REUSABLE COMPONENTS */
/* ============================================ */

/* Alert with Primary Color */
.alert-primary-gradient {
  background: var(--traq-gradient-primary-alpha-10);
  border: 1px solid var(--traq-primary-alpha-20);
  color: var(--traq-color-primary);
  border-radius: 12px;
  padding: 1rem 1.5rem;
}

/* Card with Primary Border */
.card-primary-border {
  border-left: 4px solid var(--traq-color-primary);
  transition: all 0.3s ease;
}

.card-primary-border:hover {
  border-left-width: 6px;
  box-shadow: var(--traq-shadow-primary);
}

/* Loading State */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--traq-white-alpha-95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* Divider with Gradient */
.divider-gradient {
  height: 3px;
  background: var(--traq-gradient-primary);
  border: none;
  border-radius: 2px;
  margin: 2rem 0;
}

/* Icon Badge */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--traq-gradient-primary-alpha-10);
  color: var(--traq-color-primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.icon-badge:hover {
  background: var(--traq-gradient-primary-alpha-15);
  transform: scale(1.1);
}

/* Status Indicators */
.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-dot-primary {
  background: var(--traq-color-primary);
  box-shadow: 0 0 8px var(--traq-primary-alpha-40);
}

.status-dot-success {
  background: var(--traq-color-success);
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

.status-dot-warning {
  background: var(--traq-color-warning);
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.status-dot-danger {
  background: var(--traq-color-danger);
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

/* Pill Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pill-badge-primary {
  background: var(--traq-gradient-primary-alpha-15);
  color: var(--traq-color-primary);
}

.pill-badge-success {
  background: rgba(40, 167, 69, 0.15);
  color: var(--traq-color-success);
}

.pill-badge-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #d39e00;
}

.pill-badge-danger {
  background: rgba(220, 53, 69, 0.15);
  color: var(--traq-color-danger);
}

/* Info Box */
.info-box {
  background: var(--traq-gradient-primary-alpha-10);
  border-left: 4px solid var(--traq-color-primary);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.info-box-icon {
  color: var(--traq-color-primary);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.info-box-success {
  background: rgba(40, 167, 69, 0.1);
  border-left-color: var(--traq-color-success);
}

.info-box-success .info-box-icon {
  color: var(--traq-color-success);
}

.info-box-warning {
  background: rgba(255, 193, 7, 0.1);
  border-left-color: var(--traq-color-warning);
}

.info-box-warning .info-box-icon {
  color: var(--traq-color-warning);
}

.info-box-danger {
  background: rgba(220, 53, 69, 0.1);
  border-left-color: var(--traq-color-danger);
}

.info-box-danger .info-box-icon {
  color: var(--traq-color-danger);
}

/* Feature Card */
.feature-card {
  background: var(--traq-bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--traq-shadow-md);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--traq-shadow-primary);
  border-color: var(--traq-primary-alpha-20);
}

.feature-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--traq-text-primary);
  margin-bottom: 0.75rem;
}

.feature-card-description {
  color: var(--traq-text-muted);
  line-height: 1.6;
}

/* Stats Card */
.stats-card {
  background: var(--traq-gradient-primary-alpha-10);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stats-card:hover {
  background: var(--traq-gradient-primary-alpha-15);
  transform: scale(1.05);
}

.stats-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--traq-color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--traq-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--traq-gradient-primary-alpha-15);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--traq-gradient-primary);
  border: 3px solid var(--traq-bg-white);
  box-shadow: var(--traq-shadow-primary);
}

.timeline-content {
  background: var(--traq-bg-white);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--traq-shadow-sm);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: var(--traq-shadow-md);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--traq-primary-alpha-30);
  margin-bottom: 1.5rem;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--traq-text-primary);
  margin-bottom: 0.75rem;
}

.empty-state-description {
  font-size: 1rem;
  color: var(--traq-text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================ */
/* BOOTSTRAP OVERRIDES */
/* ============================================ */

/* Enhanced Bootstrap Cards */
.card.border-0.shadow-sm {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
  border-radius: 20px;
}

/* Enhanced Bootstrap Badges */
.badge.bg-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
}

/* Smooth Transitions for Bootstrap Components */
.card,
.btn,
.badge,
.alert {
  transition: all 0.2s ease;
}

/* ============================================ */
/* BOOTSTRAP BUTTONS - TRAQUILITY DESIGN */
/* ============================================ */

/* Primary Button */
.btn-primary {
  background: var(--traq-gradient-primary);
  border: none;
  color: var(--traq-text-white);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--traq-shadow-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--traq-gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--traq-shadow-primary-hover);
  color: var(--traq-text-white);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--traq-shadow-primary);
}

.btn-primary:disabled,
.btn-primary.disabled {
  background: var(--traq-primary-alpha-30);
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Primary Modest Button - Lighter version of primary, less attention-grabbing */
.btn-primary-modest {
  background: var(--traq-gradient-primary-alpha-15);
  border: 1px solid var(--traq-primary-alpha-30);
  color: var(--traq-color-primary);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: none;
}

.btn-primary-modest:hover,
.btn-primary-modest:focus {
  background: var(--traq-gradient-primary-alpha-20);
  border-color: var(--traq-primary-alpha-40);
  color: var(--traq-color-primary);
  transform: translateY(-1px);
  box-shadow: var(--traq-shadow-primary-sm);
}

.btn-primary-modest:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary-modest:disabled,
.btn-primary-modest.disabled {
  background: var(--traq-primary-alpha-10);
  border-color: var(--traq-primary-alpha-20);
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  border: none;
  color: var(--traq-text-white);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: linear-gradient(135deg, #5a6268 0%, #4e555b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
  color: var(--traq-text-white);
}

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

.btn-secondary:disabled,
.btn-secondary.disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  border: none;
  color: var(--traq-text-white);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  color: var(--traq-text-white);
}

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

.btn-success:disabled,
.btn-success.disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Warning Button */
.btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  border: none;
  color: var(--traq-text-primary);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover,
.btn-warning:focus {
  background: linear-gradient(135deg, #e0a800 0%, var(--traq-color-warning-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  color: var(--traq-text-primary);
}

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

.btn-warning:disabled,
.btn-warning.disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Danger Button */
.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border: none;
  color: var(--traq-text-white);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover,
.btn-danger:focus {
  background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
  color: var(--traq-text-white);
}

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

.btn-danger:disabled,
.btn-danger.disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Info Button */
.btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  border: none;
  color: var(--traq-text-white);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover,
.btn-info:focus {
  background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
  color: var(--traq-text-white);
}

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

.btn-info:disabled,
.btn-info.disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Light Button */
.btn-light {
  background: var(--traq-bg-light);
  border: 1px solid var(--traq-bg-gray);
  color: var(--traq-text-primary);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-light:hover,
.btn-light:focus {
  background: var(--traq-bg-gray);
  border-color: #cbd5e0;
  transform: translateY(-2px);
  box-shadow: var(--traq-shadow-sm);
  color: var(--traq-text-primary);
}

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

/* Dark Button */
.btn-dark {
  background: linear-gradient(135deg, #343a40 0%, #23272b 100%);
  border: none;
  color: var(--traq-text-white);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 58, 64, 0.3);
}

.btn-dark:hover,
.btn-dark:focus {
  background: linear-gradient(135deg, #23272b 0%, #1d2124 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 58, 64, 0.4);
  color: var(--traq-text-white);
}

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

/* ============================================ */
/* BOOTSTRAP OUTLINE BUTTONS */
/* ============================================ */

/* Outline Primary */
.btn-outline-primary {
  border: 2px solid var(--traq-color-primary);
  color: var(--traq-color-primary);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--traq-gradient-primary);
  border-color: transparent;
  color: var(--traq-text-white);
  transform: translateY(-2px);
  box-shadow: var(--traq-shadow-primary);
}

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

.btn-outline-primary.active {
  background: var(--traq-gradient-primary);
  border-color: transparent;
  color: var(--traq-text-white);
  box-shadow: var(--traq-shadow-primary);
}

/* Outline Secondary */
.btn-outline-secondary {
  border: 2px solid #6c757d;
  color: #6c757d;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

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

.btn-outline-secondary.active {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Outline Success */
.btn-outline-success {
  border: 2px solid var(--traq-color-success);
  color: var(--traq-color-success);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

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

.btn-outline-success.active {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Outline Warning */
.btn-outline-warning {
  border: 2px solid var(--traq-color-warning);
  color: var(--traq-color-warning-dark);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  border-color: transparent;
  color: var(--traq-text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

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

.btn-outline-warning.active {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  border-color: transparent;
  color: var(--traq-text-primary);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Outline Danger */
.btn-outline-danger {
  border: 2px solid var(--traq-color-danger);
  color: var(--traq-color-danger);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

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

.btn-outline-danger.active {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Outline Info */
.btn-outline-info {
  border: 2px solid var(--traq-color-info);
  color: var(--traq-color-info);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-info:hover,
.btn-outline-info:focus {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

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

.btn-outline-info.active {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* Outline Dark */
.btn-outline-dark {
  border: 2px solid #343a40;
  color: #343a40;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.625rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: linear-gradient(135deg, #343a40 0%, #23272b 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 58, 64, 0.3);
}

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

.btn-outline-dark.active {
  background: linear-gradient(135deg, #343a40 0%, #23272b 100%);
  border-color: transparent;
  color: var(--traq-text-white);
  box-shadow: 0 4px 15px rgba(52, 58, 64, 0.3);
}

/* ============================================ */
/* BUTTON SIZES */
/* ============================================ */

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  border-radius: 10px;
}

/* ============================================ */
/* BUTTON FOCUS STATES */
/* ============================================ */

.btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-success:focus,
.btn-warning:focus,
.btn-danger:focus,
.btn-info:focus,
.btn-outline-primary:focus,
.btn-outline-secondary:focus,
.btn-outline-success:focus,
.btn-outline-warning:focus,
.btn-outline-danger:focus,
.btn-outline-info:focus {
  outline: 2px solid var(--traq-primary-alpha-40);
  outline-offset: 2px;
}

.bootstrap-theme-traquility {
  --bs-light: #f7f7f2;
  --bs-light-rgb: 247, 247, 242;
}

.bootstrap-theme-traquility.bg-lightest,
.bootstrap-theme-traquility .bg-lightest {
  background-color: #fbfcf9;
}

.bootstrap-theme-traquility .card {
  --bs-card-cap-bg: var(--bs-light);
}

.bootstrap-theme-traquility.bootstrap-theme-traquility--squire-buttons {
  .diary-day-activity_trigger-button-wrapper .icon-wrapper,
  .diary-day-activity_trigger-button-wrapper .icon-wrapper--secondary {
    border-radius: 7px;
  }

  .diary-field-score_badge-icon {
    border-radius: 7px;
  }
}

/* Range slider styles */
.form-range {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right,
    rgba(255, 102, 170, 0.3) 0%,
    rgba(170, 170, 170, 0.3) 50%,
    rgba(102, 255, 170, 0.3) 100%);
  outline: none;
  opacity: 0.9;
  transition: opacity 0.2s, background 0.3s;
}

.form-range:hover {
  opacity: 1;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--traq-gradient-primary);
  cursor: pointer;
  box-shadow: var(--traq-shadow-primary-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-range::-webkit-slider-runnable-track {
  background: linear-gradient(to right,
    rgba(255, 102, 170, 0.3) 0%,
    rgba(170, 170, 170, 0.3) 50%,
    rgba(102, 255, 170, 0.3) 100%);
  transition: opacity 0.2s, background 0.3s;
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: var(--traq-shadow-primary-md);
}

.form-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--traq-gradient-primary);
  cursor: pointer;
  border: none;
  box-shadow: var(--traq-shadow-primary-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-range::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: var(--traq-shadow-primary-md);
}
