* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #08090d;
  color: white;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

/* LOCK SCREEN */

#lock-screen {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, #25204b 0, transparent 35%),
    radial-gradient(circle at 80% 80%, #142f43 0, transparent 35%),
    #08090d;
}

.lock-box {
  width: 360px;
  padding: 35px;
  border: 1px solid #292d3a;
  border-radius: 20px;
  background: rgba(17, 19, 27, 0.95);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.lock-box h1 {
  margin-top: 0;
  font-size: 28px;
}

.lock-box p {
  color: #9298a8;
}

#password {
  width: 100%;
  padding: 13px;
  margin: 15px 0 10px;
  border: 1px solid #343846;
  border-radius: 10px;
  background: #0c0e14;
  color: white;
  outline: none;
}

#unlock,
#go {
  border: 0;
  border-radius: 9px;
  padding: 11px 18px;
  background: #5865f2;
  color: white;
  cursor: pointer;
}

#unlock {
  width: 100%;
}

#unlock:hover,
#go:hover {
  opacity: 0.85;
}

#error {
  color: #ff5c67 !important;
  min-height: 18px;
}

/* BROWSER */

#browser-screen {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.tabs {
  height: 45px;
  display: flex;
  align-items: center;
  background: #11131a;
  border-bottom: 1px solid #292c36;
  padding: 5px;
}

.tab {
  height: 35px;
  min-width: 190px;
  max-width: 280px;
  padding: 9px 15px;
  border-radius: 8px 8px 0 0;
  background: #191c25;
  color: #ddd;
  font-size: 14px;
}

.tab.active {
  background: #242833;
}

#new-tab {
  margin-left: 7px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

#new-tab:hover {
  background: #242833;
}

.toolbar {
  height: 58px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: #151820;
  border-bottom: 1px solid #292c36;
}

.toolbar button {
  min-width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #222631;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.toolbar button:hover {
  background: #303542;
}

#address-bar {
  flex: 1;
  height: 38px;
  padding: 0 15px;
  border: 1px solid #333743;
  border-radius: 20px;
  background: #0d0f14;
  color: white;
  outline: none;
  font-size: 14px;
}

.bookmarks {
  height: 38px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 3px 10px;
  background: #101218;
  border-bottom: 1px solid #292c36;
  overflow-x: auto;
}

.bookmarks button {
  white-space: nowrap;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  background: transparent;
  color: #aaa;
  cursor: pointer;
}

.bookmarks button:hover {
  background: #222631;
  color: white;
}

.browser-content {
  position: relative;
  flex: 1;
  min-height: 0;
  background: white;
}

#browser-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: white;
}

#blocked {
  display: none;
  position: absolute;
  inset: 0;
  background: #0d0f14;
  color: white;
  text-align: center;
  padding-top: 15vh;
}

#blocked button {
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: #5865f2;
  color: white;
  cursor: pointer;
}

@media (max-width: 700px) {
  .bookmarks {
    display: none;
  }

  .toolbar {
    height: 55px;
  }

  .tab {
    min-width: 140px;
  }
}