@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}

#root {
  padding-top: 2rem;
  padding-bottom: 3rem;
  height: calc(100vh - 62px);
  overflow-x: hidden;
  overflow-y: auto;
}

[id].loading {
  position: relative;
}

[id].loading::before {
  content: 'Carregando...';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  color: var(--dark);
}

[data-bs-theme='dark'] [id].loading::before {
  background: rgba(0, 0, 0, 0.8);
  color: var(--light);
}

[data-bs-theme='dark'] [set-mode='dark'] {
  display: none !important;
}

[data-bs-theme='light'] [set-mode='light'] {
  display: none !important;
}

#manager-license {
  position: fixed;
  bottom: 20px; /* distância da borda inferior */
  right: 20px; /* distância da borda direita */
  z-index: 9999; /* garante que fique por cima */
}

.btn-license {
  display: inline-block;
  background: linear-gradient(135deg, #007bff, #0056d2);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 30px;
  border: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-license:hover {
  background: linear-gradient(135deg, #0056d2, #003f9e);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
