@use "sass:map";
@use "src/css/quasar.variables.scss";
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');

body {
  font-family: "Inter", sans-serif;
}

.flex-grow {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}

.round {
  border-radius: 50%;
}

.self-center {
  align-self: center;
}

.input-disable {
  .q-field--outlined .q-field__control::before {
    border: 1px solid #b9b9b9 !important;
    transition: border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.q-item__section--avatar {
  min-width: 0;
}

.q-toolbar {
  position: relative;
  padding: 0 12px;
  min-height: 50px;
  width: auto;
}

.q-drawer:has(.detached-container) {
  margin: 16px !important;
  margin-bottom: 16px !important;
  margin-left: 10px !important;
  border-radius: 8px !important;
  transition: all;
  color: #8b8b8b;
}

body.body--light {
  .q-drawer:has(.detached-container) {
    background: #{map.get($colors, "surface")} !important;
  }

  .q-menu {
    background: #{map.get($colors, "surface")};
  }

  .q-dialog {
    .q-card {
      background: #{map.get($colors, "surface-dark")};
    }
  }

  background: #{map.get($colors, "background")} !important;

  .card-ring {
    box-shadow: 0 0 0 1px #c0c0c0c0 !important;
  }

  .menu-drawer {
    color: #8b8b8b;
  }
}


.q-card__actions .q-btn {
  padding: 10px 16px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.q-separator {
  padding-top: 0px;
  padding-left: 0;
}

.q-scrollarea__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto !important;
}

.remove-header-expansion-item {
  .q-list--dense > .q-item,
  .q-item--dense {
    display: none;
  }
}




.q-field--standout.q-field--rounded .q-field__control {
  border-radius: 8px;
  
}

.q-btn--rectangle {
  border-radius: 8px;
}

.q-table__select {
  .q-field__inner {
    .q-field__control {
      padding-left: 6px;
      border-radius: 8px;
      overflow: hidden;
    }
  }
}

.q-field--standout.q-field--highlighted .q-field__native {
  color: $secondary;
}

.q-field--standout.q-field--highlighted .q-field__control {
  box-shadow: none;
  border-radius: 8px;
}