.bg_nav_color{
    background: linear-gradient(to bottom, black, rgb(37, 37, 37),grey);
  }
  .sidebar-brand-icon img {
    width: 100%; 
    max-width: 120px; 
    height: auto; 
    display: block; 
  }

  .login-bg-color{
    background: linear-gradient(to right, black,grey,black);
  }
  .bg{
    background-color:rgb(44, 44, 44);
  }
  .admin-login-h4{
    color: rgb(255, 255, 255);
    padding-top: 8%;
  }
  .colorBlack{
    color: rgb(0, 0, 0);
  }



.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.category-card .card-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.category-actions {
  display: flex;
  gap: 10px;
}
modal-content {
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.modal-header {
  border-bottom: none;
  padding: 20px 20px 10px;
}
.modal-body {
  padding: 0 20px 20px;
}
.form-control {
  border-color: #e0e0e0;
  border-radius: 8px;
}
.form-control:focus {
  border-color: #007bff;
  box-shadow: none;
}
.modal-footer {
  border-top: none;
  padding: 10px 20px 20px;
}
#saveButton {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
}
#cancelButton {
  color: #333;
  border-color: #e0e0e0;
  border-radius: 8px;
  padding: 10px 20px;
}

.error-message{
  color: red;
  font-size: 0.75rem;
  display: none;
}




.otp-timer {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  line-height: 70px;
  text-align: center;
  background: #f8f9fc;
  border: 2px solid #4e73df;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 0 auto 20px;
}

#timerValue {
  display: block;
  font-size: 22px;
  font-weight: bold;
  color: #ff0000;
  line-height: 70px;
}

#timerValue.expired {
  font-size: 14px;
  color: #ff1500;
}

.form-otp .form-control {
  letter-spacing: 6px;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
}



/* Navbar Styles */
.navbar {
  font-size: 1rem;
}

/* Centering navigation links */
.navbar-nav {
  gap: 20px;
}

/* Move Links Next to Logo for Large Screens */
@media (min-width: 992px) {
  .navbar-nav {
    margin-left: 20px; /* Pushes links slightly away from logo */
  }
}

/* Search Bar */
.search-container {
  position: relative;
  width: 300px;
}

.search-bar {
  width: 100%;
  padding: 8px 15px 8px 40px;
  border-radius: 20px;
  border: 1px solid #ddd;
  outline: none;
  transition: all 0.3s;
}

.search-bar:focus {
  border-color: #007bff;
  box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.2);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #777;
}

/* Login Button */
.login-btn {
  background-color: #333;
  color: rgb(75, 75, 75);
  border-radius: 20px;
  padding: 6px 15px;
  font-weight: bold;
  border: none;
  transition: 0.3s;
}

.login-btn:hover {
  background-color: #555;
}

/* Custom Toggler Button */
.custom-toggler {
  border: none;
  font-size: 1.5rem;
  color: #333;
}

.custom-toggler:focus {
  outline: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Force horizontal layout */
  .navbar > .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px !important;
  }
  
  /* Left section with logo */
  .navbar .d-flex.align-items-center {
    flex: 0 0 auto;
    width: auto !important;
  }
  
  /* Logo size */
  .navbar-brand {
    margin-right: 8px !important;
    padding: 0 !important;
  }
  
  .navbar-brand img {
    height: 25px !important;
  }
  
  /* Search container */
  .search-container {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 100px !important;
    margin: 0 8px !important;
  }
  
  /* Right section */
  .login-btn {
    flex: 0 0 auto !important;
    font-size: 12px !important;
    padding: 4px 10px !important;
    margin-right: 8px !important;
  }
  
  /* Toggle button */
  .navbar-toggler {
    flex: 0 0 auto !important;
    padding: 2px 6px !important;
    margin: 0 !important;
  }
  
  /* Hide the nav links in the top bar on mobile */
  .d-none.d-lg-flex {
    display: none !important;
  }
  
  /* Style the collapsible menu to appear below the navbar */
  #navbarContent {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: white !important;
    z-index: 1000 !important;
    border-top: 1px solid #eee !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  }
  
  /* Center the nav items in collapsed menu */
  #navbarContent .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  #navbarContent .nav-item {
    margin: 5px 0 !important;
    width: 100% !important;
  }
}

.hero-section {
  background-color: #1f1f1f; /* Dark background for contrast */
  color: white;
}

.text-content {
  padding: 50px;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Make it take full height */
}

.image-container img {
  width: 100%; /* Make the image fully fill the right column */
  height: 100%; /* Ensures it takes the full height */
  object-fit: cover; /* Ensures the image covers the area without stretching */
  border-radius: 10px; /* Optional, if you want rounded edges */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .text-content {
      text-align: center;
      padding: 30px;
  }
  
  .image-container {
      height: auto; /* Allow image to resize on smaller screens */
  }
  
  .image-container img {
      border-radius: 0; /* Remove rounded edges for mobile */
  }
}



.brand {
  flex: 1 1 auto; /* Makes items flexible */
  text-align: center;
  font-size: larger;
  min-width: 100px; /* Prevents excessive shrinking */
  padding: 5px 10px;
}

@media (max-width: 768px) {
  .d-flex {
    flex-direction: column;
    align-items: center;
  }
}

