/* 
  Ziya Dashboard - Modern Theme 
  Based on ApexCharts Modern Dashboard Template 
*/

body {
  background-color: #eff4f7;
  color: #777;
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6, strong {
  font-weight: 600;
}

.content-area {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 50px;
}

#topnav {
  background: #37474f;
  height: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1 0 0;
  color: #fff;
  padding-left: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-t {
  width: 32px;
  height: 32px;
  border: 2px solid #26c6da;
  text-align: center;
  line-height: 28px;
  border-radius: 50%;
  margin-right: 15px;
}

/* Custom Filter Bar replacing Search Bar */
.filter-bar {
  flex: 2 0 0;
  align-items: center;
  justify-content: flex-end;
  display: flex;
  height: 40px;
  color: #fff;
  padding-right: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  margin-left: 20px;
  background: #232e34;
  border-radius: 35px;
  padding: 0 15px;
  height: 100%;
}

.filter-group label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
  margin-right: 10px;
  font-weight: 600;
}

.filter-group select {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-family: 'Titillium Web';
  cursor: pointer;
  outline: none;
  padding: 5px 0;
}

.filter-group select option {
  background: #37474f;
  color: #fff;
}

/* Layout Boxes */
.box {
  box-shadow: 0px 1px 22px -12px #607D8B;
  background-color: #fff;
  padding: 25px 35px 25px 30px;
  border-radius: 6px;
  margin-bottom: 30px;
  min-height: 400px;
}

/* Custom Dropdown Overrides for Dark Navbar */
.custom-select-wrapper { position: relative; width: 100%; user-select: none; }
.custom-select-trigger { background: #263238; border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 7px 12px; border-radius: 4px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.custom-options { position: absolute; top: 100%; left: 0; right: 0; background: #2b3940; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; z-index: 100; display: none; margin-top: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.custom-select-wrapper.open .custom-options { display: block; }
.custom-search { padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.custom-search input { width: 100%; padding: 6px 10px; background: #1f292e; border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; border-radius: 3px; outline: none; font-size: 13px; }
.options-list { max-height: 250px; overflow-y: auto; }
.option-item { padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.option-item:hover { background: #37474f; }
.option-item span { color: #fff; font-size: 13px; }
.option-item input[type="checkbox"] { pointer-events: none; margin: 0; width: 14px; height: 14px; cursor: pointer; accent-color: #008FFB; }

.section-title {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #37474f;
  border-bottom: 2px solid #26c6da;
  display: inline-block;
  padding-bottom: 5px;
}

/* No sparkboxes needed in main body UI */

/* Chart Title inside box */
.box h5 {
  font-size: 18px;
  color: rgba(51,51,51,1);
  margin-bottom: 20px;
}

@media screen and (max-width:760px) {
  #topnav { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .logo { flex-basis: 100%; justify-content: center; padding-left: 0; margin-bottom: 10px;}
  .filter-bar { flex-basis: 100%; justify-content: center; padding-right: 0; flex-wrap: wrap; gap: 10px;}
  .filter-group { margin-left: 0; }
  .box { padding: 20px; }
}
