@font-face {
  font-family: system;
  font-style: normal;
  font-weight: 300;
  src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"),
    local("Roboto-Light"), local("DroidSans"), local("Tahoma"),
    local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light");
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Impede a rolagem desnecessária */
}

#title-bar {
  height: 31px;
  background-color: black;
  width: 100%;
  display: flex;
  justify-content: space-between;
  user-select: none;
}

#logo {
  padding-left: 5px;
  vertical-align: middle;
}

#logo-description {
  color: white;
  font-size: 12px;
  font-family: "system";
  vertical-align: middle;
}

#minimize {
  color: white;
  font-size: 12px;
  padding: 9px 15px 7px 15px;
}

#square {
  color: white;
  font-size: 22px;
  padding: 0px 15px 5px 15px;
}

#exit {
  color: white;
  font-size: 15px;
  padding: 7px 17px 7px 17px;
}
#url-bar {
  height: 28px; /* Mantém a altura fixa */
  background-color: #1b1a1a;
  width: 100%; /* Garante que a url-bar ocupe 100% da largura da janela */
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden; /* Evita barra de rolagem desnecessária */
  text-overflow: ellipsis; /* Corta o texto com reticências se for muito longo */
  -ms-overflow-style: none; /* Remove a barra de rolagem no IE */
  scrollbar-width: none; /* Remove a barra de rolagem no Firefox */
}

#url-bar::-webkit-scrollbar {
  display: none; /* Remove a barra de rolagem no Chrome, Safari e Opera */
}


#url-bar::-webkit-scrollbar {
  display: none;
}

#ssl-padlock {
  user-select: none;
  padding-left: 8px;
  margin-right: 8px;
}

#domain-name {
  color: white;
  font-size: 14px;
  font-family: "system";
}

#domain-path {
  color: #9c9898;
  font-size: 14px;
  font-family: "system";
}

#title-bar-width {
  width: calc(100% + 2px); /* 2px added to allow for border on iframe */
}

#content {
  width: 100%;
  height: calc(100vh - 59px); /* Adapta-se à altura da janela - altura do title-bar + url-bar */
  border: 1px solid gray;
}

#window {
  color: transparent;
  background-color: transparent;
  border-color: transparent;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  height: 100vh; /* Adapta-se à altura da janela */
  width: 40%;
  display: none; /* Initially hidden, will be shown after loading */
}

/* Loading screen styles */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#loading-logo {
  width: 150px;
  margin-bottom: 20px;
}

#loading-text {
  font-family: "system", Arial, sans-serif;
  font-size: 16px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-top: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
