/* Fonts */
@import "fonts";

/* Load Bootstrap v5 and customizations */
@import "bs-load";

/* LiveView specific CSS */
@import "phx-liveview";

/* Navbar toggler icon override */
@import "nav-burger";

/* Shift73k shift-assign calendar styling */
@import "s73k-calendar";

/* extra */
.was-validated .no-valid-style .form-check-input:valid,
.form-check-input.is-valid {
  border-color: inherit !important;
}
.was-validated .no-valid-style .form-check-input:valid ~ .form-check-label,
.no-valid-style .form-check-input.is-valid ~ .form-check-label {
  color: inherit !important;
}
.table-nonfluid {
  width: auto !important;
}
.cursor-pointer {
  cursor: pointer !important;
}

/*
  icons in input fields
  */
/* enable absolute positioning */
.inner-addon {
  position: relative;
}

/* style icon */
.inner-addon > .icon {
  position: absolute;
  padding: 0.25rem 0.5rem;
  pointer-events: none;
}

/* align icon */
.inner-addon > .icon.is-left {
  left: 0px;
}
.inner-addon > .icon.is-right {
  right: 0px;
}

/* add padding  */
.left-addon input,
.left-addon select {
  padding-left: 2rem;
}
.right-addon input,
.right-addon select {
  padding-right: 2rem;
}

.shift-description p:last-child {
  margin-bottom: 0;
}


/*
  fix readonly form background
  */
.form-control[readonly] {
  background-color: $input-disabled-bg;
}