* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.navigation-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  z-index: 1000;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background-color 0.2s;
}

.nav-btn:hover:not(:disabled) {
  background-color: #e0e0e0;
}

.nav-btn:active:not(:disabled) {
  background-color: #d0d0d0;
}

.nav-btn:disabled {
  color: #999;
  cursor: not-allowed;
}

.url-input-container {
  flex: 1;
  display: flex;
  gap: 8px;
  max-width: 800px;
}

#url-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

#url-input:focus {
  border-color: #4caf50;
}

.go-btn {
  height: 36px;
  padding: 0 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.go-btn:hover {
  background-color: #45a049;
}

.go-btn:active {
  background-color: #3d8b40;
}

.iframe-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#main-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
