:root {
    --dark-gray: #424242;
    --light-green: #cde1cc;
    --coral: #ff695f;
    --teal: #015562;
    --mint: #009b91;
    --sidebar-width: 250px;
    --sidebar-transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f3f3f3;
    color: #333 !important;
    /* height: 100vh !important; */
    overflow-y: hidden;
}

/* Header Styles */
.navbar {
    /* background: linear-gradient(90deg, var(--teal) 0%, var(--mint) 100%); */
        /* background: linear-gradient(90deg, white 50%, var(--light-green) 100%); */
    border-bottom: 0.5px solid #ccc;
    z-index: 1 !important;
}

.navbar-brand {
    color: var(--coral) !important;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: serif;
}

.navbar-brand:hover {
    color: var(--light-green);
}

/* Sidebar Styles */

/* .sidebar {
  background: linear-gradient(180deg, var(--teal) 0%, var(--mint) 100%);
          background: linear-gradient(180deg, white 50%, var(--light-green) 100%);

  background-color: #fff;
  color: var(--teal);
  height: 92vh;
  width: var(--sidebar-width);
  position: fixed;
  left: 0;
  top: 3vh;
  z-index: 5 !important;
  overflow-y: auto;
  transition: var(--sidebar-transition);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  border-right: 0.5px solid #ccc;
} */

.sidebar::-webkit-scrollbar {
  width: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.sidebar-header {
  padding: 15px 20px;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-gray) !important;
  position: relative;
}

.sidebar-header::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-menu {
  padding: 10px 0;
  list-style: none;
  margin: 0;
}

.sidebar-menu hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 15px 20px;
}

.sidebar-menu li {
  position: relative;
  margin: 5px 0;
}

.sidebar-menu li a {
  color: var(--teal);
  padding: 10px 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--sidebar-transition);
  font-size: 1rem;
  font-family: serif;
  font-weight: 500;
  margin: 5px 10px;
  border-radius: 10px;
}

.sidebar-menu li a i {
  width: 24px;
  text-align: center;
  margin-right: 12px;
  font-size: 1rem;
}

.sidebar-menu li a:hover {
  background-color: #0b9b7527;
  border-bottom: 1px solid var(--mint);
  color: var(--mint) !important;
  transform: translateX(5px);
}

.sidebar-menu a.active {
  border-right: var(--coral);  
  border-bottom: var(--coral);
  color: white !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 
.sidebar-menu li a.active {
  background-color: var(--coral);
  color: white !important;
  border-radius: 8px;
  padding: 8px 12px;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */



/* Dropdown menu styles */
.sidebar-menu .collapse {
  padding-left: 15px;
}

.sidebar-menu .dropdown-toggle::after {
  display: inline-block;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.sidebar-menu .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.sidebar-menu .list-unstyled {
  padding-left: 10px;
}

.sidebar-menu .list-unstyled li a {
  padding: 10px 15px 10px 35px;
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 2px 10px;
}

.sidebar-menu .list-unstyled li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu .list-unstyled li.active a {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.show {
    transform: translateX(0);
  }
}

/* Main Content Styles */
.main-content {
    padding: 20px;
    height: 92vh !important;
    overflow-y: auto;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: var(--teal);
    color: white;
    font-size: 1.4em !important;
    border-radius: 10px 10px 0 0 !important;
}

.btn-primary {
    background-color: var(--teal);
    border-color: var(--teal);
}

.btn-primary:hover {
    background-color: #034b58;
    border-color: #034b58;
}

.btn-danger {
    background-color: var(--coral);
    border-color: var(--coral);
}

.btn-danger:hover {
    background-color: #e04a42;
    border-color: #e04a42;
}

/* Table Styles */


/* Form Styles */
.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(5, 100, 114, 0.25);
}

/* Login Page Styles */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
    color: var(--teal);
}

/* Dashboard Widgets */
.dashboard-widget {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    color: white;
    margin-bottom: 20px;
}

.widget-1 {
    background-color: var(--teal);
}

.widget-2 {
    background-color: var(--coral);
}

.widget-3 {
    background-color: var(--dark-gray);
}

.widget-4 {
    background-color: #6c757d;
}


/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    /* background-color: var(--mint); */
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 100%;
    max-width: 700px;
    border-right: 5px solid var(--mint);
    border-bottom: 5px solid var(--teal);
}

.auth-header img {
    transition: transform 0.3s;
}

.auth-header img:hover {
    transform: scale(1.1);
}

/* Avatar */
.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar-initials {
    width: 100%;
    height: 100%;
    font-weight: bold;
}

/* Navbar shadow */
.navbar.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Form enhancements */
.input-group-text {
    background-color: var(--light-green);
    color: var(--dark-gray);
}

/* Password strength */
.password-strength {
    margin-top: 5px;
}

.progress {
    height: 5px;
    margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 20px;
    }
}

/* Dashboard Specific Styles */
.card {
    border: none;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 1.5rem;
    z-index: 0;
    font-size: 0.8em !important;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
}

.chart-area {
    position: relative;
    height: 20rem;
    width: 100%;
}

.activity-feed .activity-item {
    position: relative;
    padding-left: 1rem;
}

.activity-feed .activity-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e3e6f0;
}

.activity-feed .activity-item:last-child:before {
    bottom: calc(100% - 1.5rem);
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-xs {
    font-size: 0.7rem;
}

.text-gray-800 {
    color: #5a5c69;
}

.border-left-primary {
    border-left: 0.25rem solid #4e73df;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#salesChart {
    min-height: 250px;
    max-width: 100%;
}

.quick-links .list-group .list-group-item a:hover{
    color: var(--coral) !important;
    text-decoration: none;
}

.low-stock-table tr{
    text-align: center;
}

.low-stock-table tr td{
    font-size: 14px;
}

