/*
  css/pages.css
  Page-specific styles.
*/

/* Home Hero */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero__card {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Search Bar (Floating) */
.searchBar {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  flex-wrap: wrap;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.searchBar .field {
  flex: 1;
  min-width: 200px;
}

.searchBar input {
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.searchBar input:focus {
  box-shadow: none;
  background: rgba(16, 185, 129, 0.05);
}

.searchBar button {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
}

/* Page Headers */
.pageHeader {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .pageHeader {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.pageTitle {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.03em;
  margin: 0;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 767px) {
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Turf Detail */
.turfDetail__header {
  margin-bottom: 2rem;
}

.turfDetail__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  background: #e2e8f0;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

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

/* =========================================
   FEEDBACK & ABOUT PAGES
   ========================================= */

/* Feedback Cards (Grid) */
.feedback-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.feedback-card {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.feedback-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.feedback-card__content {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feedback-card:hover .feedback-card__content {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feedback-card input:checked+.feedback-card__content,
.feedback-card.selected .feedback-card__content {
  border-color: var(--primary);
  background: #f0fdf4;
  /* mint green tint */
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.feedback-card__icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.feedback-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* System font for specific fields */
.input--system-font,
.input--system-font::placeholder {
  font-family: var(--font-system) !important;
}

/* Star Rating */
.rating-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.star-rating {
  font-size: 2.5rem;
  /* Larger Click Area */
  color: #e2e8f0;
  /* Gray-200 */
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
  width: fit-content;
  user-select: none;
}

.star-rating .star {
  transition: transform 0.1s, color 0.1s;
  pointer-events: auto;
  /* Ensure clickable */
}

.star-rating .star:hover {
  transform: scale(1.2);
  color: #fcd34d;
  /* Amber-300 */
}

.star-rating .star.active {
  color: #fbbf24;
  /* Amber-400 */
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  80% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utility for text sizes */
.textSm {
  font-size: 0.875rem;
}

.textLg {
  font-size: 1.125rem;
}

.textCenter {
  text-align: center;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Standardized Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  /* Better for multiline */
  gap: 0.75rem;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  /* Align with first line of text */
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Duration & Slots */
.durationOptions,
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.durationBtn,
.slotBtn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: white;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Payment & Checkout */
.payPage {
  padding: 3rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Progress Steps */
.paySteps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.payStep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}

.payStep--active {
  opacity: 1;
}

.payStep__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.payStep--active .payStep__num {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.payStep__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Checkout Layout */
.checkoutGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .checkoutGrid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.checkoutBox {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.checkoutBox__title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--secondary);
}

/* Order Summary */
.orderRef {
  text-align: center;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 2px dashed var(--border);
  margin-bottom: 1.5rem;
}

.orderRef__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.orderRef__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-system);
  margin: 0.5rem 0;
}

/* Payment Card Area */
.payAction {
  gap: 1.5rem;
}

.payAction__info {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Trust Badges */
.trustStack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.trustTile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.trustTile__icon {
  font-size: 1.25rem;
}

.trustTile__text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

.durationBtn:hover,
.slotBtn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.durationBtn[aria-pressed="true"],
.slotBtn[aria-pressed="true"] {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.slotBtn:disabled {
  background: #f1f5f9;
  color: #cbd5e1;
  border-color: transparent;
  cursor: not-allowed;
}

/* Booking Overlay */
.bookingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.bookingOverlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bookingOverlay__card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 400px;
  width: 100%;
  border: 1px solid var(--border);
}

.bookingOverlay__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.bookingOverlay__title {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Dashboard Cards */
.statCard {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

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

.statCard__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0.5rem;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}


.table tr:last-child td {
  border-bottom: none;
}

/* Responsive Table Overhaul */
.table-container {
  width: 100%;
  margin-bottom: 2rem;
  overflow: visible; /* We use card-view instead of horizontal scroll */
}

.table {
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  .table-responsive {
    display: block;
    width: 100%;
  }

  .table-responsive thead {
    display: none; /* Hide headers on mobile */
  }

  .table-responsive tbody,
  .table-responsive tr,
  .table-responsive td {
    display: block;
    width: 100%;
  }

  .table-responsive tr {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem;
  }

  .table-responsive td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    white-space: normal;
    min-width: 0;
    width: 100%;
  }

  .table-responsive td:last-child {
    border-bottom: 0;
  }

  .table-responsive td::before {
    content: attr(data-label);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-right: 1.5rem;
    text-align: left;
    flex-shrink: 0;
  }
}

.table th,
.table td {
  white-space: nowrap;
}

/* Image Carousel in components.css handles this now */

/* --- Landing Page Enhancements --- */

/* Hero Animation Background */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
  /* Lighter gradient to show SVG better */
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(131, 147, 138, 0.323),
      rgba(236, 255, 245, 0.9)),
    url("../assets/images/hero_bg.png");

  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

/* SVG Animations */
.hero__animations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  color: var(--primary);
  /* Inherit theme color */
}

.hero__svg {
  position: absolute;
  opacity: 0.12;
  /* Subtle but visible */
}

.svg-fill {
  fill: currentColor;
}

.svg-stroke {
  stroke: currentColor;
}

/* Main Scene Container */
.hero__svg--scene {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 1200px;
}

/* Kicking Leg Animation */
.anim-leg-group {
  animation: kickLeg 3.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes kickLeg {

  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-50deg);
  }

  /* Wind up back */
  35% {
    transform: rotate(55deg);
  }

  /* Explosive kick forward */
  50% {
    transform: rotate(15deg);
  }

  /* Follow through */
  100% {
    transform: rotate(0deg);
  }
}

/* Ball Shot Animation */
.anim-ball-shot {
  animation: ballShot 3.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  transform-box: fill-box;
}

@keyframes ballShot {

  0%,
  32% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  35% {
    /* Kick moment - ball leaves foot */
    transform: translate(20px, -15px) scale(1);
    opacity: 1;
  }

  60% {
    /* Mid-flight toward goal */
    transform: translate(420px, -90px) scale(0.75);
    opacity: 1;
  }

  75% {
    /* Approaching goal */
    transform: translate(530px, -120px) scale(0.65);
    opacity: 1;
  }

  85% {
    /* Hits net */
    transform: translate(560px, -100px) scale(0.6);
    opacity: 0.3;
  }

  100% {
    transform: translate(560px, -100px) scale(0.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .anim-leg-group,
  .anim-ball-shot {
    animation: none;
  }
}

/* How It Works */
.howItWorks {
  padding: 4rem 0;
  background: white;
}

.stepsGrid {
  display: grid;

  /* --- Premium Analytics UI --- */
  .analytics-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #065f46 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }

  .analytics-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .analytics-hero h2 {
    color: white;
    margin-bottom: 0.5rem;
  }

  .analytics-hero p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }

  .premium-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  .metric-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
  }

  .metric-trend {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .trend--up {
    color: #059669;
  }

  .trend--down {
    color: #dc2626;
  }

  .chart-container-premium {
    position: relative;
    height: 300px;
    width: 100%;
  }

  .top-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
  }

  .top-list-item:last-child {
    border-bottom: none;
  }

  .top-list-info {
    display: flex;
    flex-direction: column;
  }

  .top-list-name {
    font-weight: 600;
    color: var(--text-main);
  }

  .top-list-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  .top-list-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
  }

  .progress-bar-container {
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
    width: 100%;
  }

  .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 3px;
    transition: width 1s ease-out;
  }

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stepCard {
  text-align: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease;
}

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

.stepCard__icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.stepCard__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.cityBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* --- SaaS SaaS Analytics Upgrade --- */
.analytics-section-premium {
  padding: 1rem 0;
  animation: fadeIn 0.5s ease-out;
}

.filter-bar {
  background: white;
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

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

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

.filter-control {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background-color: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 150px;
}

.filter-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.premium-metric-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.metric-icon-box {
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.metric-comparison {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.comparison--pos {
  color: #059669;
}

.comparison--neg {
  color: #dc2626;
}

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

.insight-card {
  border-left: 4px solid var(--primary);
  background: #f0fdf4;
}

.insight-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.insight-item:last-child {
  border-bottom: none;
}

.insight-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Skeleton Loading State */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 1.25rem;
  margin-bottom: 0.5rem;
}

.skeleton-title {
  height: 2rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-chart {
  height: 250px;
  width: 100%;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}