/* ---------- COMMON HELPERS ---------- */
:root {
  /* biến font chính (dùng khi không muốn phân biệt ngôn ngữ) */
  --system-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans";
}

/* smoothing để hiển thị chữ mượt hơn (tuỳ nền tảng) */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--system-sans), sans-serif;
  line-height: 1.45;
}

body {
  color: #202129;
  background-color: #f1f3fa;
  font-family: var(--system-sans), sans-serif;
  font-size: 15px;
}

/*
Add transition to containers so they can push in and out.
*/
#layout {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  position: relative;
  left: 0;
  padding-left: 0;
}
/*
The content `<div>` is where all your content goes.
*/
.content {
  margin: 0 auto;
  padding: 2em;
  max-width: 980px;
  margin-bottom: 50px;
  line-height: 1.6em;
}

.list-view .content {
  max-width: 960px;
}

.header {
  margin: 0;
  color: #f0f0f3;
  border-bottom: 1px solid #f0f0f6;
  background-color: #171b27;
}
.header h1 {
  margin: 0.2em 0;
  font-size: 26px;
  font-weight: 300;
}
.header h2 {
  font-weight: 300;
  color: #454545;
  padding: 0;
  margin-top: 0;
  font-size: 18px;
}

.header > div {
  max-width: 980px;
  margin: 0 auto;
  padding: 5px 0;
}

.header a {
  color: #ccc;
  font-weight: 600;
  font-size: 16px;
}

.header a:hover {
  color: #fff;
  background-color: transparent;
}

.header .pure-menu-horizontal .pure-menu-list {
  float: right;
}

/* -- Responsive Styles (Media Queries) ------------------------------------- */
@media (min-width: 48em) {
  .header,
  .content {
    padding-left: 2em;
    padding-right: 2em;
  }
}

.btn-control .pure-button {
  background-color: transparent;
  border: 1px solid #f1f3fa;
}

.btn-control .pure-button:hover {
  background-color: transparent;
  border: 1px solid #ccc;
  box-shadow: none;
  background-image: none;
}

input[type="text"] {
  padding: 0.5em 0.6em;
  display: inline-block;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px #f0f0f8;
  border-radius: 4px;
  vertical-align: middle;
  box-sizing: border-box;
}

.box-filter input[type="text"] {
  width: 100%;
}

.list-view input[type="text"] {
  width: calc(100% - 20px);
}

#data {
  background-color: #fff;
  border-radius: 5px;
  margin-top: 15px;
}

.pure-table {
  width: 100%;
}

.pure-table tr th:nth-child(1) {
  width: 7%;
}

.pure-table tr th:nth-child(2) {
  width: 38%;
}

.pure-table tr th:nth-child(3) {
  width: 55%;
}

.pure-button.button-success {
  background: rgb(28, 184, 65);
  /* this is a green */
}

.pure-button.button-error {
  background: rgb(202, 60, 60);
  /* this is a maroon */
}

.pure-button.button-warning {
  background: rgb(223, 117, 20);
  /* this is an orange */
}

.pure-button.button-secondary {
  background: rgb(66, 184, 221);
  color: #fff;
  /* this is a light blue */
}

.box-filter .filter-inner {
  padding: 10px;
}

.view-switch {
  text-align: right;
}

/* Custom card */
.report-data .inner-card {
  background-color: #fff;
  border-radius: 5px;
  margin: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, 0.1);
}

.report-data .inner-card .pure-u-1-3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.report-data .inner-card p {
  margin: 0;
}

.report-data .inner-card i {
  color: #0078e7;
  background-color: #dcebfc;
  padding: 10px 8px;
  border-radius: 25px;
  margin-right: 10px;
}

.report-data-title {
  border-bottom: 2px solid #f0f0f6;
  padding: 5px 15px;
}

.report-data-value {
  font-size: 22px;
  font-weight: 600;
  color: #2d3e50;
  padding: 20px 20px 10px;
}

.report-data-date {
  font-size: 14px;
  color: #888;
  padding: 0 20px 10px;
}

/* Filter flatpickr */
.flatpickr-months .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-size: 16px !important;
}
