 /* ------------------- Header Start ------------------------ */
 /* Admin Panel Section */
 :root {
   --teal: #3266CF;
   --blue: #5B8BFF;
   --lime: #1D3E8B;
   --bg: #f8f9fa;
   --card-bg: #ffffff;
   --text: #1e1e2f;
   --muted: #9797a7;
   --transition: 0.3s ease;
   --border-radius: 16px;
   --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
   --glass-effect: rgba(255, 255, 255, 0.7);
 }


 .admin-panel-header {
   color: #fff;
   background: linear-gradient(to right, var(--teal), var(--blue));
   padding: 10px 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 10px;
   font-size: 1.1rem;
   font-weight: bold;
   text-transform: uppercase;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .admin-panel-header:hover {
   box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
   /* Hover effect */
 }

 /* Profile Picture Styles */
 .avatar {
   border: 3px solid #fff;
   /* White border around the avatar */
   border-radius: 50%;
   transition: all 0.3s ease-in-out;
 }

 .avatar:hover {
   transform: scale(1.1);
   /* Slight zoom on hover */
   border-color: #2471B7;
   /* Green border on hover */
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
   /* Shadow effect */
 }

 /* Profile Image Circle Border */
 .profileImageHeader {
   width: 40px;
   height: 40px;
   border-radius: 50%;
 }

 /* Dropdown Menu Styling */
 .dropdown-menu {
   border-radius: 10px;
   border: 1px solid #ddd;
   padding: 0;
 }

 .dropdown-item {
   padding: 12px 20px;
   font-size: 1rem;
   color: #333;
   transition: background-color 0.3s ease, padding-left 0.2s ease;
 }

 .dropdown-item:hover {
   background-color: #2471B7;
   /* Highlighted on hover */
   color: white;
   /* White text on hover */
   padding-left: 30px;
   /* Indentation on hover */
 }

 .dropdown-divider {
   margin: 0;
   border-top: 1px solid #e4e4e4;
 }

 /* Navbar Enhancements */
 .layout-navbar {
   background-color: #fff;
   /* White background */
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   /* Subtle shadow */
   padding: 10px 20px;
 }

 .navbar-nav .nav-link {
   color: #333;
   transition: color 0.3s ease;
 }

 .navbar-nav .nav-link:hover {
   color: #2471B7;
   /* Green color on hover */
 }

 /* Toggle Menu Button */
 .layout-menu-toggle a {
   color: #2471B7;
   font-size: 1.2rem;
   transition: all 0.3s ease;
 }

 .layout-menu-toggle a:hover {
   transform: scale(1.1);
   /* Slight zoom on hover */
 }

 /* Icon Styling */
 .bx {
   transition: transform 0.3s ease, color 0.3s ease;
 }

 .bx:hover {
   transform: rotate(360deg);
   /* Rotate effect on hover */
   color: #2471b7;
 }

 /* -------------------- End Header ---------------------------  */



 body {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
   background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
   color: var(--text);
   margin: 0;
   padding: 0;
   min-height: 100vh;
 }

 .admin-container {
   padding: 3rem 2.5rem;
 }

 .admin-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 2.5rem;
   position: relative;
 }

 .admin-header h2 {
   color: var(--blue);
   font-weight: 700;
   font-size: 1.75rem;
   margin: 0;
   position: relative;
   background: linear-gradient(to right, var(--teal), var(--blue));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
 }

 .admin-header h2::after {
   content: "";
   position: absolute;
   bottom: -10px;
   left: 0;
   width: 60px;
   height: 4px;
   background: linear-gradient(to right, var(--teal), var(--blue));
   border-radius: 2px;
 }

 .date-range-selector {
   background: var(--glass-effect);
   backdrop-filter: blur(10px);
   border-radius: 12px;
   padding: 0.5rem 1rem;
   border: 1px solid rgba(255, 255, 255, 0.2);
 }

 .stats-card {
   background: var(--card-bg);
   border-radius: var(--border-radius);
   box-shadow: var(--box-shadow);
   transition: var(--transition);
   overflow: hidden;
   height: 100%;
   position: relative;
   border: none;
   border: 1px solid rgba(255, 255, 255, 0.3);
 }

 .stats-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 40px rgba(70, 207, 195, 0.2);
 }

 .stats-card .card-body {
   padding: 1.75rem;
 }

 .stats-card .card-title {
   font-size: 0.9rem;
   font-weight: 600;
   color: var(--muted);
   text-transform: uppercase;
   letter-spacing: 0.5px;
   margin-bottom: 1rem;
 }

 .stats-value {
   font-size: 2.5rem;
   font-weight: 700;
   background: linear-gradient(to right, var(--teal), var(--blue));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   line-height: 1;
   margin-bottom: 0.5rem;
 }

 .stats-label {
   font-size: 0.85rem;
   color: var(--muted);
   margin-bottom: 0;
 }

 .stats-icon {
   position: absolute;
   top: 1.5rem;
   right: 1.5rem;
   width: 48px;
   height: 48px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 12px;
   background-color: rgba(70, 207, 195, 0.15);
 }

 .stats-icon svg {
   width: 24px;
   height: 24px;
   color: var(--teal);
 }

 .chart-card {
   background: var(--card-bg);
   border-radius: var(--border-radius);
   box-shadow: var(--box-shadow);
   transition: var(--transition);
   overflow: hidden;
   height: 100%;
   border: none;
   border: 1px solid rgba(255, 255, 255, 0.3);
 }

 .chart-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 40px rgba(70, 207, 195, 0.2);
 }

 .chart-card .card-header {
   background: linear-gradient(to right, var(--teal), var(--blue));
   border-bottom: none;
   padding: 1.5rem;
 }

 .chart-card .card-title {
   color: white;
   font-size: 1.25rem;
   font-weight: 600;
   margin: 0;
 }

 .chart-card .card-body {
   padding: 1.5rem;
 }

 .chart-container {
   width: 100%;
   height: 100%;
   min-height: 350px;
 }

 .donut-container {
   display: flex;
   flex-direction: column;
   justify-content: center;
   height: 100%;
   min-height: 350px;
 }

 /* Sidebar styling to match */
 .layout-menu {
   background: linear-gradient(to bottom, var(--blue), #1a5a92);
   box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
 }

 .menu-item.active>.menu-link {
   background-color: rgba(255, 255, 255, 0.15);
   border-left: 3px solid var(--teal);
 }

 .menu-link {
   color: rgba(255, 255, 255, 0.8);
   transition: var(--transition);
   padding: 0.75rem 1.5rem;
   display: flex;
   align-items: center;
 }

 .menu-link:hover {
   color: white;
   background-color: rgba(255, 255, 255, 0.1);
 }

 .menu-link i {
   margin-right: 0.75rem;
   font-size: 1.1rem;
 }

 .w-px-60 {
   width: 80px !important;
 }

 .property-preview {
   max-height: 150px;
   object-fit: cover;
 }

 .property-badge {
   font-size: 0.8rem;
   margin-right: 0.3rem;
 }

 .btn-gradient {
   background: linear-gradient(248.71deg, #1d3e8b -4.81%, #2471B7 38.34%, #2674BA 64.2%, #2f6cfa 103.33%);
   color: #fff;
   border: none;
   padding: 10px 20px;
   border-radius: 8px;
   font-weight: bold;
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .btn-gradient:hover {
   color: rgb(240, 240, 240);
 }

 .btn-sm-gradient {
   background: linear-gradient(248.71deg, #46CFC3 -4.81%, #2471B7 38.34%, #2674BA 64.2%, #B0C031 103.33%);
   color: #fff;
   border: none;
 }

 .btn-sm-gradient:hover {
   color: rgb(240, 240, 240);
 }

 #calendarContainer .col {

   background-color: #f8f9fa;
   border-radius: 6px;
   padding: 8px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   align-items: start;
   font-size: 0.85rem;
 }

 #calendarContainer .col strong {
   font-size: 1rem;
 }

 #calendarContainer .row-cols-7 {
   row-gap: 10px;
 }


 .booking-status {
   position: absolute;
   top: 15px;
   right: 15px;
   padding: 5px 10px;
   border-radius: 20px;
   font-size: 0.8rem;
   font-weight: 600;
 }

/* Admin error page */
.error-page .card {
  border-radius: 12px;
  padding: 1.5rem;
}

.error-code {
  font-size: 3.5rem;
  font-weight: 700;
  color: #F65A5A;
}

.error-subtext {
  color: #6c757d;
}

/* Small helpers for the error buttons */
.btn-outline-secondary {
  border: 1px solid #dcdcdc;
  color: #333;
}

.btn-gradient {
  background: linear-gradient(248.71deg, #1d3e8b -4.81%, #2471B7 38.34%, #2674BA 64.2%);
  color: #fff;
  border: none;
}

 .status-confirmed {
   background-color: #d4edda;
   color: #004085;
 }

 .status-completed {
   background-color: #d4edda;
   color: #155724;
 }

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

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

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

 .date-badge {
   background-color: #f8f9fa;
   padding: 5px 10px;
   border-radius: 5px;
   font-size: 0.9rem;
   display: inline-block;
   margin-right: 5px;
 }

 .price-highlight {
   font-size: 1.2rem;
   font-weight: 700;
   color: #0d6efd;
 }

 .empty-state {
   text-align: center;
   padding: 50px 20px;
   background-color: #f8f9fa;
   border-radius: 10px;
 }

 .filter-dropdown {
   width: 350px;
   padding: 15px;
 }

 .loading-spinner {
   display: none;
   text-align: center;
   padding: 20px;
 }

 .user-name:hover {
   color: #0d6efd;
   /* Change color on hover */
   text-decoration: underline;
   /* Underline on hover */
 }

 .star-rating {
   color: #ffc107;
   /* Gold color for stars */
   font-size: 1.1rem;
 }

 .star-rating.small {
   font-size: 0.9rem;
 }

 .star-rating i {
   margin-right: 2px;
 }

 /* For the review cards */
 .card {
   transition: transform 0.2s;
   border-radius: 10px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 }

 .card:hover {
   transform: translateY(-5px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }