body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: white;
  width: 100%;
  height: 100vh;
}

a {
  color: #777;
  text-decoration: none;
}

.padding-top {
  padding-top: 20px;
}

.login-page {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  width: 500px;
  margin: 0% 40% 5% auto;
  padding: 50px;
  align-items: center;
  background-color: #f1b103;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #fafafa;
  border-radius: 24px;
}

.login-page h1 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 48px;
  font-weight: bolder;
  color: white;
}

.login-page h4 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 24px;
}

.login-page label input {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bolder;
}

.login-page button {
  display: inline;
  background-color: #eaedf0;
  color: #000;
}

.login-page .text-center {
  margin-bottom: 10px;
}

.login-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.box {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}

.page {
  position: relative;
  display: block;
  top: 50px;
  left: 0;
  padding: 35px 15px 20px 270px;
}

.page-lgn {
  position: relative;
  display: block;
  top: 50px;
  left: 0;
  padding: 35px 15px 20px 270px;
}

.bg-green {
  background-color: #A3C86D;
}

.bg-blue {
  background-color: #7ACBEE;
}

.bg-yellow {
  background-color: #FDD761;
}

.bg-red {
  background-color: #FF7857;
}

.bg-secondary1 {
  background-color: #b17897;
}

.bg-blue2 {
  background-color: #7a83ee;
}

.panel-default>.panel-heading {
  background-color: #f5f5f5;
  border-bottom: 2px solid #3498DB;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 15px;
}

.panel-body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bolder;
  background-color: burlywood;
}

.panel-box {
  width: 100%;
  height: 30%;
  text-align: center;
  border: none;
}

.panel-value {
  width: 60%;
}

.panel-icon {
  padding: 20px;
  width: 30%;
  border-radius: 0;
}

.panel-icon {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

.panel-value {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.panel-value h2 {
  margin-top: 30px;
}

.panel-icon i {
  line-height: 65px;
  font-size: 40px;
  color: #fff;
}

#header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 65px;
  line-height: 65px;
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

header>.logo {
  color: #fff;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  width: auto;
}

.header-date {
  color: #0c0c0c;
  margin-left: 20px;
}

.info-menu {
  height: 60px;
  margin: 0;
  line-height: 60px;
  padding: 0 20px;
}

.info-menu li.profile {
  position: relative;
}

.profile a.toggle {
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  color: rgba(150, 150, 158, 1.0);
  position: relative;
  padding: 10px 10px 10px 0;
  margin: 0;
  background: #f9f9f9;
  border-radius: 30px;
}

.info-menu li.profile a img {
  width: 30px;
  height: 30px;
}

.dropdown-menu {
  margin-top: 4px;
  border-color: #fefefe;
  border-radius: 0;
  -webkit-box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  -moz-box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
  display: block;
  line-height: 35px;
}

.dropdown-menu li a {
  text-decoration: none;
  display: block;
  font-size: 14px;
  position: relative;
  line-height: 30px;
  width: 100%;
  border-bottom: 1px solid #f4faf9;
}

.dropdown-menu li a i {
  margin-right: 5px;
}

.dropdown-menu li.last a {
  border-bottom: 0;
}

.datepicker {
  text-align: center;
}

.sidebar {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  padding: 65px 0 0;
  height: 100%;
  width: 230px;
  background: #050505;
  border-right: 1px solid #ddd;
  text-align: center;
}

.sidebar ul li:hover,
.submenu ul li:hover {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar ul li {
  display: block;
}

.sidebar ul li:hover,
ul.submenu {
  background-color: #35404d;
}

.sidebar ul li a:hover {
  color: white;
}

.sidebar ul li a,
ul.submenu li a {
  color: #aeb2b7;
  display: block;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
}

.sidebar ul li a span,
.sidebar ul li i {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-shadow: 0 1px rgba(0, 0, 0, 1);
}

.sidebar ul li a i {
  color: #aeb2b7;
  padding: 15px 22px;
  text-align: center;
}

ul.submenu {
  display: none;
  position: relative;
}

ul.submenu li a:hover {
  background-color: #35404d;
}

ul.submenu li a {
  padding-left: 45px;
}

ul.submenu li:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 25px;
  top: 0;
  bottom: 0;
  border: 1px dotted #d7d7d7;
  border-width: 0 0 0 1px;
}

ul.submenu li a:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 7px;
  left: 25px;
  top: 18px;
  border-top: 1px dotted #d7d7d7;
}

.sale_report_header {
  padding: 15px 0;
}

table td h6 {
  margin: 0 0 0.2em 0;
}

table tfoot tr td:first-child {
  border: 0;
}

table tfoot tr td:last-child {
  border-top: 1px solid #ccc;
}

table td h6,
table tfoot tr td:last-child {
  color: #000;
  _font-size: 1.2em;
  font-weight: normal;
}

.form-control {
  color: #646464;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -moz-transition: all .15s ease-out;
  -webkit-transition: all .15s ease-out;
  transition: all .15s ease-out;
}

.form-control:focus {
  background: #f8f8f8;
  border-color: #3498DB;
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.btn {
  border-radius: 3px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #51aded;
  border-color: #3d8fd8
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: #3175b8;
  border-color: #3d8fd8
}

.btn-success {
  background-color: #2ecc71
}

.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active {
  background-color: #27ae60
}

.btn-warning {
  background-color: #e7c13e;
  border-color: #dfba3c;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:active,
.btn-warning.active {
  background-color: #d0ac2c;
  border-color: #dfba3c;
}

.btn-danger {
  background-color: #ed5153
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active {
  background-color: #bb282a
}

.input-group-addon {
  background-color: #fcfcfc;
  border: 1px solid #dbdbdb;
  border-radius: 0;
}

input[type=file] {
  text-indent: -99999px;
}

td img.img-thumbnail {
  width: 125px;
  height: 125px;
  vertical-align: top;
}

.img-avatar {
  width: 50px;
  height: 50px;
}

.jumbotron {
  margin-bottom: 0;
}

.list-group-item:first-child,
.list-group-item:last-child {
  border-radius: 0;
}

.profile .jumbotron {
  border-radius: 3px 3px 0 0;
}

.profile .jumbotron h3 {
  color: white;
}

img.img-size-2 {
  width: 125px;
  height: 125px;
}

/* --- Improved Mobile View --- */
@media (max-width: 900px) {

  /* Body */
  body {
    background-color: #fff;
    font-size: 16px;
    padding-top: 60px;
  }

  /* Sticky mobile header */
  #header {
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1b103;
    color: white;
  }

  #header .logo {
    font-size: 18px;
    font-weight: bold;
    color: white;
  }

  /* Hamburger menu */
  .mobile-menu-toggle {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
  }

  /* Sidebar collapsible */
  .sidebar {
    position: fixed;
    left: -230px;
    top: 50px;
    height: calc(100% - 50px);
    width: 230px;
    background: #050505;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.open {
    left: 0;
  }

  /* Page content full width */
  .page,
  .page-lgn {
    padding: 15px;
  }

  /* Tables as cards */
  table {
    border-collapse: collapse;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    padding: 10px;
    border-radius: 6px;
  }

  table td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
    flex-basis: 50%;
  }

  /* Buttons full width */
  .btn {
    width: 100%;
    margin: 5px 0;
    font-size: 16px;
    padding: 10px;
  }
}
