/**
 * 3D Isometric Hotel Dashboard Styles
 * Modern dark theme with glass morphism and 3D effects
 */

/* ============================================
   3D DASHBOARD MAIN CONTAINER
   ============================================ */
.hotel-dashboard-3d {
  min-height: 100vh;
  padding: 20px;
  background: rgba(15, 23, 40, 0.6);
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
  border-radius: 24px;
}




/* ============================================
   FIXED ADD FLOOR BUTTON
   ============================================ */
.add-floor-floating-btn {
  position: fixed;
  left: 40px;
  bottom: 40px;
  z-index: 9999; /* فوق كل حاجة في الصفحة */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Outer Circle */
.btn-circle-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, 0.3);
}

/* Middle Circle */
.btn-circle-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, 0.4);
}

/* Inner Circle - Main Button */
.btn-circle-inner {
  position: relative;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 24px rgba(59, 130, 246, 0.4),
    0 0 40px rgba(96, 165, 250, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.btn-circle-inner svg {
  width: 40px;
  height: 40px;
  color: white;
}

/* Tooltip */
.btn-tooltip {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.btn-tooltip::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 6px 0;
  border-color: transparent rgba(30, 41, 59, 0.95) transparent transparent;
}

/* Hover Effects */
.add-floor-floating-btn:hover .btn-circle-inner {
  transform: scale(1.1);
  box-shadow: 
    0 12px 32px rgba(59, 130, 246, 0.5),
    0 0 60px rgba(96, 165, 250, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.add-floor-floating-btn:hover .btn-tooltip {
  opacity: 1;
  visibility: visible;
  left: 110px;
}

.add-floor-floating-btn:active .btn-circle-inner {
  transform: scale(0.95);
}


/* Responsive */
@media (max-width: 768px) {
  .add-floor-floating-btn {
    left: 20px;
    bottom: 20px;
  }
  
  .btn-circle-outer {
    width: 100px;
    height: 100px;
  }
  
  .btn-circle-middle {
    width: 80px;
    height: 80px;
  }
  
  .btn-circle-inner {
    width: 70px;
    height: 70px;
  }
  
  .btn-circle-inner svg {
    width: 30px;
    height: 30px;
  }
}

/* ============================================
   HEADER SECTION
   ============================================ */
.hotel-header-3d {
  position: relative;
  z-index: 20;
  margin-bottom: 30px;
}

.header-content-3d {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header-left-3d {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon-3d {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  box-shadow: 
    0 4px 12px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-title-3d h1 {
  font-size: 24px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 4px 0;
}

.header-title-3d p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.header-stats-3d {
  display: flex;
  gap: 12px;
}

.stat-badge-3d {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.stat-badge-3d svg {
  color: #60a5fa;
}

/* ============================================
   DASHBOARD STATS CARDS
   ============================================ */
.dashboard-stats-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  position: relative;
  z-index: 20;
}

.stat-card-3d {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(21, 29, 46, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 16px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.stat-icon-3d {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.stat-icon-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, currentColor, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.3;
}

.stat-primary .stat-icon-3d {
  background: rgba(59, 130, 246, 0.12);
  color: #5b9cf5;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 
    0 4px 12px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(59, 130, 246, 0.1);
}

.stat-success .stat-icon-3d {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.15),
    inset 0 1px 0 rgba(16, 185, 129, 0.1);
}

.stat-danger .stat-icon-3d {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 
    0 4px 12px rgba(239, 68, 68, 0.15),
    inset 0 1px 0 rgba(239, 68, 68, 0.1);
}

.stat-warning .stat-icon-3d {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 
    0 4px 12px rgba(245, 158, 11, 0.15),
    inset 0 1px 0 rgba(245, 158, 11, 0.1);
}

.stat-content-3d {
  flex: 1;
}

.stat-label-3d {
  font-size: 13px;
  color: #8b95a8;
  margin-bottom: 6px;
  display: block;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.stat-value-3d {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.stat-primary .stat-value-3d { 
  color: #5b9cf5;
  text-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.stat-success .stat-value-3d { 
  color: #10b981;
  text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.stat-danger .stat-value-3d { 
  color: #ef4444;
  text-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.stat-warning .stat-value-3d { 
  color: #f59e0b;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ============================================
   FLOORS GRID
   ============================================ */
.floors-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 20;
  margin-bottom: 80px;
}

/* ============================================
   FLOOR CARD 3D
   ============================================ */
.floor-card-3d {
  background: linear-gradient(135deg, rgba(21, 29, 46, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Building Image */
.floor-building-3d {
  height: 200px;
  background: linear-gradient(180deg, #1a2538 0%, #0F1728 100%);
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}


.floor-building-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: lighten;
  position: relative;
  z-index: 1;
}

.floor-building-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(10, 22, 40, 0.8) 100%);
  z-index: 2;
}


/* Floor Info Card */
.floor-info-card-3d {
  position: absolute;
  top: 160px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.floor-badge-3d {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(21, 29, 46, 0.95);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 12px;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.floor-label-3d {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floor-number-3d {
  font-size: 32px;
  font-weight: 700;
  color: #60a5fa;
  line-height: 1;
}

.floor-nav-btn-3d {
  width: 44px;
  height: 44px;
  background: rgba(21, 29, 46, 0.95);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 12px;
  color: #8b95a8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.floor-nav-btn-3d:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #60a5fa;
}

/* Room Stats */
.room-stats-3d {
  display: flex;
  justify-content: space-between;
  padding: 60px 20px 20px;
  gap: 12px;
}

.room-stat-item-3d {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
}

.room-stat-item-3d::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-stat-available {
  border-color: rgba(16, 185, 129, 0.2);
  padding-top: 48px;
}

.room-stat-available::before {
  background: url('/icons/success.png') center center no-repeat;
  background-size: contain;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.room-stat-available:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
}

.room-stat-occupied {
  border-color: rgba(239, 68, 68, 0.2);
  padding-top: 48px;
}

.room-stat-occupied::before {
  background: url('/icons/busy.png') center center no-repeat;
  background-size: contain;
  box-shadow: 
    0 4px 12px rgba(239, 68, 68, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.room-stat-occupied:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
}

.room-stat-cleaning {
  border-color: rgba(245, 158, 11, 0.2);
  padding-top: 48px;
}

.room-stat-cleaning::before {
  background: url('/icons/clean.png') center center no-repeat;
  background-size: contain;
  box-shadow: 
    0 4px 12px rgba(245, 158, 11, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.room-stat-cleaning:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
}

.room-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.room-stat-available .room-stat-number { color: #34d399; }
.room-stat-occupied .room-stat-number { color: #f87171; }
.room-stat-cleaning .room-stat-number { color: #fbbf24; }

.room-stat-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: capitalize;
}

/* Occupancy Section */
.occupancy-section-3d {
  padding: 0 20px 20px;
}

.occupancy-bar-3d {
  height: 6px;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.occupancy-fill-3d {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

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

.occupancy-label-3d {
  font-size: 12px;
  color: #64748b;
}

.occupancy-percent-3d {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}

/* View Details Button */
.view-details-btn-3d {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  color: #60a5fa;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.view-details-btn-3d:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .floors-grid-3d {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hotel-dashboard-3d {
    padding: 16px;
  }

  .header-content-3d {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-title-3d h1 {
    font-size: 20px;
  }

  .dashboard-stats-3d {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .floors-grid-3d {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .floor-building-3d {
    height: 160px;
  }

  .floor-info-card-3d {
    top: 130px;
  }

  .floor-number-3d {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .dashboard-stats-3d {
    grid-template-columns: 1fr;
  }

  .stat-card-3d {
    padding: 16px;
  }

  .room-stats-3d {
    flex-direction: column;
    gap: 8px;
  }

  .room-stat-item-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .room-stat-number {
    margin-bottom: 0;
  }
}

/* ============================================
   TEMPLATE CUSTOMIZER BUTTON - SETTINGS GIF ICON
   ============================================ */
.template-customizer-open-btn {
  background-image: url('/icons/setting.gif') !important;
  background-size: 40px 40px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: rgba(15, 23, 40, 0.9) !important;
}

.template-customizer-open-btn::before {
  content: '' !important;
  display: none !important;
}

/* ============================================
   NAVBAR STYLING - 3D GLASS MORPHISM WITH SKELETON
   ============================================ */
.layout-navbar,
.bg-navbar-theme {
  position: relative;
  overflow: visible !important;
  background: linear-gradient(
    135deg,
    rgba(28, 35, 53, 0.95) 0%,
    rgba(25, 32, 50, 0.9) 50%,
    rgba(22, 28, 45, 0.95) 100%
  ) !important;
  border: 2px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.05),
    inset 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Ensure content is above the skeleton */
.layout-navbar > *,
.bg-navbar-theme > * {
  position: relative;
  z-index: 1;
}

/* Additional glass morphism effect on hover */
.layout-navbar:hover,
.bg-navbar-theme:hover {
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.6),
    inset 0 2px 6px rgba(255, 255, 255, 0.08),
    inset 0 -4px 25px rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Fix overflow for navbar dropdowns */
.layout-navbar .navbar-nav,
.layout-navbar .nav-item,
.bg-navbar-theme .navbar-nav,
.bg-navbar-theme .nav-item {
  overflow: visible !important;
}

.layout-page,
.content-wrapper,
.container-xxl {
  overflow: visible !important;
}

/* ============================================
   LIGHT MODE SUPPORT - Neumorphism Theme
   ============================================ */
:root {
  --neuro-bg: #e4ebf5;
  --neuro-light-1: #ffffff;
  --neuro-light-2: #c8d0e7;
  --neuro-dark: #9baacf;
  --neuro-primary: #6d5dfc;
  --neuro-primary-light: #8abdff;
  --neuro-primary-dark: #5b0eeb;
}

/* Page Background in Light Mode */
html:not(.dark-style) .layout-wrapper,
html:not(.dark-style) .layout-page,
.light-style .layout-wrapper,
.light-style .layout-page {
  background: linear-gradient(135deg, #cffff6 0%, #a8e6d8 25%, #e4ffd4 50%, #a2f2e0 75%, #c7fff5 100%) !important;
  position: relative;
  overflow: hidden;
}


html:not(.dark-style) .content-wrapper,
html:not(.dark-style) .container-xxl,
.light-style .content-wrapper,
.light-style .container-xxl {
  background: transparent !important;
}

/* Dashboard Container - Neumorphism */
html:not(.dark-style) .hotel-dashboard-3d,
.light-style .hotel-dashboard-3d {
  background: var(--neuro-bg) !important;
  border-radius: 3rem !important;
  width: 100% !important;
  box-shadow: 
    0.8rem 0.8rem 1.4rem var(--neuro-light-2), 
    -0.2rem -0.2rem 1.8rem var(--neuro-light-1) !important;
  padding: 2rem !important;
}

/* Floor Cards - Neumorphism */
html:not(.dark-style) .floor-card-3d,
.light-style .floor-card-3d {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 2rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .floor-card-3d:hover,
.light-style .floor-card-3d:hover {
  box-shadow: 
    0.4rem 0.4rem 0.8rem var(--neuro-light-2), 
    -0.3rem -0.3rem 0.7rem var(--neuro-light-1) !important;
}

/* Stats Cards - Neumorphism */
html:not(.dark-style) .stat-card-3d,
.light-style .stat-card-3d {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 1.5rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

/* Floor Building - Keep Image Visible */
html:not(.dark-style) .floor-building-3d,
.light-style .floor-building-3d {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 2rem 2rem 0 0 !important;
}

html:not(.dark-style) .floor-building-3d img,
.light-style .floor-building-3d img {
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
}

html:not(.dark-style) .floor-building-3d::after,
.light-style .floor-building-3d::after {
  background: none !important;
}

/* Text Colors in Light Mode */
html:not(.dark-style) .floor-label-3d,
html:not(.dark-style) .floor-number-3d,
html:not(.dark-style) .room-stat-label,
html:not(.dark-style) .room-stat-number,
.light-style .floor-label-3d,
.light-style .floor-number-3d,
.light-style .room-stat-label,
.light-style .room-stat-number {
  color: var(--neuro-dark) !important;
}

html:not(.dark-style) .stat-label-3d,
html:not(.dark-style) .stat-number-3d,
.light-style .stat-label-3d,
.light-style .stat-number-3d {
  color: var(--neuro-dark) !important;
}

/* Buttons - Neumorphism Primary */
html:not(.dark-style) .view-details-btn-3d,
.light-style .view-details-btn-3d {
  background: var(--neuro-primary) !important;
  color: white !important;
  border-radius: 1rem !important;
  box-shadow: 
    inset 0.2rem 0.2rem 1rem var(--neuro-primary-light), 
    inset -0.2rem -0.2rem 1rem var(--neuro-primary-dark),
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .view-details-btn-3d:hover,
.light-style .view-details-btn-3d:hover {
  box-shadow: 
    inset 0.2rem 0.2rem 1rem var(--neuro-primary-dark), 
    inset -0.2rem -0.2rem 1rem var(--neuro-primary-light) !important;
}

/* Stats Items - Neumorphism Inset */
html:not(.dark-style) .room-stat-item-3d,
.light-style .room-stat-item-3d {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 1rem !important;
  box-shadow: 
    inset 0.2rem 0.2rem 0.5rem var(--neuro-light-2), 
    inset -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

/* Keep Room Stat Icons Visible */
html:not(.dark-style) .room-stat-item-3d::before,
.light-style .room-stat-item-3d::before {
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
}

html:not(.dark-style) .room-stat-available::before,
.light-style .room-stat-available::before {
  background: url('/icons/success.png') center center no-repeat !important;
  background-size: contain !important;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
}

html:not(.dark-style) .room-stat-occupied::before,
.light-style .room-stat-occupied::before {
  background: url('/icons/busy.png') center center no-repeat !important;
  background-size: contain !important;
  box-shadow: 
    0 4px 12px rgba(239, 68, 68, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
}

html:not(.dark-style) .room-stat-cleaning::before,
.light-style .room-stat-cleaning::before {
  background: url('/icons/clean.png') center center no-repeat !important;
  background-size: contain !important;
  box-shadow: 
    0 4px 12px rgba(245, 158, 11, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
}

/* Header - Neumorphism */
html:not(.dark-style) .hotel-header-3d,
.light-style .hotel-header-3d {
  background: var(--neuro-bg) !important;
  border-radius: 2rem !important;
  width: 100% !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
  padding: 2rem 2.5rem !important;
}

html:not(.dark-style) .header-content-3d,
.light-style .header-content-3d {
  padding: 1rem 0 !important;
}

html:not(.dark-style) .header-title-3d,
.light-style .header-title-3d {
  color: #0a1d68 !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
}

html:not(.dark-style) .header-subtitle-3d,
.light-style .header-subtitle-3d {
  color: #0a1d68 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  opacity: 0.7 !important;
}

/* Stat Badge - Neumorphism */
html:not(.dark-style) .stat-badge-3d,
.light-style .stat-badge-3d {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 1.2rem !important;
  padding: 12px 20px !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .stat-badge-3d,
.light-style .stat-badge-3d {
  color: #0a1d68 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

html:not(.dark-style) .stat-badge-3d svg,
.light-style .stat-badge-3d svg {
  color: #0a1d68 !important;
  width: 22px !important;
  height: 22px !important;
}

/* Logo Icon - Neumorphism */
html:not(.dark-style) .logo-icon-3d,
.light-style .logo-icon-3d {
  background: linear-gradient(135deg, #1e3a8a, #0a1d68) !important;
  width: 65px !important;
  height: 65px !important;
  border-radius: 1.5rem !important;
  box-shadow: 
    inset 0.2rem 0.2rem 0.5rem rgba(30, 58, 138, 0.5), 
    inset -0.2rem -0.2rem 0.5rem rgba(10, 29, 104, 0.5),
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .logo-icon-3d svg,
.light-style .logo-icon-3d svg {
  width: 32px !important;
  height: 32px !important;
  color: #ffffff !important;
}

/* Dashboard Stats in Light Mode */
html:not(.dark-style) .dashboard-stats-3d,
.light-style .dashboard-stats-3d {
  background: transparent !important;
}

/* Add Floor Button - No Background (Circles Only) */
html:not(.dark-style) .add-floor-floating-btn,
.light-style .add-floor-floating-btn {
  background: none !important;
  box-shadow: none !important;
}

html:not(.dark-style) .add-floor-floating-btn:hover,
.light-style .add-floor-floating-btn:hover {
  background: none !important;
  box-shadow: none !important;
}

/* Make Inner Circle Neumorphism Style */
html:not(.dark-style) .btn-circle-inner,
.light-style .btn-circle-inner {
  background: var(--neuro-primary) !important;
  box-shadow: 
    inset 0.2rem 0.2rem 1rem var(--neuro-primary-light), 
    inset -0.2rem -0.2rem 1rem var(--neuro-primary-dark),
    0.5rem 0.5rem 1rem var(--neuro-light-2), 
    -0.3rem -0.3rem 0.8rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .add-floor-floating-btn:hover .btn-circle-inner,
.light-style .add-floor-floating-btn:hover .btn-circle-inner {
  box-shadow: 
    inset 0.2rem 0.2rem 1rem var(--neuro-primary-dark), 
    inset -0.2rem -0.2rem 1rem var(--neuro-primary-light),
    0.6rem 0.6rem 1.2rem var(--neuro-light-2), 
    -0.4rem -0.4rem 1rem var(--neuro-light-1) !important;
}

/* Outer and Middle Circles - Neumorphism */
html:not(.dark-style) .btn-circle-outer,
.light-style .btn-circle-outer {
  background: rgba(109, 93, 252, 0.1) !important;
  border: 2px solid rgba(109, 93, 252, 0.2) !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .btn-circle-middle,
.light-style .btn-circle-middle {
  background: rgba(109, 93, 252, 0.15) !important;
  border: 2px solid rgba(109, 93, 252, 0.25) !important;
  box-shadow: 
    0.2rem 0.2rem 0.4rem var(--neuro-light-2), 
    -0.1rem -0.1rem 0.3rem var(--neuro-light-1) !important;
}


/* Side Circles in Light Mode */
html:not(.dark-style) .side-circle-left,
html:not(.dark-style) .side-circle-right,
html:not(.dark-style) .side-circle-left-2,
html:not(.dark-style) .side-circle-right-2,
.light-style .side-circle-left,
.light-style .side-circle-right,
.light-style .side-circle-left-2,
.light-style .side-circle-right-2 {
  opacity: 1 !important;
  display: block !important;
}

.light-style .side-circle-left,
html:not(.dark-style) .side-circle-left {
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 
    0 0 25px rgba(59, 130, 246, 0.15),
    inset 0 0 25px rgba(59, 130, 246, 0.08) !important;
}

.light-style .side-circle-right,
html:not(.dark-style) .side-circle-right {
  border-color: rgba(16, 185, 129, 0.25) !important;
  box-shadow: 
    0 0 25px rgba(16, 185, 129, 0.15),
    inset 0 0 25px rgba(16, 185, 129, 0.08) !important;
}

.light-style .side-circle-left-2,
html:not(.dark-style) .side-circle-left-2 {
  border-color: rgba(139, 92, 246, 0.22) !important;
  box-shadow: 
    0 0 25px rgba(139, 92, 246, 0.12),
    inset 0 0 25px rgba(139, 92, 246, 0.06) !important;
}

.light-style .side-circle-right-2,
html:not(.dark-style) .side-circle-right-2 {
  border-color: rgba(34, 197, 94, 0.22) !important;
  box-shadow: 
    0 0 25px rgba(34, 197, 94, 0.12),
    inset 0 0 25px rgba(34, 197, 94, 0.06) !important;
}

/* Floor Nav Button in Light Mode */
html:not(.dark-style) .floor-nav-btn-3d,
.light-style .floor-nav-btn-3d {
  background: rgba(248, 250, 252, 0.9) !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
}

html:not(.dark-style) .floor-nav-btn-3d:hover,
.light-style .floor-nav-btn-3d:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.08)) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Progress Bar in Light Mode */
html:not(.dark-style) .occupancy-bar-3d,
.light-style .occupancy-bar-3d {
  background: rgba(226, 232, 240, 0.5) !important;
}


/* Floor Badge - Neumorphism */
html:not(.dark-style) .floor-badge-3d,
.light-style .floor-badge-3d {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 1rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

/* Occupancy Info in Light Mode */
html:not(.dark-style) .occupancy-info-3d,
.light-style .occupancy-info-3d {
  color: #64748b !important;
}

html:not(.dark-style) .occupancy-percent-3d,
.light-style .occupancy-percent-3d {
  color: #1e293b !important;
}

/* Floor Info Card - Neumorphism */
html:not(.dark-style) .floor-info-card-3d,
.light-style .floor-info-card-3d {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 1.5rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

/* SVG Icons Colors in Light Mode */
html:not(.dark-style) .logo-icon-3d svg,
html:not(.dark-style) .stat-icon-3d svg,
.light-style .logo-icon-3d svg,
.light-style .stat-icon-3d svg {
  color: #ffffff !important;
  display: inline-block !important;
  opacity: 1 !important;
}

html:not(.dark-style) .floor-nav-btn-3d svg,
.light-style .floor-nav-btn-3d svg {
  color: var(--neuro-dark) !important;
  display: inline-block !important;
  opacity: 1 !important;
}

/* Make sure all icons and images are visible */
html:not(.dark-style) img,
.light-style img {
  opacity: 1 !important;
}

html:not(.dark-style) svg,
.light-style svg {
  opacity: 1 !important;
}

/* Stat Icons - Keep Visible with Neumorphism */
html:not(.dark-style) .stat-icon-3d,
.light-style .stat-icon-3d {
  background: var(--neuro-primary) !important;
  border-radius: 1.5rem !important;
  box-shadow: 
    inset 0.2rem 0.2rem 0.5rem var(--neuro-primary-light), 
    inset -0.2rem -0.2rem 0.5rem var(--neuro-primary-dark),
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

/* Make sure GIF/PNG icons are visible */
html:not(.dark-style) .stat-icon-3d .status-icon-gif,
.light-style .stat-icon-3d .status-icon-gif {
  display: inline-block !important;
  opacity: 1 !important;
  filter: none !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 40px !important;
  height: 40px !important;
}

/* Status Icons Classes */
html:not(.dark-style) .status-icon-available,
.light-style .status-icon-available {
  background-image: url('/icons/success.png') !important;
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  opacity: 1 !important;
}

html:not(.dark-style) .status-icon-occupied,
html:not(.dark-style) .status-icon-busy,
.light-style .status-icon-occupied,
.light-style .status-icon-busy {
  background-image: url('/icons/busy.png') !important;
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  opacity: 1 !important;
}

html:not(.dark-style) .status-icon-cleaning,
.light-style .status-icon-cleaning {
  background-image: url('/icons/clean.png') !important;
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  opacity: 1 !important;
}

/* Navbar in Light Mode */
html:not(.dark-style) .layout-navbar,
html:not(.dark-style) .bg-navbar-theme,
.light-style .layout-navbar,
.light-style .bg-navbar-theme {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 2rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
  position: relative !important;
}


/* Sidebar - Neumorphism */
html:not(.dark-style) .layout-menu,
html:not(.dark-style) .bg-menu-theme,
html:not(.dark-style) #layout-menu,
.light-style .layout-menu,
.light-style .bg-menu-theme,
.light-style #layout-menu {
  background: var(--neuro-bg) !important;
  border-radius: 0 2rem 2rem 0 !important;
  box-shadow: 
    0.3rem 0 0.6rem var(--neuro-light-2), 
    -0.1rem 0 0.3rem var(--neuro-light-1) !important;
}

/* Sidebar Text */
html:not(.dark-style) .layout-menu .menu-item > .menu-link > div,
html:not(.dark-style) .layout-menu .menu-item .menu-link div,
.light-style .layout-menu .menu-item > .menu-link > div,
.light-style .layout-menu .menu-item .menu-link div {
  color: #0a1d68 !important;
  font-weight: 700 !important;
}

/* Active Menu Item - Neumorphism Blue/Purple Inset */
html:not(.dark-style) .layout-menu .menu-item.active > .menu-link,
.light-style .layout-menu .menu-item.active > .menu-link {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(139, 92, 246, 0.35)) !important;
  border-radius: 0.8rem !important;
  padding: 0.6rem 1.2rem !important;
  padding-right: 3.5rem !important;
  box-shadow: 
    inset 0.4rem 0.4rem 0.8rem rgba(139, 92, 246, 0.3), 
    inset -0.2rem -0.2rem 0.6rem rgba(255, 255, 255, 0.5) !important;
}

/* Active Menu Item Text - White */
html:not(.dark-style) .layout-menu .menu-item.active > .menu-link > div,
html:not(.dark-style) .layout-menu .menu-item.active .menu-link div,
.light-style .layout-menu .menu-item.active > .menu-link > div,
.light-style .layout-menu .menu-item.active .menu-link div {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: right !important;
}

/* Menu Hover - Subtle */
html:not(.dark-style) .layout-menu .menu-link:hover,
.light-style .layout-menu .menu-link:hover {
  background: rgba(59, 130, 246, 0.08) !important;
  border-radius: 1rem !important;
  box-shadow: 
    0.2rem 0.2rem 0.4rem rgba(255, 255, 255, 0.6), 
    -0.1rem -0.1rem 0.3rem rgba(200, 208, 231, 0.4) !important;
}

/* Arrow Icon */
html:not(.dark-style) .layout-menu .menu-toggle::after,
html:not(.dark-style) .layout-menu .menu-link.menu-toggle::after,
.light-style .layout-menu .menu-toggle::after,
.light-style .layout-menu .menu-link.menu-toggle::after {
  color: #0a1d68 !important;
  font-weight: 900 !important;
}

/* Sidebar Icons - Make sure they're visible */
html:not(.dark-style) .sidebar-icon-gif,
.light-style .sidebar-icon-gif {
  display: inline-block !important;
  opacity: 1 !important;
  filter: brightness(1) saturate(1.2) !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Menu Header (كورال بيتش) - Dark Color */
html:not(.dark-style) .layout-menu .menu-header,
.light-style .layout-menu .menu-header {
  color: #0a1d68 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* Regular Menu Items - Neumorphism */
html:not(.dark-style) .layout-menu .menu-item:not(.active) > .menu-link,
.light-style .layout-menu .menu-item:not(.active) > .menu-link {
  background: var(--neuro-bg) !important;
  border-radius: 1rem !important;
  margin: 0.3rem 0 !important;
  box-shadow: 
    0.2rem 0.2rem 0.4rem var(--neuro-light-2), 
    -0.1rem -0.1rem 0.3rem var(--neuro-light-1) !important;
}

/* Active Menu Item - Icon highlight */
html:not(.dark-style) .menu-item.active .sidebar-icon-gif,
.light-style .menu-item.active .sidebar-icon-gif {
  filter: brightness(1.1) saturate(1.3) !important;
}

/* Settings Button - Neumorphism */
html:not(.dark-style) .template-customizer-open-btn,
.light-style .template-customizer-open-btn {
  background-color: var(--neuro-bg) !important;
  background-image: url('/icons/setting.gif') !important;
  background-size: 40px 40px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: none !important;
  border-radius: 1rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .template-customizer-open-btn:hover,
.light-style .template-customizer-open-btn:hover {
  box-shadow: 
    inset 0.2rem 0.2rem 0.5rem var(--neuro-light-2), 
    inset -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) .template-customizer-open-btn::before,
.light-style .template-customizer-open-btn::before {
  content: '' !important;
  display: none !important;
}

/* Navbar User Info */
html:not(.dark-style) .navbar .navbar-nav .nav-link,
.light-style .navbar .navbar-nav .nav-link {
  color: var(--neuro-dark) !important;
}

/* Cards - Neumorphism */
html:not(.dark-style) .card,
.light-style .card {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 2rem !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

/* Table in Light Mode */
html:not(.dark-style) .table,
.light-style .table {
  color: var(--neuro-dark) !important;
  background: transparent !important;
}

/* Input Fields - Neumorphism Inset */
html:not(.dark-style) input[type="text"],
html:not(.dark-style) input[type="email"],
html:not(.dark-style) input[type="password"],
html:not(.dark-style) input[type="number"],
html:not(.dark-style) textarea,
html:not(.dark-style) select,
.light-style input[type="text"],
.light-style input[type="email"],
.light-style input[type="password"],
.light-style input[type="number"],
.light-style textarea,
.light-style select {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 1rem !important;
  box-shadow: 
    inset 0.2rem 0.2rem 0.5rem var(--neuro-light-2), 
    inset -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
  color: var(--neuro-dark) !important;
  padding: 1rem 1.4rem !important;
}

html:not(.dark-style) input:focus,
html:not(.dark-style) textarea:focus,
html:not(.dark-style) select:focus,
.light-style input:focus,
.light-style textarea:focus,
.light-style select:focus {
  outline: none !important;
  box-shadow: 
    0.3rem 0.3rem 0.6rem var(--neuro-light-2), 
    -0.2rem -0.2rem 0.5rem var(--neuro-light-1) !important;
}

html:not(.dark-style) input::placeholder,
html:not(.dark-style) textarea::placeholder,
.light-style input::placeholder,
.light-style textarea::placeholder {
  color: var(--neuro-dark) !important;
  opacity: 0.6 !important;
}

html:not(.dark-style) .table thead th,
.light-style .table thead th {
  background: rgba(248, 250, 252, 0.8) !important;
  color: #1e293b !important;
  border-color: rgba(226, 232, 240, 0.6) !important;
}

/* Breadcrumb in Light Mode */
html:not(.dark-style) .breadcrumb,
.light-style .breadcrumb {
  background: transparent !important;
}

html:not(.dark-style) .breadcrumb-item,
.light-style .breadcrumb-item {
  color: #64748b !important;
}

html:not(.dark-style) .breadcrumb-item.active,
.light-style .breadcrumb-item.active {
  color: #1e293b !important;
}

/* Page Title in Light Mode */
html:not(.dark-style) h1, 
html:not(.dark-style) h2, 
html:not(.dark-style) h3,
html:not(.dark-style) h4,
html:not(.dark-style) h5,
html:not(.dark-style) h6,
.light-style h1,
.light-style h2,
.light-style h3,
.light-style h4,
.light-style h5,
.light-style h6 {
  color: #1e293b !important;
}

/* Input Fields in Light Mode */
html:not(.dark-style) .form-control,
html:not(.dark-style) .form-select,
.light-style .form-control,
.light-style .form-select {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  color: #1e293b !important;
}

html:not(.dark-style) .form-control:focus,
html:not(.dark-style) .form-select:focus,
.light-style .form-control:focus,
.light-style .form-select:focus {
  background: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

/* Dropdown - Dark Mode */
.dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
}

.dropdown,
.nav-item.dropdown {
  position: relative !important;
}

/* Dropdown in Light Mode */
html:not(.dark-style) .dropdown-menu,
.light-style .dropdown-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

html:not(.dark-style) .dropdown-item,
.light-style .dropdown-item {
  color: #1e293b !important;
}

html:not(.dark-style) .dropdown-item:hover,
.light-style .dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1) !important;
}

/* ============================================
   SIDEBAR GIF ICONS STYLING
   ============================================ */
.sidebar-icon-gif {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.sidebar-icon-home {
  background-image: url('/icons/home.png');
}

.sidebar-icon-setting {
  background-image: url('/icons/settings.png');
}

.sidebar-icon-hotel {
  background-image: url('/icons/hotel.png');
}

.sidebar-icon-accounting {
  background-image: url('/icons/accounting.png');
}

.sidebar-icon-hr {
  background-image: url('/icons/hr.png');
}

.sidebar-icon-pos {
  background-image: url('/icons/pos.png');
}

.sidebar-icon-product {
  background-image: url('/icons/product.png');
}

.sidebar-icon-service {
  background-image: url('/icons/service.png');
}

.sidebar-icon-meals {
  background-image: url('/icons/meals.png');
}

.sidebar-icon-purchases {
  background-image: url('/icons/purchases.png');
}

.sidebar-icon-reports {
  background-image: url('/icons/reports.png');
}

.sidebar-icon-invoices {
  background-image: url('/icons/invoices.png');
}

.sidebar-icon-recyclebin {
  background-image: url('/icons/recyclebin.png');
}

/* Active state for sidebar icons */
.menu-item.active .sidebar-icon-gif {
  filter: brightness(1.2);
}

/* Hover effect for sidebar icons */
.menu-link:hover .sidebar-icon-gif {
  filter: brightness(1.1);
}

/* ============================================
   SIDEBAR MENU TEXT STYLING
   ============================================ */
/* Main menu items text styling */
.layout-menu .menu-item > .menu-link > div,
.layout-menu .menu-item .menu-link div {
  font-family: 'Cairo', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: #d1fae5 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Active menu item text */
.layout-menu .menu-item.active > .menu-link > div {
  color: #d1fae5 !important;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(209, 250, 229, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hover effect for menu text */
.layout-menu .menu-link:hover > div {
  color: #fff !important;
  text-shadow: 0 0 12px rgba(209, 250, 229, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
  transform: translateX(3px);
}

/* ============================================
   SUB-MENU ITEMS - Clear Visual Hierarchy (Dark)
   ============================================ */

/* Sub-menu Container */
.layout-menu .menu-sub {
  padding-right: 1rem !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  border-right: 2px solid rgba(16, 185, 129, 0.2) !important;
  background: rgba(15, 23, 40, 0.3) !important;
  border-radius: 0 0.5rem 0.5rem 0 !important;
}

/* Sub-menu Items */
.layout-menu .menu-sub .menu-item .menu-link {
  font-family: 'Cairo', 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(209, 250, 229, 0.8) !important;
  padding-right: 3.5rem !important;
  padding-left: 1rem !important;
  margin: 0.2rem 0.5rem !important;
  margin-right: 1rem !important;
  border-radius: 0.6rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  background: transparent !important;
  position: relative !important;
}

/* Sub-menu Item Indicator */
.layout-menu .menu-sub .menu-item .menu-link::before {
  content: '•' !important;
  position: absolute !important;
  right: 2rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(209, 250, 229, 0.4) !important;
  font-size: 1.2rem !important;
}

/* Active sub-menu item */
.layout-menu .menu-sub .menu-item.active .menu-link {
  font-weight: 600;
  color: #d1fae5 !important;
  background: linear-gradient(
    90deg,
    rgba(16, 185, 129, 0.25),
    rgba(16, 185, 129, 0.15)
  ) !important;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  border-right: 3px solid #10b981 !important;
}

.layout-menu .menu-sub .menu-item.active .menu-link::before {
  content: '▶' !important;
  position: absolute !important;
  right: 2rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #10b981 !important;
  font-size: 0.8rem !important;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Arrow icon styling for menu-toggle - Always Visible */
.layout-menu .menu-toggle::after,
.layout-menu .menu-link.menu-toggle::after {
  color: #d1fae5 !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  opacity: 1 !important;
  display: inline-block !important;
}

/* Arrow on hover */
.layout-menu .menu-link.menu-toggle:hover::after {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(209, 250, 229, 0.6);
  transform: rotate(-135deg) !important;
}
html[dir="ltr"] .layout-menu .menu-link.menu-toggle:hover::after {
  transform: rotate(135deg) !important;
}
/* Arrow when menu is open - Rotate Down (RTL Default) */
.layout-menu .menu-item.open > .menu-link.menu-toggle::after {
  color: #10b981 !important;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  transform: rotate(-135deg) !important;
}

/* Menu header styling */
.layout-menu .menu-header {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(209, 250, 229, 0.6) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Align icon and text properly */
.layout-menu .menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sub-menu hover */
.layout-menu .menu-sub .menu-item .menu-link:hover {
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.15) !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  transform: translateX(-3px) !important;
}

.layout-menu .menu-sub .menu-item .menu-link:hover::before {
  color: #10b981 !important;
  /* transform: scale(1.2) !important; */
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Sub-menu icons styling */
.layout-menu .menu-sub .menu-item .menu-link i {
  color: rgba(209, 250, 229, 0.8) !important;
  opacity: 0.8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
}

.layout-menu .menu-sub .menu-item.active .menu-link i {
  color: #10b981 !important;
  opacity: 1;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.layout-menu .menu-sub .menu-item .menu-link:hover i {
  color: #fff !important;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

/* ============================================
   APP BRAND (Hotel Name) - Dark Mode
   ============================================ */

/* App Brand Container */
.dark-style .app-brand,
html.dark-style .app-brand {
  padding: 1.2rem 1.5rem !important;
  margin-bottom: 1rem !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.1)) !important;
  border-radius: 0 1rem 1rem 0 !important;
  border-right: 3px solid rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

.dark-style .app-brand:hover,
html.dark-style .app-brand:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(16, 185, 129, 0.15)) !important;
  border-right-color: rgba(59, 130, 246, 0.6) !important;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2) !important;
}

/* Hotel Name Text */
.dark-style .app-brand-text,
.dark-style .menu-text,
html.dark-style .app-brand-text,
html.dark-style .menu-text {
  color: #d1fae5 !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  font-family: 'Cairo', 'Segoe UI', sans-serif !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 0 15px rgba(209, 250, 229, 0.6), 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  padding: 0.4rem 1rem !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.15)) !important;
  border-radius: 0.7rem !important;
  border: 1px solid rgba(209, 250, 229, 0.3) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.1) !important;
  display: inline-block !important;
}

.dark-style .app-brand-text:hover,
.dark-style .menu-text:hover,
html.dark-style .app-brand-text:hover,
html.dark-style .menu-text:hover {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(209, 250, 229, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35), inset 0 1px 3px rgba(255, 255, 255, 0.15) !important;
  transform: translateX(3px) !important;
}

/* Menu Toggle Icon (Close Button) */
.dark-style .menu-toggle-icon,
.dark-style .layout-menu-toggle,
html.dark-style .menu-toggle-icon,
html.dark-style .layout-menu-toggle {
  color: #d1fae5 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(209, 250, 229, 0.5) !important;
}

.dark-style .layout-menu-toggle:hover,
html.dark-style .layout-menu-toggle:hover {
  color: #ffffff !important;
  text-shadow: 0 0 15px rgba(209, 250, 229, 0.8) !important;
}

.dark-style .layout-menu-toggle i,
.dark-style .menu-toggle-icon,
html.dark-style .layout-menu-toggle i,
html.dark-style .menu-toggle-icon {
  color: #d1fae5 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(209, 250, 229, 0.5) !important;
  display: inline-block !important;
}

.dark-style .layout-menu-toggle i::before,
.dark-style .menu-toggle-icon::before,
html.dark-style .layout-menu-toggle i::before,
html.dark-style .menu-toggle-icon::before {
  transform: rotate(0deg) !important;
}

.dark-style .layout-menu-toggle:hover i,
.dark-style .layout-menu-toggle:hover .menu-toggle-icon,
html.dark-style .layout-menu-toggle:hover i,
html.dark-style .layout-menu-toggle:hover .menu-toggle-icon {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(209, 250, 229, 0.8) !important;
}

/* When sidebar is collapsed - rotate icon back (ONLY in sidebar) */
.dark-style .layout-menu-collapsed .layout-menu .layout-menu-toggle i,
.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle i,
html.dark-style .layout-menu-collapsed .layout-menu .layout-menu-toggle i,
html.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle i {
  transform: rotate(270deg) !important;
}

/* Target the ti icon specifically - Force rotation ONLY in sidebar */
.dark-style .layout-menu .layout-menu-toggle .ti,
.dark-style .layout-menu .layout-menu-toggle i.ti,
.dark-style aside#layout-menu .layout-menu-toggle .ti,
.dark-style aside#layout-menu .layout-menu-toggle i.ti,
html.dark-style .layout-menu .layout-menu-toggle .ti,
html.dark-style .layout-menu .layout-menu-toggle i.ti,
html.dark-style aside#layout-menu .layout-menu-toggle .ti,
html.dark-style aside#layout-menu .layout-menu-toggle i.ti {
  transform: rotate(90deg) !important;
  display: inline-block !important;
  -webkit-transform: rotate(90deg) !important;
  -moz-transform: rotate(90deg) !important;
  -ms-transform: rotate(90deg) !important;
}

.dark-style .layout-menu-collapsed .layout-menu .layout-menu-toggle .ti,
.dark-style .layout-menu-collapsed .layout-menu .layout-menu-toggle i.ti,
.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle .ti,
.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle i.ti,
html.dark-style .layout-menu-collapsed .layout-menu .layout-menu-toggle .ti,
html.dark-style .layout-menu-collapsed .layout-menu .layout-menu-toggle i.ti,
html.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle .ti,
html.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle i.ti {
  transform: rotate(270deg) !important;
  -webkit-transform: rotate(270deg) !important;
  -moz-transform: rotate(270deg) !important;
  -ms-transform: rotate(270deg) !important;
}

/* ============================================
   FINAL OVERRIDE - Menu Toggle Arrow Direction (Dark)
   ============================================ */

/* Force arrow to point DOWN when sidebar is open (ONLY in sidebar) */
.dark-style .layout-menu .app-brand .layout-menu-toggle i,
.dark-style aside#layout-menu .layout-menu-toggle i,
.dark-style .menu-vertical aside .layout-menu-toggle i,
html.dark-style .layout-menu .app-brand .layout-menu-toggle i,
html.dark-style aside#layout-menu .layout-menu-toggle i,
html.dark-style .menu-vertical aside .layout-menu-toggle i {
  transform: rotate(90deg) !important;
  -webkit-transform: rotate(90deg) !important;
}

/* Force arrow to point LEFT when sidebar is collapsed */
.dark-style .layout-menu-collapsed .layout-menu .app-brand .layout-menu-toggle i,
.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle i,
html.dark-style .layout-menu-collapsed .layout-menu .app-brand .layout-menu-toggle i,
html.dark-style .layout-menu-collapsed aside#layout-menu .layout-menu-toggle i {
  transform: rotate(270deg) !important;
  -webkit-transform: rotate(270deg) !important;
}

/* ============================================
   ULTIMATE OVERRIDE - Sidebar Toggle Icon (Dark)
   Maximum Specificity
   ============================================ */

/* Navbar hamburger menu - NO rotation (keep horizontal) */
.dark-style .navbar .layout-menu-toggle i,
.dark-style .navbar .layout-menu-toggle .ti-menu-2,
html.dark-style .navbar .layout-menu-toggle i,
html.dark-style .navbar .layout-menu-toggle .ti-menu-2 {
  transform: rotate(0deg) !important;
  -webkit-transform: rotate(0deg) !important;
}

/* ALL icons inside SIDEBAR layout-menu-toggle - Point DOWN by default */
.dark-style .layout-menu .app-brand .layout-menu-toggle > i,
.dark-style .layout-menu .app-brand a.layout-menu-toggle > i,
.dark-style aside#layout-menu .layout-menu-toggle > i,
.dark-style aside#layout-menu a.layout-menu-toggle > i,
html.dark-style .layout-menu .app-brand .layout-menu-toggle > i,
html.dark-style .layout-menu .app-brand a.layout-menu-toggle > i,
html.dark-style aside#layout-menu .layout-menu-toggle > i,
html.dark-style aside#layout-menu a.layout-menu-toggle > i {
  transform: rotate(90deg) !important;
  -webkit-transform: rotate(90deg) !important;
  display: inline-block !important;
}

/* On hover - keep pointing DOWN */
.dark-style .layout-menu .app-brand .layout-menu-toggle:hover > i,
.dark-style aside#layout-menu .layout-menu-toggle:hover > i,
html.dark-style .layout-menu .app-brand .layout-menu-toggle:hover > i,
html.dark-style aside#layout-menu .layout-menu-toggle:hover > i {
  transform: rotate(90deg) !important;
  -webkit-transform: rotate(90deg) !important;
}

/* ============================================
   LTR (English) OVERRIDES
   ============================================ */

/* Floating Add Button - Move to RIGHT in LTR */
html[dir="ltr"] .add-floor-floating-btn,
[dir="ltr"] .add-floor-floating-btn {
  left: auto !important;
  right: 40px !important;
}

@media (max-width: 768px) {
  html[dir="ltr"] .add-floor-floating-btn,
  [dir="ltr"] .add-floor-floating-btn {
    right: 20px !important;
  }
}

/* Menu Toggle Arrow - Correct rotation in LTR */
html[dir="ltr"] .layout-menu .menu-item.open > .menu-link.menu-toggle::after,
[dir="ltr"] .layout-menu .menu-item.open > .menu-link.menu-toggle::after {
  transform: rotate(135deg) !important;
}

/* Sub-menu Indicator - Move to LEFT in LTR */
html[dir="ltr"] .layout-menu .menu-sub .menu-item .menu-link::before,
[dir="ltr"] .layout-menu .menu-sub .menu-item .menu-link::before {
  right: auto !important;
  left: 16rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Active sub-menu indicator - LTR */
html[dir="ltr"] .layout-menu .menu-sub .menu-item.active .menu-link::before,
[dir="ltr"] .layout-menu .menu-sub .menu-item.active .menu-link::before {
  right: auto !important;
  left: 16rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Active sub-menu - Border on LEFT in LTR */
html[dir="ltr"] .layout-menu .menu-sub .menu-item.active .menu-link,
[dir="ltr"] .layout-menu .menu-sub .menu-item.active .menu-link {
  border-right: none !important;
  border-left: 3px solid #10b981 !important;
  background: linear-gradient(
    270deg,
    rgba(16, 185, 129, 0.25),
    rgba(16, 185, 129, 0.15)
  ) !important;
}

/* Tooltip position in LTR */
html[dir="ltr"] .add-floor-floating-btn:hover .btn-tooltip,
[dir="ltr"] .add-floor-floating-btn:hover .btn-tooltip {
  left: auto !important;
  right: 110px !important;
}

/* ============================================
   RESPONSIVE DESIGN - 4 Breakpoints (UPDATED)
   sm: 640px, md: 768px, lg: 1024px, xl: 1280px
   ============================================ */

/* XL Screens: 1280px+ (Desktop Large) */
@media (min-width: 1280px) {
  .dashboard-stats-3d {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }

  .floors-grid-3d {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
  }

  .hotel-header-3d {
    padding: 2rem 3rem !important;
  }
}

/* LG Screens: 1024px - 1279px (Desktop) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .dashboard-stats-3d {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
  }

  .floors-grid-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  .stat-card-3d {
    padding: 18px 20px !important;
  }

  .hotel-header-3d {
    padding: 1.8rem 2.5rem !important;
  }
}

/* MD Screens: 768px - 1023px (Tablet) */
@media (min-width: 768px) and (max-width: 1023px) {
  .dashboard-stats-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .floors-grid-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .stat-card-3d {
    padding: 16px 18px !important;
  }

  .hotel-header-3d {
    padding: 1.5rem 2rem !important;
  }

  .header-title-3d {
    font-size: 1.5rem !important;
  }

  .header-subtitle-3d {
    font-size: 0.9rem !important;
  }

  .floor-card-3d {
    padding: 16px !important;
  }

  .floor-building-3d {
    height: 180px !important;
  }
}

/* SM Screens: 640px - 767px (Mobile Large) */
@media (min-width: 640px) and (max-width: 767px) {
  .dashboard-stats-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .floors-grid-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .stat-card-3d {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  .stat-icon-3d {
    width: 48px !important;
    height: 48px !important;
  }

  .stat-label-3d,
  .stat-content-3d p {
    font-size: 0.8rem !important;
  }

  .stat-value-3d {
    font-size: 1.3rem !important;
  }

  .hotel-header-3d {
    padding: 1.2rem 1.5rem !important;
  }

  .header-title-3d {
    font-size: 1.3rem !important;
  }

  .header-subtitle-3d {
    font-size: 0.85rem !important;
  }

  .floor-card-3d {
    padding: 14px !important;
  }

  .floor-building-3d {
    height: 150px !important;
  }

  .floor-number-3d {
    font-size: 22px !important;
  }

  .room-stats-3d {
    gap: 8px !important;
  }

  .room-stat-number {
    font-size: 1.1rem !important;
  }

  .room-stat-label {
    font-size: 0.75rem !important;
  }
}

/* XS Screens: Below 640px (Mobile Small) */
@media (max-width: 639px) {
  .hotel-dashboard-3d {
    padding: 12px !important;
    border-radius: 1.5rem !important;
  }

  .dashboard-stats-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .floors-grid-3d {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .stat-card-3d {
    padding: 14px 12px !important;
    gap: 10px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .stat-icon-3d {
    width: 48px !important;
    height: 48px !important;
  }

  .stat-icon-3d svg {
    width: 22px !important;
    height: 22px !important;
  }

  .stat-content-3d {
    width: 100% !important;
  }

  .stat-label-3d,
  .stat-content-3d p {
    font-size: 0.75rem !important;
  }

  .stat-value-3d {
    font-size: 1.4rem !important;
  }

  .hotel-header-3d {
    padding: 1rem 1.2rem !important;
  }

  .header-content-3d {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .header-title-3d {
    font-size: 1.2rem !important;
  }

  .header-subtitle-3d {
    font-size: 0.8rem !important;
  }

  .stat-badge-3d {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .logo-icon-3d {
    width: 50px !important;
    height: 50px !important;
  }

  .floor-card-3d {
    padding: 14px !important;
  }

  .floor-building-3d {
    height: 160px !important;
  }

  .floor-info-card-3d {
    top: 130px !important;
  }

  .floor-number-3d {
    font-size: 24px !important;
  }

  .room-stats-3d {
    gap: 8px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  .room-stat-item-3d {
    padding: 40px 6px 8px 6px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
  }

  .room-stat-item-3d::before {
    width: 28px !important;
    height: 28px !important;
    top: 6px !important;
  }

  .room-stat-number {
    font-size: 1rem !important;
    margin-top: 2px !important;
    display: block !important;
    font-weight: 600 !important;
  }

  .room-stat-label {
    font-size: 0.65rem !important;
    margin-top: 2px !important;
    display: block !important;
    white-space: nowrap !important;
  }

  .view-details-btn-3d {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
  }

  .add-floor-floating-btn {
    bottom: 20px !important;
    left: 20px !important;
  }

  .btn-circle-outer {
    width: 70px !important;
    height: 70px !important;
  }

  .btn-circle-middle {
    width: 60px !important;
    height: 60px !important;
  }

  .btn-circle-inner {
    width: 50px !important;
    height: 50px !important;
  }

  .btn-circle-inner svg {
    width: 24px !important;
    height: 24px !important;
  }
}

