body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

/* Estilos base para temas */
body {
  background-color: #f3f4f6;
}
.dark body {
  background-color: #111827;
}

#app-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f3f4f6; /* bg-gray-100 */
  color: #1f2937; /* text-gray-800 */
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* Container para o Portal de Empresas */
#empresa-app-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Estilos para telas de desktop (maiores que 640px) */
@media (min-width: 640px) {
  #app-container {
    max-height: 90vh; /* Limita a altura */
    margin-top: 2.5rem; /* Adiciona margem no topo */
    margin-bottom: 2.5rem;
    border-radius: 1.5rem; /* Bordas arredondadas */
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); /* Sombra mais pronunciada */
  }
}

nav {
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(3.5rem + env(safe-area-inset-bottom));
}

#content-area {
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}

.dark #app-container {
  background-color: #030712; /* bg-gray-950 */
  color: #d1d5db; /* text-gray-300 */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-enter {
  animation: slideUp 0.3s ease-out forwards;
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.toast-enter {
  animation: toast-in 0.5s ease-out forwards;
}
.toast-leave {
  animation: toast-out 0.5s ease-in forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}
.animate-pulse-slow {
  animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.7;
  }
}

/* Adicione ao final de /src/css/styles.css */

@keyframes slide-in-bottom {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-in-bottom {
  animation: slide-in-bottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #a1a1aa; /* zinc-400 */
  border-radius: 50%;
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.dark .typing-dot {
  background-color: #71717a; /* zinc-500 */
}
