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

html {
  font-size: 16px;
}

body {
  font-family: "Rethink Sans", sans-serif;
  color: $text;
}

.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-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: 6px !important;
  transition: all;
}

body.body--light {
  .q-drawer:has(.detached-container) {
    box-shadow: 6px 5px 3px -3px rgba(0, 1, 1, 0.1);
  }

  background: #fff;
}

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

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

  background: #{map.get($colors-dark, "page")};
}

.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;
}

.border-style {
  border: 1px solid $primary;
}

.q-field--outlined .q-field__control {
  border-radius: 4px;
}

.q-tab--active .q-tab__label {
  font-weight: bolder;
}

.btn-custom-default {
  border: 1px solid black;
  border-radius: 8px;
}

.radius-8 {
  border-radius: 8px;
}

.btn-secondary {
  background-color: #c7e852;
  border: 1px solid #08514c;
  border-radius: 8px;
  color: #08514c;
}

.shadow-1 {
  box-shadow: 0px 0px 4px 0px #00000040;
}
