/* ----------- LBitApp.razor.scss ----------- */
/* RADZEN OVERRIDES */
:root {
  --rz-grid-cell-padding: 0.25rem;
  --rz-grid-header-cell-padding: 0.5rem 0;
  --rz-progressbar-height: 0.5rem;
  --rz-tabs-padding: 0.5rem;
  --rz-icon-font-family: "Material Symbols Outlined";
  --form-padding: 1rem;
}

/*html {
    font-size: 10px;
}
body {
    font-size: 1.6rem;
}*/
#app {
  height: 100vh;
  height: 100dvh;
  display: flex;
}

.lb_form__container {
  display: flex;
  flex-direction: column;
  min-width: 22rem;
  gap: var(--form-padding);
}

.lb_form__container-row {
  flex-direction: row;
  gap: var(--form-padding);
}

.lb_form__row {
  display: flex;
  flex-direction: column;
}

.lb_form__group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.5rem;
}

.lb_form__field {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: var(--rz-input-height);
}
.lb_form__field > * {
  flex: 1;
}
.lb_form__field > label {
  flex: 0 0 auto;
  width: 8rem;
  margin-right: 1rem;
}
.lb_form__field > .rz-chkbox {
  flex: 0 0 auto;
}

.lb_form__message {
  text-align: end;
  color: var(--success);
  font-style: italic;
  opacity: 0.8;
}

.lb_enum {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lb_enum > .lb_icon {
  font-size: 1rem;
  font-weight: 700;
}

.lb_enum__legend_container {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.lb_enum__legend_title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.lb_enum__legend_item {
  display: flex;
  margin-left: 0.5rem;
  gap: 0.5rem;
  align-items: center;
}

.lb_form__field-stacked {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lb_form__validators {
  height: var(--form-padding);
  line-height: var(--form-padding);
  display: flex;
  justify-content: flex-end;
  margin-bottom: calc(-1 * var(--form-padding));
}

.lb_status_light {
  min-width: 1rem;
  width: 1rem;
  min-height: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.lb_status_light-gray {
  background: #e3e0e0;
}

.lb_status_light-green {
  background: #28a745;
}

.lb_status_light-yellow {
  background: #ffc107;
}

.lb_status_light-blue {
  background: #1facff;
}

.lb_status_light-red {
  background: #dc3545;
}

.lb_api_log__description {
  height: 100%;
}

.lb_api_log__description > pre {
  background-color: #f4f4f4;
  padding: 1rem;
  border: 1px solid #ddd;
  white-space: pre-wrap;
  overflow: auto;
  height: 100%;
}
/* ----------- LBitLoginPage.razor.scss ----------- */
.login_page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.login_page__center {
  display: flex;
  width: 56rem;
  height: 40rem;
  background: #ffffff;
  overflow: hidden;
  border-radius: 0.25rem;
  box-shadow: 5px 5px 12px 1px rgba(0, 0, 0, 0.31);
}

.login_page__pretty {
  flex: 1;
  display: flex;
  position: relative;
}

.login_page__color {
  position: absolute;
  background: var(--primary);
  left: -52px;
  top: -100px;
  width: 504px;
  height: 1000px;
  transform: rotate(-12deg);
}

.login_page__image {
  display: flex;
  width: 100%;
  margin: 3rem;
  background-image: url(/images/login.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
}

.login_page__content {
  flex: 1;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login_page__logo {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 240px;
}

.login_page__form {
  display: flex;
  flex-direction: column;
}

.login_page__form_row {
  padding: 0.25rem 0;
}

.login_page__form_field {
  display: flex;
  flex-direction: column;
}

.login_page__form_buttons {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}
.login_page__form_buttons > button {
  flex: 1;
}

.login_page__input {
  width: 16rem;
}
/* ----------- LBitEditPageTemplate.razor.scss ----------- */
.lb_edit_page {
  min-width: 32rem;
}

.lb_edit_page-view .lb_edit_page__content {
  pointer-events: none;
}

.lb_edit_page__content {
  display: flex;
  flex-direction: column;
  gap: var(--form-padding);
  padding-bottom: calc(2 * var(--form-padding));
}

.lb_edit_page__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
/* ----------- LBitGridPage.razor.scss ----------- */
.lb_page {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}

.lb_page__content {
  flex: 1;
  overflow: hidden;
}

.lb_page__grid {
  height: 100%;
}

.lb_page__toolbar {
  display: flex;
}

.lb_page__actions {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.lb_page__tabs_container {
  height: 100%;
}

.lb_page__tabs {
  height: 100%;
}

.lb_page__title_container {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  max-width: 9rem;
  min-width: 9rem;
  padding-left: 0.5rem;
}

.lb_page__title_bg {
  background: var(--primary);
  position: absolute;
  top: -67px;
  left: -128px;
  width: 19rem;
  height: 11rem;
  z-index: 0;
  transform: rotate(-64deg);
}

.lb_page__title {
  font-family: poppins;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  /* font-size: 1rem; */
  margin-right: 2rem;
  overflow: hidden;
  color: var(--primary-contrast);
  z-index: 1;
}

/* RADZEN OVERRIDES */
.lb_page__tabs > .rz-tabview-panels {
  overflow: hidden;
}

.lb_page__tabs > .rz-tabview-panels > .rz-tabview-panel {
  height: 100%;
}
/* ----------- LBitHeader.razor.scss ----------- */
.lb_header {
  display: flex;
  min-height: 3rem;
  max-height: 3rem;
  align-items: center;
  background: var(--rz-menu-top-item-background-color);
  padding-right: 0.5rem;
}

.lb_header__title {
  font-family: poppins;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  margin-right: 2rem;
  overflow: hidden;
  color: var(--primary-contrast);
  z-index: 1;
}

a.lb_header__title:hover {
  color: var(--primary-contrast);
  text-decoration: none;
}

.lb_header__title_container {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-width: 11rem;
  padding-left: 0.5rem;
}

.lb_header__title_bg {
  background: var(--primary);
  position: absolute;
  top: -67px;
  left: -32px;
  width: 13rem;
  height: 10rem;
  z-index: 0;
  transform: rotate(-64deg);
}

.lb_header__title > span {
  font-size: 1rem;
  line-height: 1;
}

.lb_header__title > span.lb_header__subtitle {
  font-size: 1.4rem;
  line-height: 1;
}

.lb_header__navigation_menu {
  display: flex;
  flex: 1;
}

.lb_header__user_menu {
  display: flex;
  height: 2rem;
  line-height: 2rem;
  width: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  align-content: center;
  justify-content: center;
  cursor: pointer;
}

.lb_header__extra_content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  margin: 0 2rem;
  gap: 1rem;
}

.lb_header__extra_content_item {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  cursor: pointer;
}
/* ----------- LBitNavigationMenu.razor.scss ----------- */
.lb_navigation_menu__item-selected > .rz-navigation-item-wrapper {
  background: rgba(2, 153, 82, 0.2);
}

/* We prevent that selected items on hover gets white */
.rz-menu:not(.rz-profile-menu) .rz-navigation-menu .lb_navigation_menu__item-selected .rz-navigation-item-wrapper:hover {
  background: rgba(2, 153, 82, 0.2);
}

/* We prevent that selected items on hover gets white */
.rz-menu:not(.rz-profile-menu) .lb_navigation_menu__item-selected .rz-navigation-item-wrapper:hover {
  background: rgba(2, 153, 82, 0.2);
}
/* ----------- LBitSelectPageTemplate.razor.scss ----------- */
.lb_select_page {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  padding-top: 0;
}

.lb_select_page__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lb_select_page__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.lb_select_page__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
