:root {
    --primary-red: #dc3545;
    --dark-red: #bb2d3b;
    --light-red: #fff0f0;
}
body {
    font-family: 'Poppins', sans-serif !important;
    background-color: #f3f3f2 !important;
    scrollbar-color: #171717 !important; /* Thumb and track color */
    scrollbar-width: thin !important; /* For Firefox */
}

.navbar-toggler {
    box-shadow: none !important;
    border: none !important;
    font-weight: 600 !important;
    margin-right: 10px !important;
    
}
.navbar-toggler,
.toggle {
  padding: 0 !important;
  
}
/* flexbox container */
.flexbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
    justify-content: space-between;
}
.flexbox-item {
    flex: 1 1 calc(33.33% - 1rem); 
    min-width: 250px;
    padding: 1rem;
    box-sizing: border-box;
}
/* grid container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 1200px) {
    .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }
  
  @media (max-width: 480px) {
    .grid-container {
      grid-template-columns: 1fr;
    }
  }
/* Custom scrollbar for WebKit browsers */
::-webkit-scrollbar {
    width: 5px;
    display: none !important;
  }
  
  ::-webkit-scrollbar-track {
    display: none !important;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #171717; /* Thumb color */
    border-radius: 10px !important; /* Roundness of the thumb */
  }

  /*table */
  table {
    width: 100% !important;
  }

  @media (max-width: 800px) {
    table {
        width: 1000px !important;
      }
  }
/* auth style */
.auth-body {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 400px;
}



.auth-header {
    background: var(--light-red);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-red);
}

.brand-title {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.5rem;
}

.form-control:focus {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.btn-custom {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white !important;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    color: white !important;
    opacity: 0.9;
    transform: translateY(-1px) !important;
}
.logo {
    font-size: large;
    font-weight: 600 !important;
    color:#dc3545 !important;
}

@media (max-width: 700px) {
    .logo {
        font-size: 3.5vw !important;
        font-weight: 600 !important;
    }
}
/* admin/staff dashboard style */
.sidebar {
    height: 100vh;
    background: #343a40;
    color: #fff;
    padding-top: 20px;
    overflow-y: scroll !important;
  }
  #mobile-nav {
    background: #343a40;
    color: #fff;
  }
  .sidebar .nav-link, #mobile-nav .nav-link {
    background: #343a40;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    font-weight: 600;
    padding: 17px !important;
  }
  .sidebar .nav-link:hover, #mobile-nav .nav-link:hover {
    color: #dc3545;
  }
  .content {
    padding: 20px;
  }
  #user-menu {
    display: block;
  }
  @media (max-width:991px) {
    .content{
      margin-top: 70px !important;
      
    }
    #user-menu {
      display: none;
    }
  }

  .card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

