html,
body,
md-content {
  background-color: #f5f5f5 !important;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif !important;
}

md-input-container {
  padding-left: 0 !important;
}

.section-card {
  border-radius: 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}

.fieldset {
  border: 2px solid;
  border-radius: 8px;
  height: 250px;
  max-height: 250px;
  overflow: auto;
}

.fieldset legend {
  width: auto;
  font-size: 14px;
  margin: 0 15px 20px 5px;
  border: none;
}

.fieldset textarea {
  background: transparent;
  padding: 0px 15px;
}

.header-styling {
  background: #6c14fa;
  color: #fff;
  border-radius: 10px;
}

md-dialog {
  transform: none !important;
}

.collapsible-row {
  display: none;
  padding: 10px;
  background-color: #f1f1f1;
}

md-backdrop.md-dialog-backdrop {
  z-index: 9000;
}

.model-change {
  background: #43a047;
  color: #fff;
  font-weight: 600;
}

td input {
  outline: none;
}
.air-datepicker.-inline- {
  position: relative !important;
  top: 10px !important;
  margin-bottom: 30px;
}

zg-checkbox {
  border-radius: 3px;
}

td,
th {
  padding: 0 10px;
  border-right: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
}

th {
  position: sticky;
  top: 0;
  background: white;
  height: 30px;
  z-index: 900;
}

.zing-holder zing-grid {
  margin: 0;
}

zing-grid[loading] {
  height: 450px;
}

.multi-sortable .sortable-container {
  width: 100%;
  height: 100%;
  padding: 10px 10px;
}

.sortable-container {
  overflow: auto;
  padding: 10px 50px;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

table {
  font-size: 16px;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

table tr {
  border-bottom: 1px solid #ddd;
}

.sp-replacer {
  padding: 6px;
  border-radius: 4px;
}

.badge {
  text-transform: uppercase;
  padding: 5px 10px;
  min-width: 19px;
  width: fit-content;
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  margin: 0 5px 0 0;
}

.badge-mainq {
  background: red;
  color: #fff;
}

.badge-survey {
  background: #4527a0;
  color: #fff;
}

.md-button .menu-icons {
  margin: 6px;
}

.card-box {
  box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03),
    0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03),
    0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05),
    0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
  border-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(26, 54, 126, 0.125);
  border-radius: 0.25rem;
  margin-bottom: 30px;
}

.card-header {
  display: flex;
  align-items: center;
  border-bottom-width: 1px;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0.625rem;
  padding: 20px;
  margin-bottom: 0;
  color: inherit;
  background-color: #fff;
  border-bottom: 1px solid;
}

.card-header-title {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 25px;
}

.card-body {
  padding: 15px;
  font-size: 15px;
}

.password-field {
  -webkit-text-security: disc;
}

.header {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.95) 0%,
    rgba(147, 51, 234, 0.9) 100%
  );
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header md-icon {
  color: #fff;
}

.dialog md-icon {
  -webkit-transition: opacity 0.3s !important;
  transition: opacity 0.3s !important;
  opacity: 1;
}

.btn {
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.breakout-live {
  transition: all 0.45s;
  background-color: rgba(33, 33, 33, 0.9);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90000;
}

.breakout-live.ng-enter,
.breakout-live.ng-leave {
  -webkit-transition: all ease-in-out 0.4s;
  -moz-transition: all ease-in-out 0.4s;
  -ms-transition: all ease-in-out 0.4s;
  -o-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}
.breakout-live.ng-enter,
.breakout-live.ng-leave.ng-leave-active {
  opacity: 0;
}
.breakout-live.ng-leave,
.breakout-live.ng-enter.ng-enter-active {
  opacity: 1;
}

.disabled {
  opacity: 0.4;
}

main {
  overflow-y: auto;
  padding: 40px 20px;
}

aside {
  border-right: 1px solid #ededed;
  background: #fff;
}
aside ul {
  list-style: none;
  padding: 0;
}

.sq-nav:not(:first-of-type) {
  border-bottom: 1px solid #fff;
}

.sq-nav::first-of-type {
  border: none;
}

.sq-nav {
  height: 60px;
  font-size: 19px;
  display: flex;
  align-items: center;
  width: 100%;
  outline: none;
  border-bottom: 1px solid #000 !important;
}

.nav-active {
  color: #6c14fa;
  border-bottom-color: #6c14fa !important;
}

.nav-active md-icon {
  color: #6c14fa !important;
}

aside ul li {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  display: flex;
  height: 100%;
}

.list-holder {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}

.align-list-labels {
  display: flex;
  justify-content: space-around;
}

.align-list-labels label {
  text-align: right;
  width: 175px;
  display: inline-block;
  line-height: 30px;
}

.ch-box {
  width: 100%;
  height: 100%;
}

.ch-box .md-container {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

#qrcode {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: 100px;
  height: 100px;
  background: transparent !important;
}

.progress .indicator:nth-child(1) {
  animation: fade 2s ease 0s infinite;
}

.progress .indicator:nth-child(2) {
  animation: fade 2s ease 250ms infinite;
}

.progress .indicator:nth-child(3) {
  animation: fade 2s ease 500ms infinite;
}

.progress .indicator:nth-child(4) {
  animation: fade 2s ease-in-out 1s infinite;
}

.indicator {
  background-color: #000;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  display: inline-block;
  margin: 10px;
  opacity: 0;
}

@keyframes fade {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

.zemmer {
  transform: none !important;
}

md-toast {
  z-index: 120000000;
}

.md-select-menu-container {
  z-index: 100000;
}

.campaigns {
  padding: 0 16px;
  min-height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background: rgb(255, 255, 255);
  border-radius: 24px;
}

.md-chips md-chip {
  border-radius: 3px !important;
  font-size: 13px !important;
}

.md-dialog-container {
  z-index: 9001;
}

.item {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.item:hover {
  background-color: rgba(158, 158, 158, 0.5) !important;
}

.ch-message {
  clear: both;
  background: #f0f1f2;
  padding: 10px;
  display: inline-block;
  flex-direction: column;
  max-width: 100%;
}

.ch-message.right {
  float: right;
  margin: 0 5px 25px 0;
  text-align: right;
  background: #62af35;
  border-radius: 5px;
  text-align: left;
}

.ch-message.left {
  float: left;
  margin: 0 0 25px 5px;
  text-align: left;
  background: #62af35;
  border-radius: 5px;
  text-align: left;
}

.ch-bottom {
  position: absolute;
  display: flex;
  background: #fff;
  bottom: 0;
  right: 0;
  left: 0;
  height: 55px;
  border-top: 1px solid #d8dfe3;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.ch-bottom input {
  font-family: inherit;
  outline: none;
  border: none;
  font-size: 14px;
}

.ch-bottom .md-button {
  width: 36px;
  height: 36px;
}

.md-button {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dialog {
  position: relative;
  display: flex;
  height: 600px;
  border-radius: 5px;
  background: #fff;
  color: #000;
}

.selected {
  background: #4caf50 !important;
  color: #fff !important;
}

.panel {
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  border-color: #ddd;
  min-height: 300px;
  max-height: 800px;
  height: 100%;
}

.panel .panel-header {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  color: #333;
  border-color: #ddd;
  background: #ddd;
  text-transform: uppercase;
  font-weight: bold;
}

.panel .panel-body {
  overflow: auto;
  padding: 0;
  background-color: #f5f5f5;
}

.panel .panel-body .panel-item {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  margin: 10px;
  background: #fff;
}

.panel .panel-body .panel-item:hover {
  cursor: pointer;
}

.multi-sortable {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-bottom: 100px;
}

md-list-item.md-no-proxy.md-button,
md-list-item .md-no-style.md-button {
  line-height: 22px;
}

.bottom-sheet {
  position: fixed;
  background: #6c14fa;
  color: #fff;
  height: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: translate3d(0, 80px, 0);
  transform: translate3d(0, 80px, 0);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}

.items-grid .md-list-item-inner {
  flex-direction: column;
}

.fade-in-load {
  opacity: 0;

  -webkit-transition: opacity 0.4s ease-in;
  -moz-transition: opacity 0.4s ease-in;
  -ms-transition: opacity 0.4s ease-in;
  -o-transition: opacity 0.4s ease-in;
  transition: opacity 0.4s ease-in;
}

.processing {
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
}

.fade-in-load {
  opacity: 0;
  -moz-transition: opacity 0.25s ease-in-out;
  -webkit-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}

.flex {
  display: flex;
}

#data {
  color: #000;
}

.zg-body {
  background: #f3f3f3;
  padding: 15px;
}
.zg-body .dashboard-container {
  max-width: 1000px;
  margin: 0 auto;
}
.zg-body h1 {
  color: #606470;
  margin-bottom: 10px;
  font-weight: 300;
}
.zg-body p {
  color: #606470;
  margin: 0 0 10px 0;
  font-weight: 300;
}
.zg-body hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #dddddd;
  margin: 1em 0;
  padding: 0;
  margin: 0 0 30px 0;
}
.zg-body .columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2em;
  margin: 2rem 0;
  /* min-height: 440px; */
  width: 100%;
}
.zg-body .fas {
  padding-right: 5px;
  font-size: 15px;
}
.zg-body .blue {
  color: #2f89fc;
}
.zg-body .gold {
  color: #f4b342;
}
.zg-body .green {
  color: #4bbb8b;
}
.zg-body .grey {
  color: #ccc;
}
.zg-body .red {
  color: #ff5759;
}

zg-no-data {
  color: #000;
}

zg-pager zg-button[action="reload"] {
  display: none;
}

zg-caption .md-button {
  position: absolute;
  right: 0;
  font-size: 10px;
  max-height: 25px;
  min-height: 25px;
  display: flex;
  top: 0;
  width: fit-content;
  min-width: 0;
}

/* Grid */
zing-grid {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 13px;
  background: #ffffff;
  border: none;
  color: #ffffff;
  --theme-color-primary: #606470;
  --zg-cell-background_sorted: #eee;
  --zg-head-cell-background_sorted: #ccc;
  --zg-icon-init-fill: #606470;
  --zg-head-cell-icon-color_sorted: #606470;
  --zg-select-arrow-color: #606470;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.09);
  opacity: 1;
  height: fit-content;
}
zing-grid.loading {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

zg-caption {
  border-bottom: 1px solid #efefef;
  font-weight: 400;
  background: #ffffff;
  color: #606470;
  border-radius: 8px 8px 0 0;
  -webkit-border-radius: 8px 8px 0 0;
  -moz-border-radius: 8px 8px 0 0;
}
zg-control-bar {
  display: none;
}
zg-head,
zg-head-cell {
  background: #ffffff;
  color: #606470;
  font-size: 9px;
  font-weight: bold;
  text-transform: none;
}
zg-icon {
  width: 15px;
}
zg-head,
zg-body {
  border: none;
}
zg-row {
  border-bottom: 1px solid #efefef;
  background: #ffffff;
  color: #414141;
}
zg-row,
zg-cell {
  padding: 0 15px;
  height: 40px;
}
zg-body zg-row:last-child {
  border-radius: 0 0 8px 8px;
  -moz-border-radius: 0 0 8px 8px;
  -webkit-border-radius: 0 0 8px 8px;
}
zg-pager {
  background: #ffffff;
  margin-top: 0px;
  color: #606470;
  border-radius: 0 0 8px 8px;
  -webkit-border-radius: 0 0 8px 8px;
  -moz-border-radius: 0 0 8px 8px;
  font-size: 10px;
}

.zg-body .bike {
  color: #2f89fc;
  font-weight: bold;
}
zg-row.outdoor-bike {
  color: #2f89fc;
  font-weight: normal;
}
.zg-body .run,
.zg-body .peak {
  color: #ff5759;
  font-weight: bold;
}
zg-row.run {
  color: #ff5759;
  font-weight: normal;
}
zg-row.peak {
  color: #ff5759;
  font-weight: normal;
}
.zg-body .sport {
  color: #4bbb8b;
  font-weight: bold;
}
zg-row.sport {
  color: #4bbb8b;
  font-weight: normal;
}
.zg-body .not-peak {
  color: #cccccc;
}
.zg-body .calorie-goal {
  color: #f4b342;
  font-weight: bold;
}
.zg-body .bold {
  font-weight: bold;
}
@media screen and (max-width: 650px) {
  .columns {
    display: block !important;
    margin-bottom: 30px;
  }
  .zg-body .columns zing-grid:first-child {
    margin-bottom: 30px;
  }
}

md-backdrop {
  position: fixed !important;
}

/* Vote Dialog Ranking Styles */
.ranking-section {
  margin-top: 20px;
}

.ranking-header {
  border-bottom: 1px grey solid;
  min-height: 38px;
  margin-bottom: 15px;
}

.ranking-type-selector md-radio-button {
  display: inline;
  margin-right: 40px;
}

.edit-items-checkbox {
  float: right;
}

.ranking-settings {
  margin-top: 20px;
}

/* Loading Indicator Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loading-spinner i {
  font-size: 24px;
  color: #333;
}

.loading-spinner span {
  color: #333;
  font-size: 14px;
}
