@import url("../../vuexy/assets/vendor/fonts/tabler-icons.css");
@import url("../../vuexy/assets/css/demo.css");

html,
body {
  min-height: 100%;
}

body {
  background: var(--bs-body-bg);
}

.InfoBlack {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
}

/* jQuery fadeIn() injeta display:block; mantém o loader centralizado em flex */
.InfoBlack[style*="display: block"] {
  display: flex !important;
}

.InfoBlack .InfoLoad {
  display: block;
}

.btn_theme {
  background: var(--bs-primary);
  color: #fff !important;
  border: 1px solid var(--bs-primary);
}

.btn_theme:hover {
  background: var(--bs-primary-text-emphasis);
  border-color: var(--bs-primary-text-emphasis);
  color: #fff !important;
}

.btn_small {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}

.clear {
  clear: both;
}

.fl_right {
  float: right;
}

.fl_left {
  float: left;
}

.tmc-auth-page {
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmc-auth-wrap {
  width: 100%;
  max-width: 520px;
}

.tmc-auth-card {
  border: 0;
  box-shadow: 0 0.75rem 2rem rgba(10, 20, 40, 0.15);
}

.dark-style .tmc-auth-card {
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45);
}

.tmc-vuexy-shell .layout-navbar {
  border-bottom: 1px solid rgba(75, 70, 92, 0.14);
}

.tmc-vuexy-shell .layout-menu-horizontal {
  border-bottom: 1px solid rgba(75, 70, 92, 0.12);
  box-shadow: 0 0.125rem 0.375rem rgba(47, 43, 61, 0.08);
}

.tmc-vuexy-shell .layout-menu-horizontal .menu-inner > .menu-item > .menu-link {
  min-height: 3.5rem;
}

.tmc-vuexy-shell .layout-menu-horizontal .menu-sub {
  min-width: 15rem;
}

.tmc-vuexy-shell {
  min-height: 100vh;
}

.tmc-vuexy-shell .layout-container {
  min-height: 100vh;
}

.tmc-vuexy-shell .layout-page {
  min-height: calc(100vh - 4rem);
}

.tmc-kpi-card {
  min-height: 112px;
}

.tmc-list {
  display: grid;
  gap: 0.75rem;
}

.tmc-list-row {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.tmc-ref-link {
  font-family: monospace;
  word-break: break-all;
}

.tmc-vuexy-shell,
.tmc-vuexy-shell .layout-container,
.tmc-vuexy-shell .layout-page,
.tmc-vuexy-shell .content-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

/* Compatibilidade com PreNotify/Notify do workcontrol.js (login e formularios AJAX) */
.notify_box_tr,
.notify_box_bl {
  position: fixed;
  width: min(320px, 92vw);
  z-index: 2000;
  pointer-events: none;
}

.notify_box_tr {
  top: 0;
  right: 0;
  padding: 1rem;
}

.notify_box_bl {
  left: 0;
  bottom: 0;
  padding: 1rem;
}

.notify_content {
  position: relative;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;
}

.notify_content + .notify_content {
  margin-top: 0.75rem;
}

.notify_content p {
  margin: 0;
  color: inherit;
}

.notify_timer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
}

.notify_blue {
  background: #0b79d0;
  color: #fff;
}

.notify_red {
  background: #d73a49;
  color: #fff;
}

.notify_green {
  background: #1c8f5d;
  color: #fff;
}

@media (max-width: 991.98px) {
  .tmc-vuexy-shell .container-xxl {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .tmc-list-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
