body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Content
 */

[role="main"] {
  padding-top: 133px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
  [role="main"] {
    padding-top: 48px; /* Space for fixed navbar */
  }
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


.new-pagination {
	display:flex;
	list-style:none;
	padding:0;
}

.new-pagination li {
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
	border-left:1px solid #ccc;
}

.new-pagination li:first-child {
	border-radius:3px 0 0 3px;
}

.new-pagination li:last-child {
	border-radius:0 3px 3px 0;
	border-right:1px solid #ccc;
}

.new-pagination li a{
	display:block;
	padding:.3rem .6rem;
}

.error-message {
	color:#ff0000;
}

#flashMessage {
	position: relative;
	padding: .75rem 1.25rem;
	margin: 50px 0 1rem;
	border: 1px solid transparent;
	border-radius: .25rem;
}

.message.success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}

.message.error {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}

.deleted {
	background:#999999;
}

/* Current Laravel admin layout */
.admin-shell {
  min-height: calc(100vh - 56px);
}

.admin-sidebar {
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  min-height: calc(100vh - 56px);
}

.admin-sidebar-sticky {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}

.admin-main {
  min-width: 0;
}

.admin-menu-heading {
  color: #6c757d;
  font-size: .72rem;
  font-weight: 700;
  margin: 1.25rem 1rem .35rem;
  text-transform: uppercase;
}

.admin-menu-link {
  border-left: 3px solid transparent;
  color: #343a40;
  display: block;
  font-weight: 500;
  padding: .55rem 1rem;
}

.admin-menu-link:hover {
  background: #e9ecef;
  color: #176b68;
  text-decoration: none;
}

.admin-menu-link.active {
  background: #e0f2f1;
  border-left-color: #218c87;
  color: #155f5b;
}

.admin-metric,
.admin-panel {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

.admin-metric {
  border-left-width: 4px !important;
  height: 100%;
  padding: 1rem;
}

.admin-metric-label {
  color: #6c757d;
  font-size: .8rem;
  margin-bottom: .3rem;
}

.admin-metric-value {
  font-size: 1.45rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-panel {
  padding: 1.25rem;
}

.daily-sales-chart {
  align-items: stretch;
  display: flex;
  gap: 4px;
  min-height: 270px;
  overflow-x: auto;
  padding-bottom: .4rem;
}

.daily-sales-column {
  display: flex;
  flex: 1 0 24px;
  flex-direction: column;
  min-width: 24px;
  text-align: center;
}

.daily-sales-amount {
  color: #6c757d;
  font-size: 8px;
  height: 30px;
  overflow: hidden;
  writing-mode: vertical-rl;
}

.daily-sales-bar-wrap {
  align-items: flex-end;
  background: #f1f3f5;
  display: flex;
  flex: 1;
  min-height: 190px;
}

.daily-sales-bar {
  background: #218c87;
  min-height: 0;
  transition: height .2s ease;
  width: 100%;
}

.daily-sales-day {
  color: #495057;
  font-size: .7rem;
  margin-top: .35rem;
}

.admin-breakdown > div {
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  padding: .8rem 0;
}

.admin-breakdown dt,
.admin-breakdown dd {
  margin: 0;
}

.admin-breakdown-total {
  border-bottom: 0 !important;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .admin-shell {
    min-height: auto;
  }

  .admin-panel {
    padding: 1rem;
  }
}

#scroll-top-btn{
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	background: #28a745;
	color: #fff;
	border-radius: 50%;
	font-size: 24px;
	text-decoration: none;
	z-index: 9999;
	display: none;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	transition: 0.3s;
}

#scroll-top-btn:hover{
	background: #218838;
	color: #fff;
	text-decoration: none;
}
