/* ===========================
   Great Work Global - Design System
   =========================== */

:root {
  /* Brand Colors - Great Work Global */
  --gwg-primary: #454545;        /* Charcoal Gray - for non-button UI elements */
  --gwg-primary-light: #666666;  /* Lighter gray for hover states */
  --gwg-primary-dark: #333333;   /* Darker gray */
  --gwg-secondary: #454545;      /* Cool Gray - RGB(69, 69, 69) */
  --gwg-secondary-light: #5A5A5A;

  /* Button Colors - Keep original red */
  --gwg-btn-primary: #7B0702;
  --gwg-btn-primary-light: #A31008;
  --gwg-btn-primary-dark: #4B0F0A;
  --gwg-accent: #F5A623;         /* Warm Gold - For highlights */
  --gwg-accent-sage: #6B8E7D;    /* Soft Sage - Calming neutral */
  --gwg-danger: #D52834;

  /* Neutrals - Modern refined palette */
  --gwg-dark: #1A1A1A;           /* Rich dark text */
  --gwg-gray-900: #2D2D2D;
  --gwg-gray-800: #3c4043;
  --gwg-gray-700: #5f6368;
  --gwg-gray-600: #6E6E6E;
  --gwg-gray-500: #80868b;
  --gwg-gray-400: #9E9E9E;
  --gwg-gray-300: #E8EAED;       /* Softer border */
  --gwg-gray-200: #F0F2F5;
  --gwg-gray-100: #F5F7FA;       /* Lighter background */
  --gwg-white: #ffffff;
  --gwg-bg-light: #FAFBFC;       /* Subtle off-white */

  /* Semantic */
  --gwg-success: #34a853;
  --gwg-warning: #fbbc04;
  --gwg-info: #0A7B83;

  /* Gradients */
  --gwg-gradient-primary: linear-gradient(135deg, #454545 0%, #333333 100%);
  --gwg-gradient-secondary: linear-gradient(135deg, #454545 0%, #333333 100%);
  --gwg-gradient-btn: linear-gradient(135deg, #7B0702 0%, #4B0F0A 100%);
  --gwg-gradient-accent: linear-gradient(135deg, #F5A623 0%, #E89611 100%);
  --gwg-gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);

  /* Typography Scale - Modern approach */
  --gwg-font-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gwg-font-display: 'Playfair Display', Georgia, serif;

  --gwg-font-size-xs: 0.75rem;      /* 12px */
  --gwg-font-size-sm: 0.875rem;     /* 14px */
  --gwg-font-size-base: 1.0625rem;  /* 17px - improved readability */
  --gwg-font-size-md: 1.125rem;     /* 18px */
  --gwg-font-size-lg: 1.25rem;      /* 20px */
  --gwg-font-size-xl: 1.5rem;       /* 24px */
  --gwg-font-size-2xl: 1.75rem;     /* 28px */
  --gwg-font-size-3xl: 2.5rem;      /* 40px */
  --gwg-font-size-4xl: 3.5rem;      /* 56px */

  /* Spacing - Modern generous spacing */
  --gwg-radius: 12px;
  --gwg-radius-lg: 16px;
  --gwg-radius-xl: 20px;
  --gwg-radius-pill: 50px;

  --gwg-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --gwg-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --gwg-shadow-lg: 0 12px 32px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
  --gwg-shadow-xl: 0 20px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);

  /* Transitions */
  --gwg-transition-fast: 0.15s ease;
  --gwg-transition-base: 0.25s ease;
  --gwg-transition-slow: 0.4s ease;

  /* Admin */
  --gwg-sidebar-width: 260px;
}

/* ===========================
   Global Resets & Base
   =========================== */

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--gwg-font-base);
  color: var(--gwg-dark);
  background-color: var(--gwg-bg-light);
  line-height: 1.7;
  font-size: var(--gwg-font-size-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gwg-font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--gwg-gray-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--gwg-font-size-4xl);
  font-weight: 800;
}
h2 {
  font-size: var(--gwg-font-size-3xl);
  font-weight: 700;
}
h3 {
  font-size: var(--gwg-font-size-2xl);
}
h4 {
  font-size: var(--gwg-font-size-lg);
  font-weight: 600;
}
h5 {
  font-size: var(--gwg-font-size-base);
  font-weight: 600;
}
h6 {
  font-size: var(--gwg-font-size-sm);
  font-weight: 600;
}

a {
  color: var(--gwg-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gwg-primary-dark);
}

/* ===========================
   Buttons
   =========================== */

.btn {
  font-weight: 600;
  border-radius: var(--gwg-radius-pill);
  padding: 0.875rem 2rem;
  transition: all var(--gwg-transition-base);
  border: none;
  font-size: var(--gwg-font-size-base);
  letter-spacing: 0.01em;
  box-shadow: var(--gwg-shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: var(--gwg-font-size-sm);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--gwg-font-size-lg);
}

.btn-primary {
  background: var(--gwg-gradient-btn);
  border-color: var(--gwg-btn-primary);
  color: var(--gwg-white);
}

.btn-primary:hover {
  background: var(--gwg-btn-primary-dark);
  border-color: var(--gwg-btn-primary-dark);
  box-shadow: var(--gwg-shadow-lg);
  color: var(--gwg-white);
}

.btn-secondary {
  background: var(--gwg-secondary);
  border-color: var(--gwg-secondary);
  color: var(--gwg-white);
}

.btn-secondary:hover {
  background: var(--gwg-secondary-light);
  box-shadow: var(--gwg-shadow-lg);
  color: var(--gwg-white);
}

.btn-accent {
  background: var(--gwg-gradient-accent);
  border-color: var(--gwg-accent);
  color: var(--gwg-white);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--gwg-shadow-lg);
  color: var(--gwg-white);
}

.btn-outline-primary {
  border: 2px solid var(--gwg-btn-primary);
  color: var(--gwg-btn-primary);
  background: transparent;
  box-shadow: none;
}

.btn-outline-primary:hover {
  background: var(--gwg-btn-primary);
  color: var(--gwg-white);
}

.btn-outline-primary:hover {
  background-color: var(--gwg-btn-primary);
  color: white;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}

/* ===========================
   Cards
   =========================== */

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
  border-color: rgba(69, 69, 69, 0.1);
}

.card-header {
  background: linear-gradient(135deg, var(--gwg-gray-50) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.card-header h5 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gwg-gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header h5 i {
  color: var(--gwg-primary);
  font-size: 1.25rem;
}

.card-body {
  padding: 1.5rem;
}

.card-stat {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.card-stat::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  opacity: 0.1;
  transition: all 0.3s ease;
}

.card-stat:hover::before {
  transform: scale(1.2) rotate(10deg);
  opacity: 0.15;
}

.card-stat .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card-stat:hover .stat-icon {
  transform: scale(1.1);
}

.card-stat .stat-value {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.card-stat .stat-label {
  font-size: 0.875rem;
  color: var(--gwg-gray-600);
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
}

.card-stat .stat-change {
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.card-stat .stat-change.positive {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.card-stat .stat-change.negative {
  color: #DC2626;
  background: rgba(220, 38, 38, 0.1);
}

.card-stat .stat-change i {
  font-size: 0.75rem;
}

/* KPI Card Variants */
.card-stat.stat-revenue {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.card-stat.stat-revenue .stat-icon {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
}

.card-stat.stat-revenue .stat-value {
  color: #059669;
}

.card-stat.stat-bookings {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.card-stat.stat-bookings .stat-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
}

.card-stat.stat-bookings .stat-value {
  color: #3b82f6;
}

.card-stat.stat-occupancy {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.card-stat.stat-occupancy .stat-icon {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  color: white;
}

.card-stat.stat-occupancy .stat-value {
  color: #a855f7;
}

.card-stat.stat-members {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.card-stat.stat-members .stat-icon {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
}

.card-stat.stat-members .stat-value {
  color: #f97316;
}

/* ===========================
   Badges & Status
   =========================== */

.badge {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

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

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

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

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

.badge-secondary {
  background-color: var(--gwg-gray-300);
  color: var(--gwg-gray-800);
}

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

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

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

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

/* ===========================
   Navbar
   =========================== */

.navbar-gwg {
  background-color: var(--gwg-white);
  box-shadow: var(--gwg-shadow);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--gwg-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gwg-primary) !important;
}

.navbar-nav .nav-link {
  color: var(--gwg-gray-800);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gwg-primary);
}

/* ===========================
   Footer
   =========================== */

.footer-gwg {
  background-color: var(--gwg-dark);
  color: var(--gwg-gray-300);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-gwg h5 {
  color: var(--gwg-white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-gwg a {
  color: var(--gwg-gray-300);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-gwg a:hover {
  color: var(--gwg-white);
}

.footer-bottom {
  border-top: 1px solid var(--gwg-gray-800);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
  background: linear-gradient(135deg, var(--gwg-primary) 0%, var(--gwg-primary-dark) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* ===========================
   Service Cards
   =========================== */

.service-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--gwg-primary);
}

.service-card .service-icon {
  font-size: 3rem;
  color: var(--gwg-primary);
  margin-bottom: 1rem;
}

.service-card h4 {
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gwg-primary);
  margin: 1rem 0;
}

.service-card .price-unit {
  font-size: 0.875rem;
  color: var(--gwg-gray-700);
  font-weight: 400;
}

/* ===========================
   Forms
   =========================== */

.form-control,
.form-select {
  border-radius: var(--gwg-radius);
  border: 1px solid var(--gwg-gray-300);
  padding: 0.625rem 1rem;
  transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gwg-primary);
  box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.15);
}

.form-label {
  font-weight: 500;
  color: var(--gwg-gray-800);
  margin-bottom: 0.5rem;
}

.form-error {
  color: var(--gwg-danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--gwg-danger);
}

.form-control.is-invalid ~ .form-error {
  display: block;
}

/* ===========================
   Tables
   =========================== */

.table-gwg {
  background-color: white;
  border-radius: var(--gwg-radius);
  overflow: hidden;
  width: 100%;
}

.table-gwg thead {
  background: linear-gradient(135deg, var(--gwg-gray-50) 0%, var(--gwg-gray-100) 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-gwg thead th {
  font-weight: 600;
  color: var(--gwg-gray-700);
  border-bottom: 2px solid var(--gwg-gray-200);
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table-gwg tbody td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--gwg-gray-200);
  color: var(--gwg-gray-700);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.table-gwg tbody tr {
  transition: all 0.2s ease;
}

.table-gwg tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.01);
}

.table-gwg tbody tr:hover {
  background-color: rgba(69, 69, 69, 0.03);
  transform: scale(1.001);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table-gwg tbody tr:hover td {
  color: var(--gwg-gray-900);
}

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

.table-responsive {
  border-radius: var(--gwg-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
}

.table-gwg .btn-group {
  display: flex;
  gap: 0.25rem;
}

.table-gwg .btn-group .btn {
  border-radius: 8px;
  transition: all 0.2s ease;
}

.table-gwg .btn-group .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Admin Layout
   =========================== */

.admin-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.admin-sidebar {
  width: var(--gwg-sidebar-width);
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  color: white;
  padding: 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.admin-sidebar .sidebar-brand {
  font-family: var(--gwg-font-display);
  padding: 1.5rem 1.5rem;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
  background: white;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-sidebar .sidebar-brand:hover {
  background: #fafafa;
}

.admin-sidebar .sidebar-brand .sidebar-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.admin-sidebar .sidebar-brand:hover .sidebar-logo {
  transform: scale(1.05);
}

.admin-sidebar .sidebar-brand .sidebar-admin-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  background: linear-gradient(135deg, #454545 0%, #D97706 100%);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(69, 69, 69, 0.3);
}

.admin-sidebar .sidebar-brand:hover .sidebar-admin-label {
  box-shadow: 0 4px 10px rgba(69, 69, 69, 0.4);
  transform: scale(1.05);
}

.admin-sidebar .nav {
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem 1.5rem;
}

.admin-sidebar .nav-link {
  color: var(--gwg-gray-300);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  border-left: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.admin-sidebar .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gwg-primary) 0%, var(--gwg-accent) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.admin-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transform: translateX(4px);
}

.admin-sidebar .nav-link:hover::before {
  transform: scaleY(1);
}

.admin-sidebar .nav-link.active {
  background: linear-gradient(135deg, rgba(69, 69, 69, 0.25) 0%, rgba(69, 69, 69, 0.15) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(69, 69, 69, 0.3);
}

.admin-sidebar .nav-link.active::before {
  transform: scaleY(1);
}

.admin-sidebar .nav-link i {
  font-size: 1.25rem;
  width: 24px;
  transition: transform 0.3s ease;
}

.admin-sidebar .nav-link:hover i,
.admin-sidebar .nav-link.active i {
  transform: scale(1.1);
}

.admin-sidebar .nav-item.mt-auto {
  margin-top: auto !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Parent menu item with submenu */
.admin-sidebar .nav-link.has-submenu {
  justify-content: space-between;
  cursor: pointer;
}

.admin-sidebar .nav-link.has-submenu .submenu-toggle {
  font-size: 0.875rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar .nav-link.has-submenu.expanded .submenu-toggle {
  transform: rotate(180deg);
}

/* Submenu container */
.admin-sidebar .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.admin-sidebar .submenu.open,
.admin-sidebar .submenu.show {
  max-height: 500px;
  opacity: 1;
}

/* Submenu items */
.admin-sidebar .submenu .nav-link {
  padding-left: 3rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.15);
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.admin-sidebar .submenu .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.admin-sidebar .submenu .nav-link.active {
  background: linear-gradient(135deg, rgba(69, 69, 69, 0.35) 0%, rgba(69, 69, 69, 0.25) 100%);
}

.admin-sidebar .submenu .nav-link i {
  font-size: 1rem;
}

/* Nested submenu (3rd level) — e.g., Operations > Coworking > Day Pass */
.admin-sidebar .submenu .nav-link.has-submenu {
  justify-content: space-between;
  cursor: pointer;
}

.admin-sidebar .submenu .submenu .nav-link {
  padding-left: 4rem;
  font-size: 0.825rem;
}

.admin-content {
  margin-left: var(--gwg-sidebar-width);
  flex: 1;
  background-color: var(--gwg-gray-100);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.admin-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.admin-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gwg-gray-900);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.admin-notification-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gwg-gray-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gwg-gray-700);
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-notification-btn:hover {
  background: var(--gwg-gray-200);
  transform: translateY(-2px);
}

.admin-notification-btn .notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.admin-user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-user-profile:hover {
  background: var(--gwg-gray-100);
}

.admin-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gwg-primary) 0%, var(--gwg-accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.admin-user-info {
  display: flex;
  flex-direction: column;
}

.admin-user-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gwg-gray-900);
  line-height: 1.2;
}

.admin-user-role {
  font-size: 0.75rem;
  color: var(--gwg-gray-500);
  line-height: 1.2;
}

.admin-body {
  padding: 2rem;
}

@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    left: 0;
    top: 0;
    z-index: 1050;
  }

  .admin-sidebar.show {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--gwg-gray-300);
    background: white;
    color: var(--gwg-gray-700);
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    background: var(--gwg-gray-100);
    border-color: var(--gwg-gray-400);
    transform: translateY(-1px);
  }

  .mobile-menu-toggle i {
    font-size: 1.125rem;
  }

  .mobile-menu-toggle span {
    display: inline-block;
  }

  /* Backdrop overlay for mobile sidebar */
  .admin-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
  }

  .admin-sidebar-backdrop.show {
    display: block;
  }
}

/* ===========================
   Calendar/Slot Picker
   =========================== */

.calendar-container {
  background-color: white;
  border-radius: var(--gwg-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--gwg-shadow);
}

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

.calendar-header h4 {
  margin: 0;
}

.calendar-nav {
  display: flex;
  gap: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gwg-gray-300);
  border-radius: var(--gwg-radius);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.calendar-day.disabled {
  background-color: var(--gwg-gray-100);
  color: var(--gwg-gray-500);
  cursor: not-allowed;
}

.calendar-day:not(.disabled):hover {
  border-color: var(--gwg-primary);
  background-color: rgba(26, 115, 232, 0.1);
}

.calendar-day.selected {
  background-color: var(--gwg-primary);
  color: white;
  border-color: var(--gwg-primary);
}

.calendar-day.today {
  border-color: var(--gwg-secondary);
  font-weight: 600;
}

.slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.slot-item {
  padding: 0.75rem;
  border: 1px solid var(--gwg-gray-300);
  border-radius: var(--gwg-radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.slot-item.disabled {
  background-color: var(--gwg-gray-100);
  color: var(--gwg-gray-500);
  cursor: not-allowed;
}

.slot-item:not(.disabled):hover {
  border-color: var(--gwg-primary);
  background-color: rgba(26, 115, 232, 0.1);
}

.slot-item.selected {
  background-color: var(--gwg-primary);
  color: white;
  border-color: var(--gwg-primary);
}

/* ===========================
   Price Summary
   =========================== */

.price-summary {
  background-color: var(--gwg-gray-100);
  border-radius: var(--gwg-radius-lg);
  padding: 1.5rem;
}

.price-summary h5 {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gwg-gray-300);
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.price-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gwg-primary);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--gwg-gray-300);
}

/* ===========================
   Payment Methods
   =========================== */

.payment-methods {
  display: grid;
  gap: 1rem;
}

.payment-method {
  border: 2px solid var(--gwg-gray-300);
  border-radius: var(--gwg-radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-method:hover {
  border-color: var(--gwg-primary);
  background-color: rgba(26, 115, 232, 0.05);
}

.payment-method.selected {
  border-color: var(--gwg-primary);
  background-color: rgba(26, 115, 232, 0.1);
}

.payment-method input[type="radio"] {
  margin: 0;
}

.payment-method-info {
  flex: 1;
}

.payment-method-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.payment-method-desc {
  font-size: 0.875rem;
  color: var(--gwg-gray-700);
}

.payment-method-logos {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.payment-method-logos img {
  height: 24px;
}

/* ===========================
   Loading States
   =========================== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner-border {
  border-color: var(--gwg-primary);
  border-right-color: transparent;
}

.loading-text {
  color: white;
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* ===========================
   Empty States
   =========================== */

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--gwg-gray-500);
  margin-bottom: 1rem;
}

.empty-state h5 {
  color: var(--gwg-gray-800);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gwg-gray-700);
  margin-bottom: 1.5rem;
}

/* ===========================
   Toast Notifications (Modern 2025 Design)
   =========================== */

.toast-container {
  position: fixed !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 99999 !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  pointer-events: none;
}

.toast-container .toast {
  pointer-events: auto;
}

.toast {
  background-color: white !important;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  min-width: 320px;
  max-width: 420px;
  overflow: hidden;
  position: relative;
  border-left: 4px solid;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid !important;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

.toast:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toast-header {
  background-color: transparent;
  border-bottom: none;
  padding: 1rem 1.25rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-header .toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.toast-header strong {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gwg-gray-900);
}

.toast-header .btn-close {
  font-size: 0.75rem;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.toast-header .btn-close:hover {
  opacity: 1;
}

.toast-body {
  padding: 0.5rem 1.25rem 1rem;
  color: var(--gwg-gray-700);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Progress Bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: currentColor;
  opacity: 0.3;
  animation: toastProgress var(--duration, 5s) linear forwards;
}

/* Success Toast */
.toast.toast-success {
  border-left-color: #28a745 !important;
  background-color: white !important;
}

.toast.toast-success .toast-icon {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.toast.toast-success .toast-progress {
  background-color: #28a745;
}

/* Error Toast */
.toast.toast-error {
  border-left-color: #dc3545 !important;
  background-color: white !important;
}

.toast.toast-error .toast-icon {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.toast.toast-error .toast-progress {
  background-color: #dc3545;
}

/* Warning Toast */
.toast.toast-warning {
  border-left-color: #ffc107 !important;
  background-color: white !important;
}

.toast.toast-warning .toast-icon {
  background: rgba(255, 193, 7, 0.15);
  color: #f57c00;
}

.toast.toast-warning .toast-progress {
  background-color: #ffc107;
}

/* Info Toast */
.toast.toast-info {
  border-left-color: #0d6efd !important;
  background-color: white !important;
}

.toast.toast-info .toast-icon {
  background: rgba(13, 110, 253, 0.15);
  color: #0d6efd;
}

.toast.toast-info .toast-progress {
  background-color: #0d6efd;
}

/* Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.toast.hiding {
  animation: fadeOut 0.3s ease forwards;
}

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

/* ===========================
   Filters
   =========================== */

.filters-bar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filters-bar .row {
  align-items: end;
}

.filters-bar .form-label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--gwg-gray-700);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.filters-bar .form-control,
.filters-bar .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--gwg-gray-300);
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.filters-bar .form-control:focus,
.filters-bar .form-select:focus {
  border-color: var(--gwg-primary);
  box-shadow: 0 0 0 3px rgba(69, 69, 69, 0.1);
}

.filters-bar .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s ease;
}

.filters-bar .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Badge Color Picker
   =========================== */
.badge-color-picker .color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.badge-color-picker .badge-color-btn {
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    background-color: #fff;
}

.badge-color-picker .badge-color-btn::after {
    margin-left: auto;
}

.badge-color-picker .badge-color-menu {
    max-height: 250px;
    overflow-y: auto;
    padding: 0.25rem 0;
}

.badge-color-picker .badge-color-option {
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.badge-color-picker .badge-color-option:hover {
    background-color: #f8f9fa;
}

.badge-color-picker .badge-color-option.active {
    background-color: #e9ecef;
    color: #212529;
    font-weight: 500;
}

/* ===========================
   Floating Action Button
   =========================== */
.fab-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #7B0702 0%, #d32f2f 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--gwg-font-base);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(123, 7, 2, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.fab-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(123, 7, 2, 0.4), 0 6px 16px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #8b0702 0%, #b71c1c 100%);
}

.fab-button:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(123, 7, 2, 0.3), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.fab-button i {
  font-size: 1.5rem;
  line-height: 1;
}

.fab-button .fab-text {
  display: inline-block;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .fab-button {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }

  .fab-button .fab-text {
    display: none;
  }

  .fab-button i {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .fab-button {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }
}

/* Ensure content doesn't get hidden behind FAB */
.admin-body {
    padding-bottom: 100px;
}

/* ===========================
   Enhanced Modal Styles
   =========================== */

/* Modal Animations */
.modal.fade .modal-dialog {
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

/* Modal Content */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Enhanced Modal Header */
.modal-header {
  background: linear-gradient(135deg, #454545 0%, #333333 100%);
  color: white;
  padding: 1.5rem 2rem;
  border-bottom: none;
}

.modal-header .modal-title {
  font-family: var(--gwg-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-header .modal-title i {
  font-size: 1.75rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all 0.2s ease;
}

.modal-header .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  padding: 2rem;
  background: #fafafa;
}

/* Form Sections */
.form-section {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section-title {
  font-family: var(--gwg-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gwg-gray-800);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gwg-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title i {
  color: var(--gwg-primary);
  font-size: 1.25rem;
}

/* Password Field - Icon Inside Input */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gwg-gray-600);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.password-toggle:hover {
  color: var(--gwg-primary);
}

.password-toggle i {
  font-size: 1.125rem;
}

/* Enhanced Form Controls */
.modal-body .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gwg-gray-700);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.modal-body .form-label i {
  color: var(--gwg-primary);
  font-size: 1rem;
}

.modal-body .form-control,
.modal-body .form-select {
  border-radius: 12px;
  border: 2px solid var(--gwg-gray-300);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  background: white;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: var(--gwg-primary);
  box-shadow: 0 0 0 4px rgba(69, 69, 69, 0.1);
  background: white;
}

.modal-body textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Input with Icons */
.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gwg-primary);
  z-index: 5;
}

.input-with-icon .form-control {
  padding-left: 2.75rem;
}

/* Image Preview */
.image-preview-container {
  margin-top: 1rem;
  display: none;
}

.image-preview-container.show {
  display: block;
}

.image-preview {
  width: 100%;
  max-width: 300px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.current-image-preview {
  width: 100%;
  max-width: 300px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* Modal Footer */
.modal-footer {
  background: white;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  gap: 0.75rem;
}

.modal-footer .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, #7B0702 0%, #d32f2f 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(123, 7, 2, 0.3);
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(123, 7, 2, 0.4);
  background: linear-gradient(135deg, #8b0702 0%, #b71c1c 100%);
}

.modal-footer .btn-secondary {
  background: var(--gwg-gray-200);
  color: var(--gwg-gray-700);
  border: 2px solid var(--gwg-gray-300);
}

.modal-footer .btn-secondary:hover {
  background: var(--gwg-gray-300);
  transform: translateY(-2px);
}

/* Enhanced Tabs in View Modal */
.modal-body .nav-tabs {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.modal-body .nav-tabs .nav-link {
  border: none;
  color: var(--gwg-gray-600);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  margin: 0 0.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-body .nav-tabs .nav-link i {
  font-size: 1.125rem;
}

.modal-body .nav-tabs .nav-link:hover {
  color: var(--gwg-primary);
  background: rgba(69, 69, 69, 0.05);
}

.modal-body .nav-tabs .nav-link.active {
  color: white;
  background: linear-gradient(135deg, #454545 0%, #333333 100%);
  box-shadow: 0 4px 12px rgba(69, 69, 69, 0.25);
}

/* Gradient Stat Cards in View Modal */
.stat-card-gradient {
  background: linear-gradient(135deg, #454545 0%, #333333 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(69, 69, 69, 0.25);
  transition: all 0.3s ease;
}

.stat-card-gradient:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(69, 69, 69, 0.35);
}

.stat-card-gradient.stat-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.25);
}

.stat-card-gradient.stat-warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.25);
}

.stat-card-gradient.stat-info {
  background: linear-gradient(135deg, #17a2b8 0%, #007bff 100%);
  box-shadow: 0 8px 20px rgba(23, 162, 184, 0.25);
}

.stat-card-gradient h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
}

.stat-card-gradient small {
  font-size: 0.875rem;
  opacity: 0.95;
  color: white;
}

/* Tab Content */
.tab-content {
  animation: fadeIn 0.4s ease;
}

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

/* Info Sections in View Modal */
.info-section {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--gwg-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.info-section h6 {
  font-weight: 700;
  color: var(--gwg-gray-800);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-section h6 i {
  font-size: 1.25rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-body {
    padding: 1.25rem;
  }

  .form-section {
    padding: 1.25rem;
  }

  .modal-header {
    padding: 1.25rem 1.5rem;
  }

  .modal-header .modal-title {
    font-size: 1.25rem;
  }

  .modal-footer {
    padding: 1.25rem 1.5rem;
  }

  .modal-body .nav-tabs {
    padding: 0.25rem 0.5rem;
  }

  .modal-body .nav-tabs .nav-link {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .stat-card-gradient h3 {
    font-size: 1.75rem;
  }
}

/* ===========================
   Confirmation Modal
   =========================== */
.confirm-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(69, 69, 69, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.confirm-icon i {
  font-size: 3rem;
  color: var(--gwg-primary);
}

.confirm-icon.warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.15) 100%);
}

.confirm-icon.warning i {
  color: #f57c00;
}

.confirm-icon.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(32, 201, 151, 0.15) 100%);
}

.confirm-icon.success i {
  color: #28a745;
}

#confirmModal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#confirmModal .modal-header {
  background: white;
  border-bottom: none;
  padding: 1rem 1rem 0 1rem;
}

#confirmModal .modal-body {
  background: white;
  padding: 1rem 1.5rem 2rem 1.5rem;
}

#confirmModal #confirmTitle {
  font-family: var(--gwg-font-display);
  font-weight: 700;
  color: var(--gwg-gray-900);
}

#confirmModal #confirmMessage {
  font-size: 1rem;
  line-height: 1.6;
}

#confirmModal .modal-footer {
  background: white;
}

#confirmModal .btn {
  min-width: 100px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

#confirmModal .btn-primary {
  background: linear-gradient(135deg, #7B0702 0%, #d32f2f 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(123, 7, 2, 0.3);
}

#confirmModal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(123, 7, 2, 0.4);
}

#confirmModal .btn-secondary {
  background: var(--gwg-gray-200);
  color: var(--gwg-gray-700);
  border: 2px solid var(--gwg-gray-300);
}

#confirmModal .btn-secondary:hover {
  background: var(--gwg-gray-300);
  transform: translateY(-2px);
}

/* ===========================
   Promo Code
   =========================== */

.promo-code-section {
  margin-top: 1rem;
}

.promo-code-toggle {
  color: var(--gwg-primary);
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: underline;
}

.promo-code-input {
  margin-top: 0.75rem;
  display: none;
}

.promo-code-input.show {
  display: flex;
}

/* ===========================
   Subscription Cards
   =========================== */

.subscription-plan-card {
  border: 2px solid var(--gwg-gray-300);
  border-radius: var(--gwg-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.subscription-plan-card:hover {
  border-color: var(--gwg-primary);
  box-shadow: var(--gwg-shadow-lg);
  transform: translateY(-4px);
}

.subscription-plan-card.featured {
  border-color: var(--gwg-primary);
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(26, 115, 232, 0.1) 100%);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gwg-primary);
  margin-bottom: 0.5rem;
}

.plan-price-unit {
  font-size: 1rem;
  color: var(--gwg-gray-700);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.plan-features li i {
  color: var(--gwg-success);
  margin-top: 0.25rem;
}

/* ===========================
   Status Page
   =========================== */

.status-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-card {
  max-width: 500px;
  text-align: center;
  padding: 3rem 2rem;
}

.status-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.status-icon.success {
  color: var(--gwg-success);
}

.status-icon.failed {
  color: var(--gwg-danger);
}

.status-icon.pending {
  color: var(--gwg-warning);
}

/* ===========================
   Invoice/Receipt
   =========================== */

.invoice-container {
  background-color: white;
  max-width: 800px;
  margin: 2rem auto;
  padding: 3rem;
  box-shadow: var(--gwg-shadow-lg);
  border-radius: var(--gwg-radius);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--gwg-gray-300);
}

.invoice-details {
  margin-bottom: 2rem;
}

.invoice-table {
  margin-bottom: 2rem;
}

.invoice-total {
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gwg-primary);
}

@media print {
  .invoice-container {
    box-shadow: none;
    padding: 1rem;
  }

  .btn, .navbar-gwg, .footer-gwg {
    display: none;
  }
}

/* ===========================
   Mobile Responsive
   =========================== */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .admin-body {
    padding: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .slots-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .table-gwg {
    font-size: 0.875rem;
  }

  .table-gwg thead th,
  .table-gwg tbody td {
    padding: 0.75rem 0.5rem;
  }

  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  .toast-header {
    padding: 0.875rem 1rem 0.5rem;
  }

  .toast-body {
    padding: 0.5rem 1rem 0.875rem;
    font-size: 0.875rem;
  }

  .toast-header .toast-icon {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }

  .service-card {
    padding: 1.5rem;
  }

  .price-summary {
    padding: 1rem;
  }

  .invoice-container {
    padding: 1.5rem;
  }

  .invoice-header {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===========================
   Utilities
   =========================== */

.text-primary { color: var(--gwg-primary) !important; }
.text-secondary { color: var(--gwg-secondary) !important; }
.bg-light { background-color: var(--gwg-gray-100) !important; }

.section-padding {
  padding: 4rem 0;
}

.mb-section {
  margin-bottom: 3rem;
}

.cursor-pointer {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* ===========================
   Location Cards
   ============================ */

.location-card {
  transition: all 0.3s ease;
  height: 100%;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
}

.location-card .card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gwg-gray-900);
}

.location-card .card-img-top {
  transition: all 0.3s ease;
}

.location-card:hover .card-img-top {
  transform: scale(1.05);
}

.location-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gwg-gray-700);
}

.service-item i {
  font-size: 1rem;
}

.location-card[data-status="inactive"] {
  opacity: 0.7;
}

.location-card[data-status="inactive"] .card-body {
  background: var(--gwg-gray-50);
}

.location-card[data-status="inactive"] .btn-view-details {
  background: transparent;
  color: var(--gwg-btn-primary);
  border: 1.5px solid var(--gwg-btn-primary);
}

.location-card[data-status="inactive"] .btn-view-details:hover {
  background: var(--gwg-btn-primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 7, 2, 0.2);
}

/* Location Toggle Switch */
.location-toggle {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.location-toggle .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
  border: 2px solid var(--gwg-gray-400);
  background-color: var(--gwg-gray-400);
  transition: all 0.3s ease;
  margin: 0;
}

.location-toggle .form-check-input:hover {
  border-color: var(--gwg-gray-500);
}

.location-toggle .form-check-input:checked {
  background-color: #28a745;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.location-toggle .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
  border-color: #28a745;
}

.location-toggle .form-check-input:not(:checked) {
  background-color: var(--gwg-gray-400);
  border-color: var(--gwg-gray-400);
}

.location-toggle .form-check-input:not(:checked):hover {
  background-color: var(--gwg-gray-500);
  border-color: var(--gwg-gray-500);
}

.location-toggle .form-check-label {
  display: none;
}

/* ===========================
   Services & Pricing Styles
   =========================== */

/* Stats Cards for Services */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
}

.stat-card .stat-icon.bg-primary {
  background: linear-gradient(135deg, #454545 0%, #333333 100%);
}

.stat-card .stat-icon.bg-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.stat-card .stat-icon.bg-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.stat-card .stat-icon.bg-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.stat-card .stat-details h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gwg-gray-900);
  margin: 0 0 0.25rem 0;
  font-family: var(--gwg-font-display);
}

.stat-card .stat-details p {
  font-size: 0.875rem;
  color: var(--gwg-gray-600);
  margin: 0;
  font-weight: 500;
}

/* Service Tabs */
.nav-tabs {
  border-bottom: 2px solid var(--gwg-gray-200);
  gap: 0.5rem;
}

.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--gwg-gray-600);
  padding: 1rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background: transparent;
  border-radius: 0;
  position: relative;
}

.nav-tabs .nav-link:hover {
  color: var(--gwg-primary);
  background: transparent;
  border-bottom-color: var(--gwg-gray-300);
}

.nav-tabs .nav-link.active {
  color: var(--gwg-primary);
  background: transparent;
  border-bottom-color: var(--gwg-primary);
}

.nav-tabs .nav-link i {
  font-size: 1.125rem;
}

.nav-tabs .nav-link .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
}

/* Service Cards - Unified Design */
.service-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: var(--gwg-primary);
}

.service-card-image-wrapper {
  position: relative;
  width: 100%;
}

.service-card-image-wrapper .card-img-top {
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  width: 100%;
  display: block;
}

.service-card-image-wrapper .service-card-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.service-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Service Card Header */
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.service-card-header .card-title-wrapper {
  flex: 1;
}

.service-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gwg-gray-900);
  font-family: var(--gwg-font-display);
  margin: 0 0 0.375rem 0;
  line-height: 1.4;
  text-align: left;
}

.service-card .card-subtitle {
  font-size: 0.813rem;
  color: var(--gwg-gray-500);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.service-card .card-subtitle i {
  font-size: 0.875rem;
  line-height: 1;
}

.service-card .card-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gwg-gray-600);
  margin-bottom: 1rem;
  text-align: left;
}

/* Status Badge in Header */
.service-card-header .badge {
  font-size: 0.688rem;
  padding: 0.25rem 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Special Badge Overlay (Popular, Best Value) */
.service-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}

.service-badge-overlay .badge {
  font-size: 0.688rem;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Private Office Image Badge Overlay */
.service-card-image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.service-card-image-badge .badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.service-card-image-badge .badge i {
  margin-right: 0.25rem;
}

/* Price Display - Redesigned */
.price-display {
  background: linear-gradient(135deg, #fef3f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.price-display h3 {
  font-size: 1.875rem;
  font-weight: 800;
  margin: 0;
  font-family: var(--gwg-font-display);
  color: var(--gwg-primary);
  line-height: 1.2;
}

.price-display h5 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  color: var(--gwg-primary);
  line-height: 1.2;
}

.price-display small {
  font-size: 0.813rem;
  color: var(--gwg-gray-600);
  font-weight: 500;
  display: block;
  margin-top: 0.25rem;
}

/* Annual Price Wrapper */
.annual-price-wrapper {
  display: block;
  margin-top: 0.25rem;
}

.annual-price-wrapper .badge {
  font-size: 0.688rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: capitalize;
  margin-left: 0.25rem;
}

/* Monthly Credits Section */
.monthly-credits-section .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  text-transform: lowercase;
}

/* Price Display for Event Spaces (Dual Pricing) */
.price-display.dual-price {
  padding: 1rem;
}

.price-display.dual-price .price-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

.price-display.dual-price .price-col {
  flex: 1;
  text-align: center;
}

.price-display.dual-price .price-col h5 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.price-display.dual-price .price-col small {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Capacity Badge */
.capacity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.813rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  margin-top: 0.75rem;
  line-height: 1;
}

.capacity-badge i {
  font-size: 1rem;
  line-height: 1;
}

/* Service Features - Unified */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex: 1;
  align-items: flex-start;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gwg-gray-700);
  line-height: 1.4;
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  font-size: 1.125rem;
  flex-shrink: 0;
  color: var(--gwg-primary);
  line-height: 1;
}

.feature-item span {
  flex: 1;
  line-height: 1.4;
  text-align: left;
}

/* Add spacing for section headers in service features */
.service-features small {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  display: block;
}

.service-features small:first-child {
  margin-top: 0;
}

/* Service Locations Display */
.service-locations {
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gwg-gray-200);
}

.service-locations small {
  font-size: 0.688rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gwg-gray-500);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.625rem;
}

.service-locations .badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
  background: var(--gwg-gray-100);
  color: var(--gwg-gray-700);
  border: 1px solid var(--gwg-gray-300);
  line-height: 1;
}

/* Service Card Actions */
.service-card-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gwg-gray-200);
}

.service-card-actions .btn-view-details {
  flex: 1;
  background: var(--gwg-btn-primary);
  color: white;
  border: none;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.service-card-actions .btn-view-details:hover {
  background: #a00601;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 7, 2, 0.3);
}

.service-card-actions .btn-edit {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--gwg-gray-300);
  color: var(--gwg-gray-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-card-actions .btn-edit:hover {
  background: var(--gwg-gray-100);
  border-color: var(--gwg-primary);
  color: var(--gwg-primary);
}

.service-card-actions .btn-edit i {
  font-size: 1rem;
}

/* Toggle Switch in Card */
.service-card-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

/* When card has image, position toggle over the image */
.service-card:has(.card-img-top) .service-card-toggle {
  top: 1rem;
  right: 1rem;
}

.service-card-toggle .form-check {
  margin: 0;
  padding: 0;
  min-height: auto;
}

.service-card-toggle .form-check-input {
  width: 3.5rem;
  height: 1.875rem;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  margin: 0;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.service-card-toggle .form-check-input:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.35);
}

.service-card-toggle .form-check-input:checked {
  background-color: #28a745;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.service-card-toggle .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
  border-color: #28a745;
}

.service-card-toggle .form-check-label {
  display: none;
}

/* ===========================
   View Service Details Modal
   =========================== */
.view-service-modal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-service-header {
  background: linear-gradient(135deg, #454545 0%, #333333 100%);
  color: white;
  padding: 2rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.view-service-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.view-service-header .modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--gwg-font-display);
  color: white;
  margin: 0;
}

.view-service-header h4,
.view-service-header h5 {
  color: #ffffff;
  font-weight: 700;
}

.view-service-header .badge {
  font-size: 0.688rem;
  padding: 0.375rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-service-stats-panel {
  background: #f8f9fa;
  border-left: 1px solid #e5e7eb;
}

.stats-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gwg-gray-600);
}

.view-stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.view-stat-card:last-child {
  margin-bottom: 0;
}

.view-stat-red {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #fca5a5;
}

.view-stat-green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 1px solid #6ee7b7;
}

.view-stat-orange {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border: 1px solid #fb923c;
}

.view-stat-card .stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.view-stat-red .stat-icon {
  color: var(--gwg-primary);
}

.view-stat-green .stat-icon {
  color: #16a34a;
}

.view-stat-orange .stat-icon {
  color: #ea580c;
}

.view-stat-card .stat-icon i {
  font-size: 1.5rem;
}

.view-stat-card .stat-content {
  flex: 1;
}

.view-stat-card .stat-content h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin: 0;
  font-family: var(--gwg-font-display);
  line-height: 1;
}

.view-stat-red .stat-content h2 {
  color: var(--gwg-primary);
}

.view-stat-green .stat-content h2 {
  color: #16a34a;
}

.view-stat-orange .stat-content h2 {
  color: #ea580c;
}

.view-stat-card .stat-content p {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--gwg-gray-600);
  margin: 0.25rem 0 0 0;
  line-height: 1;
}

.view-service-section {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.view-service-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.section-icon-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid #f3f4f6;
}

.section-icon-header i {
  font-size: 1.25rem;
  color: var(--gwg-primary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3f2 0%, #fee2e2 100%);
  border-radius: 8px;
  flex-shrink: 0;
}

.section-icon-header h6 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--gwg-gray-900);
}

.section-content {
  font-size: 0.938rem;
  line-height: 1.6;
  color: var(--gwg-gray-600);
  margin: 0;
}

.view-price-display {
  background: linear-gradient(135deg, #fef3f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.view-price-display h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gwg-primary);
  margin: 0;
  font-family: var(--gwg-font-display);
  line-height: 1;
}

.view-price-display span {
  font-size: 0.938rem;
  color: var(--gwg-gray-600);
  font-weight: 600;
  display: block;
  margin-top: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.features-grid .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.938rem;
  color: var(--gwg-gray-700);
  padding: 0.5rem;
  background: #f9fafb;
  border-radius: 8px;
}

.features-grid .feature-item i {
  font-size: 1.125rem;
  color: var(--gwg-primary);
  flex-shrink: 0;
}

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

.locations-grid .badge {
  font-size: 0.813rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  background: var(--gwg-gray-100);
  color: var(--gwg-gray-700);
  border: 1px solid var(--gwg-gray-300);
  border-radius: 8px;
}

/* Feature Badge Styling */
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  color: #166534;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.25rem;
  transition: all 0.2s ease;
}

.feature-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.feature-badge i {
  font-size: 1rem;
  color: #16a34a;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Location Badge Styling */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fef3f2 0%, #fee2e2 100%);
  border: 1px solid #fca5a5;
  color: var(--gwg-primary);
  padding: 0.625rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.25rem;
  transition: all 0.2s ease;
}

.location-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.location-badge i {
  font-size: 1rem;
  color: var(--gwg-primary);
}

/* Credit Card Styling */
.credit-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.credit-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  opacity: 0.1;
  border-radius: 50%;
}

.meeting-room-card {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #93c5fd;
}

.meeting-room-card::before {
  background: #1d4ed8;
}

.day-pass-card {
  background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
  border: 2px solid #a78bfa;
}

.day-pass-card::before {
  background: #7c3aed;
}

.credit-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.meeting-room-card .credit-card-icon {
  color: #1d4ed8;
}

.day-pass-card .credit-card-icon {
  color: #7c3aed;
}

.credit-card-icon i {
  font-size: 1.75rem;
}

.credit-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.credit-card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gwg-gray-600);
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credit-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  font-family: var(--gwg-font-display);
  line-height: 1;
}

.meeting-room-card .credit-card-value {
  color: #1e40af;
}

.day-pass-card .credit-card-value {
  color: #6d28d9;
}

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

/* Info Item Label-Value Styling */
.info-item {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.375rem;
  display: block;
}

.info-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.5;
}

.view-price-display-compact strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gwg-primary);
}

/* Pricing Mode Selector Styling */
.form-check {
  cursor: pointer;
}

.form-check-input[type="radio"] {
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
  user-select: none;
}

.price-readonly {
  background-color: #f8f9fa;
  opacity: 0.7;
}

.pricing-fill-container {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.pricing-fill-container:hover {
  border-color: #4ade80;
  box-shadow: 0 2px 8px rgba(74, 222, 128, 0.2);
}

.pricing-fill-container input[type="number"] {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gwg-primary);
  border: 2px solid #d1d5db;
}

.pricing-fill-container input[type="number"]:focus {
  border-color: var(--gwg-primary);
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15);
}

/* Location Pricing Table Enhancement */
#view_location_pricing_section .table {
  margin-bottom: 0;
}

#view_location_pricing_section .table thead {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

#view_location_pricing_section .table thead th {
  font-weight: 700;
  color: var(--gwg-gray-700);
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.875rem;
  border-bottom: 2px solid #e5e7eb;
}

#view_location_pricing_section .table tbody td {
  padding: 0.875rem;
  vertical-align: middle;
  font-size: 0.938rem;
}

#view_location_pricing_section .table tbody tr {
  transition: background-color 0.2s ease;
}

#view_location_pricing_section .table tbody tr:hover {
  background-color: #f9fafb;
}

.view-service-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid #e5e7eb;
  background: white;
}

.view-service-footer .btn {
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
}

.view-service-footer .btn-light {
  background: var(--gwg-gray-100);
  border: 1px solid var(--gwg-gray-300);
  color: var(--gwg-gray-700);
}

.view-service-footer .btn-light:hover {
  background: var(--gwg-gray-200);
  border-color: var(--gwg-gray-400);
}

/* Service Locations */
.service-locations small {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-locations .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-weight: 500;
  border: 1px solid var(--gwg-gray-300);
}

/* Service Card Image */
.service-card .card-img-top {
  border-radius: 16px 16px 0 0;
  transition: all 0.3s ease;
}

.service-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Info Section in View Modal */
.info-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gwg-gray-200);
}

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

.info-section h6 {
  font-weight: 700;
  color: var(--gwg-gray-900);
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-section h6 i {
  font-size: 1.125rem;
}

/* Responsive Adjustments for Services */
@media (max-width: 768px) {
  .stat-card {
    padding: 1.25rem;
  }

  .stat-card .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .stat-card .stat-details h3 {
    font-size: 1.5rem;
  }

  .nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .service-card .card-title {
    font-size: 1.125rem;
  }

  .price-display h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .location-services {
    grid-template-columns: 1fr;
  }

  .location-toggle .form-check-input {
    width: 2.75rem;
    height: 1.375rem;
  }
}

/* ============================================
   Custom Location Dropdown Styling
   ============================================ */

/* Dropdown Button */
.location-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0.375rem 0.75rem;
  font-size: 0.938rem;
  color: #495057 !important;
  background-color: #fff !important;
  border: 1px solid #ced4da !important;
  border-radius: 6px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.location-dropdown-btn:hover {
  color: #495057 !important;
  background-color: #f8f9fa !important;
  border-color: #86b7fe !important;
}

.location-dropdown-btn:focus,
.location-dropdown-btn:active,
.location-dropdown-btn.show {
  color: #495057 !important;
  background-color: #fff !important;
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.location-dropdown-btn .dropdown-placeholder {
  color: #6c757d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dropdown Menu */
.location-dropdown-menu {
  max-height: 350px;
  overflow-y: auto;
  padding: 0;
  border-radius: 6px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.location-dropdown-menu .dropdown-header {
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  font-size: 0.875rem;
}

.location-dropdown-menu .dropdown-header .btn-link {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Checkbox List */
.location-checkbox-list {
  max-height: 200px;
  overflow-y: auto;
}

.location-checkbox-list .dropdown-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.location-checkbox-list .dropdown-item:hover {
  background-color: #f8f9fa;
}

.location-checkbox-list .form-check {
  margin-bottom: 0;
}

.location-checkbox-list .form-check-input {
  cursor: pointer;
  margin-top: 0.125rem;
}

.location-checkbox-list .form-check-label {
  cursor: pointer;
  user-select: none;
  margin-left: 0.5rem;
}

/* Selected Badges */
.selected-location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-height: 20px;
}

.selected-location-badges .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
}

.selected-location-badges .badge i {
  margin-left: 0.35rem;
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.selected-location-badges .badge i:hover {
  opacity: 1;
}

/* Search Input in Dropdown */
.location-dropdown-menu input[type="text"] {
  border-radius: 6px;
  font-size: 0.875rem;
}

.location-dropdown-menu input[type="text"]:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Scrollbar Styling */
.location-dropdown-menu::-webkit-scrollbar,
.location-checkbox-list::-webkit-scrollbar {
  width: 6px;
}

.location-dropdown-menu::-webkit-scrollbar-track,
.location-checkbox-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.location-dropdown-menu::-webkit-scrollbar-thumb,
.location-checkbox-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.location-dropdown-menu::-webkit-scrollbar-thumb:hover,
.location-checkbox-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}
