/* Add this at the top of your CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Horizontal scroll prevent karega */
  width: 100%;
}

/* Content Styles */
#content {
  width: calc(100% - 70px);
  margin-left: 70px;
  min-height: 100vh;
  transition: all 0.3s ease;
}

.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.main-content {
  padding: 30px;
  min-height: calc(100vh - 80px);
  background-color: #FFFFFF;
}

/* yeh index.hp ka hai div jo separete hai post feed full with in mobile start*/
/* Custom container for responsive behavior */
/* Custom container for responsive behavior */
.container-fluid.container-lg {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

/* Mobile devices ke liye */
@media (max-width: 991.98px) {
  .container-fluid.container-lg {
    padding-right: 0;
    padding-left: 0;
    max-width: 100%;
  }
  
  .main-template-content {
    width: 100%;
    overflow-x: hidden;
  }
}

/* Desktop ke liye */
@media (min-width: 992px) {
  .container-fluid.container-lg {
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
  }
}
/* yeh index.hp ka hai div jo separete hai post feed full with in mobile end*/
/* Card Styles */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.card-header {
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-radius: 10px 10px 0 0 !important;
}

.blank-content {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #6c757d;
  font-size: 1.2rem;
}

.stat-card {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.stat-card .count {
  font-size: 1.8rem;
  font-weight: 600;
}

.stat-card .label {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Mobile menu button improvement */
.menu-toggle-btn {
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.menu-toggle-btn:hover {
  background: #f0f2f5;
}
/* Dropdown Menu Alignment Fix */
.dropdown-menu {
  min-width: 200px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  margin-top: 10px;
}

.dropdown-item {
  padding: 8px 15px;
  font-size: 0.9rem;
  color: #495057;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #4361ee;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  margin-right: 10px;
}

.dropdown-divider {
  margin: 8px 0;
}

/* User dropdown button styling */
.dropdown-toggle {
  border: none;
  background: transparent !important;
  color: #495057 !important;
  padding: 5px 10px;
}

.dropdown-toggle:hover {
  background-color: #f8f9fa !important;
}

.dropdown-toggle::after {
  margin-left: 5px;
}

.user-profile {
  display: flex;
  align-items: center;
}

/* Ensure consistent spacing for both logged-in and guest states */
.dropdown-menu-end {
  right: 0;
  left: auto;
}

/* Mobile responsiveness for dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: fixed !important;
    top: 60px !important;
    right: 10px !important;
    left: auto !important;
    width: 250px !important;
  }
}


