@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-order-row {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  display: grid;
  gap: 0.5rem;
}

.tmc-order-row + .tmc-order-row {
  margin-top: 1rem;
}

.tmc-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--bs-secondary-color, #6c757d);
}

.tmc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tmc-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tmc-modal {
  width: min(900px, 100%);
  max-height: calc(100vh - 3rem);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tmc-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tmc-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.tmc-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.tmc-pix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.tmc-pix-qr {
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: #f8fafc;
}

.tmc-pix-qr img {
  max-width: 100%;
  height: auto;
}

.tmc-pix-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

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