/**
 * Application styles layered over the vendor theme.
 * Author: Glow Labs
 * Copyright (c) 2026 Wellifize.
 */

#adminUserSelectLabel {
  margin-top: 33px;
  margin-right: 5px;
}

#buildingSelectDropDown {
  margin-top: 20px;
}

.app-form-action {
  margin-top: 26px;
}

.roomsGrid {
  flex-wrap: wrap;
}

.app-align-top {
  vertical-align: top;
}

/* Fixed feedback stays visible when editing a long table or modal. */
.app-feedback {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(36rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--bs-info);
  border-radius: var(--bs-border-radius, 0.5rem);
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
  box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 15%);
}

.app-feedback[hidden],
.app-table-state[hidden] {
  display: none;
}

.app-feedback--success {
  border-color: var(--bs-success);
}

.app-feedback--error {
  border-color: var(--bs-danger);
}

.app-feedback__close {
  flex-shrink: 0;
  padding: 0.25rem;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}

.app-feedback__close:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.app-table-state {
  padding: 1.5rem;
  color: var(--bs-secondary-color, var(--bs-gray-600));
  text-align: center;
}

.app-table-state--error {
  color: var(--bs-danger);
}

/* Authentication and authorization callback pages share the same theme backgrounds. */
body.app-auth {
  background-image: url("../../assets/media/auth/bg10.jpeg");
}

[data-bs-theme="dark"] body.app-auth {
  background-image: url("../../assets/media/auth/bg10-dark.jpeg");
}
