/* Explorer Web Browser Styles */

.explorer-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--win98-window-bg);
  font-family: 'MS Sans Serif', sans-serif;
}

/* Toolbar */
.explorer-toolbar {
  display: flex;
  align-items: center;
  padding: 4px;
  background-color: var(--win98-button-face);
  border-bottom: 1px solid var(--win98-button-shadow);
  gap: 2px;
}

.explorer-nav-button {
  min-width: 32px;
  height: 32px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}

.explorer-nav-button .button-icon {
  font-size: 16px;
  line-height: 1;
}

.explorer-nav-button[disabled] {
  color: var(--win98-button-shadow);
  text-shadow: 1px 1px var(--win98-button-highlight);
  cursor: default;
}

/* Address Bar */
.explorer-address-container {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 8px;
}

.explorer-address-label {
  margin-right: 4px;
  font-size: 11px;
  color: #000;
}

.explorer-address-bar {
  flex: 1;
  height: 22px;
  padding: 2px 4px;
  border: 2px solid;
  border-color: var(--win98-button-shadow) var(--win98-button-highlight) var(--win98-button-highlight) var(--win98-button-shadow);
  background-color: #fff;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
}

.explorer-address-bar:focus {
  outline: none;
}

/* Content Area */
.explorer-content {
  flex: 1;
  position: relative;
  background-color: #fff;
  border: 2px solid;
  border-color: var(--win98-button-shadow) var(--win98-button-highlight) var(--win98-button-highlight) var(--win98-button-shadow);
  margin: 2px;
}

.explorer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #fff;
}

.explorer-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--win98-button-face);
  padding: 10px 20px;
  border: 2px solid;
  border-color: var(--win98-button-highlight) var(--win98-button-shadow) var(--win98-button-shadow) var(--win98-button-highlight);
  font-size: 11px;
  z-index: 10;
}

/* Status Bar */
.explorer-status-bar {
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  background-color: var(--win98-button-face);
  border-top: 1px solid var(--win98-button-shadow);
  border-bottom: 2px solid;
  border-bottom-color: var(--win98-button-shadow) var(--win98-button-highlight) var(--win98-button-highlight) var(--win98-button-shadow);
}

.explorer-status-text {
  font-size: 11px;
  color: #000;
}

/* Button hover effects */
.explorer-nav-button:not([disabled]):hover {
  background-color: var(--win98-button-highlight);
}

.explorer-nav-button:not([disabled]):active {
  border-color: var(--win98-button-shadow) var(--win98-button-highlight) var(--win98-button-highlight) var(--win98-button-shadow);
}

/* Focus styles */
.explorer-nav-button:focus {
  outline: 1px dotted #000;
  outline-offset: -4px;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .explorer-address-label {
    display: none;
  }
  
  .explorer-nav-button {
    min-width: 28px;
    height: 28px;
  }
  
  .explorer-nav-button .button-icon {
    font-size: 14px;
  }
}