@use "sass:map";
@use "src/css/quasar.variables.scss";

.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;
  margin-top: calc(env(safe-area-inset-top) + 16px) !important;
  border-radius: 6px !important;
  transition: all;
}

.q-drawer__content {
  padding-top: 0 !important;
}

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

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

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

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

.q-notifications__list--top {
  margin-top: env(safe-area-inset-top) !important;
}

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

.q-field .q-field__control {
  border: 1.5px solid #e4e4e4 !important;
  border-radius: 4px !important;
  height: 44px !important;
  transition: border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.q-btn {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  text-transform: lowercase;
}

.gradient-diarista {
  background: linear-gradient(-90deg, #ec48d1 5%, #6b11cb 65%, #2574fc 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  color: transparent;
}

.gradient-diarista-bg {
  background: linear-gradient(-90deg, #ec48d1 1%, #6b11cbcb 65%, #2574fcbd 100%);
}


.shadow-card {
box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.2);
-webkit-box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.2);
}

.shadow-profile {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
}

.font8 {
  font-size: 8px;
}

.font9 {
  font-size: 9px;
}

.font10 {
  font-size: 10px;
}

.font12 {
  font-size: 12px;
}

.font14 {
  font-size: 14px;
}

.font16 {
  font-size: 16px;
}

.fontbold {
  font-weight: 700;
}

.fontmedium {
  font-weight: 500;
}

.fontregular {
  font-weight: 400;
}

.fontlight {
  font-weight: 300;
}

.card-border { border-radius: 18px; }

.dashboard-section-title { line-height: 1.05; }

.section-title {
  line-height: 1.05;
}
.dialog-safe-header {
  padding-top: calc(env(safe-area-inset-top, 24px) + 12px) !important;
  min-height: calc(50px + env(safe-area-inset-top, 24px));
}

.dialog-safe-header > .q-btn:first-child {
  margin-left: -16px;
  margin-right: 16px;
}
