:root {
  --primary-color: #212529;
  --secondary-color: #82868b;
  --success-color: #88B267;
  --danger-color: #CF5B5B;
  --warning-color: #F39C12;
  --info-color: #5DBED3;
  --dark-color: #484848;
  --light-color: #FFFFFF;

  --bs-primary: #1A1B1C;
  --bs-secondary: #6c757d;

  --bs-success: #88B267;
  --bs-info: #5DBED3;
  --bs-warning: #F39C12;
  --bs-danger: #CF5B5B;

  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-primary-rgb: 26, 27, 28;
  --bs-secondary-rgb: 108, 117, 125;

  --bs-success-rgb: 136, 178, 103;
  --bs-info-rgb: 93, 190, 211;
  --bs-warning-rgb: 243, 156, 18;
  --bs-danger-rgb: 207, 91, 91;

  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;

  --sidebar-width: 250px;
  --topbar-height: 60px;
}


*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", sans-serif;
  background-color: #F4F4F4;
  overflow-x: hidden;
  color: #989898;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: inherit;
}


iconify-icon {
  vertical-align: top;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--bs-progress-bar-color);
  text-align: center;
  white-space: nowrap;
  background-color: #A1BFD3;
  transition: var(--bs-progress-bar-transition);
}

.progress-thin {
  height: 6px;
}


.accordion-button:not(.collapsed) {
  color: var(--bs-dark);
}


.logo {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 40px;
}

#sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  background: #1A1B1C;
  transition: all 0.3s;
  z-index: 1000;
}

#sidebar.hidden {
  margin-left: calc(-1 * var(--sidebar-width));
}

#content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  transition: all 0.3s;
}

#content.expanded {
  width: 100%;
  margin-left: 0;
}

#topbar {
  height: var(--topbar-height);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: var(--bs-nav-pills-link-active-color);
  background-color: var(--bs-nav-pills-link-active-bg);
}

.nav-link {
  color: #BCBCBC;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.sidebar-dropdown {
  padding-left: 1.5rem;
}

.card-icon {
  font-size: 2rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  #sidebar {
    margin-left: calc(-1 * var(--sidebar-width));
  }

  #sidebar.hidden {
    margin-left: 0;
  }

  #content {
    width: 100%;
    margin-left: 0;
  }
}


.chart-container {
  position: relative;
  height: 100%;
  min-height: 250px;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#revenueChart {
  height: 400px;
}


.navbar {
  box-shadow: 0 0.125rem 0.625rem rgba(90, 97, 105, 0.1);
}

.card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.625rem rgba(90, 97, 105, 0.1);
  margin-bottom: 1.5rem;
}

.card-header {
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}

.stat-card {
  padding: 1.5rem;
}

.table-responsive {
  border-radius: 0.5rem;
  overflow: hidden;
}

.table th {
  background-color: #f8f9fa;
  border-top: none;
  font-weight: 600;
  color: var(--secondary-color);
}

.status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge.delivered {
  background-color: rgba(40, 199, 111, 0.1);
  color: var(--success-color);
}

.status-badge.shipping {
  background-color: rgba(255, 159, 67, 0.1);
  color: var(--warning-color);
}

.status-badge.confirmed {
  background-color: rgba(0, 207, 232, 0.1);
  color: var(--info-color);
}


@media (max-width: 992px) {
  .sidebar {
    margin-left: -260px;
  }

  .sidebar.collapsed {
    margin-left: 0px;
  }

  .sidebar.show {
    margin-left: 0;
  }

  .main-content {
    margin-left: 0;
  }
}


