body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #191919;
}

.browser-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #191919;
}

.tab-bar-container {
  display: flex;
  align-items: center;
  background-color: rgba(25, 25, 25);
  padding: 0 10px;
}

.tab-bar {
  display: flex;
  overflow-x: auto;
}

.tab-bar::-webkit-scrollbar {
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.02);
  border: none;
  width: 225px;
  margin: 7px;
  margin-left: 0px;
  border-radius: 10px;
  height: 20px;
  border: 2px solid #6632a8;
  animation: openTab 0.1s ease;
  transition: 0.1s ease;
  color: white;
}

.tab:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

@keyframes openTab {
  0% {
    width: 20px;
  }
}

@keyframes closeTab {
  0% {
    width: 225px;
  }

  100% {
    width: 0;
  }
}

.tab.active {
  background-color: #6632a8;
  border: 2px solid #6632a8;
}

.tab.active:hover {
  background-color: #6632a8;
  border: 2px solid #6632a8;
}

.tab-title {
  margin-left: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-close {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.9);
  margin-right: 3px;
  font-size: 20px;
}

.tab-close:hover {
  color: white;
}

.url-bar-container {
  display: flex;
  align-items: center;
  background-color: rgba(25, 25, 25);
  border-bottom: 1px solid rgb(35, 35, 35);
  padding: 5px;
}

.url-input {
  flex-grow: 1;
  padding: 8px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  margin: 0;
  margin-right: 5px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  outline: none;
  transition: 0.15s;
}

.url-input:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px #6632a8;
}

.icon-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 5px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 5px;
  transition: 0.1s;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.new-tab-button {
  padding: 8px 12px;
  cursor: pointer;
  background: none;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 25px;
  height: 40px;
  margin: 8.5px 0px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.new-tab-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.browser-window {
  flex-grow: 1;
  position: relative;
  background-color: #fff;
}

.browser-window iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

.tab-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.menu-context {
  position: absolute;
  background: rgb(39, 39, 39);
  border: 1px solid rgb(45, 45, 45);
  border-radius: 5px;
  z-index: 1000;
  width: 150px;
}

.menu-context ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-context li {
  padding: 7px 10px;
  cursor: pointer;
  color: rgb(206, 206, 206);
}

.menu-context li:hover {
  background: rgb(32, 32, 32);
}

.menu-context .divider {
  width: calc(100% - 16px);
  height: 1.5px;
  margin: 8px;
  margin-bottom: 0px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-context small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.388);
  margin: 0px;
  margin-left: 11px;
  margin-top: 10px;
}
