:root {
  --wetty-background: #111827;
}

body {
  background: radial-gradient(circle at top, #1f2937, #0b1120 60%);
  min-height: 100vh;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

.navbar {
  background-color: rgba(15, 23, 42, 0.9);
  margin-bottom: 0 !important;
}

.card {
  background-color: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.terminal-main {
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.terminal-surface {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

.terminal-frame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  border: none;
  background-color: var(--wetty-background);
  padding-left: 2px;
  box-shadow: 2px 2px 0 #000 inset
}

.flash-container {
  position: sticky;
  top: 1rem;
  z-index: 1040;
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #e2e8f0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.6);
  outline-offset: 2px;
  border-radius: 999px;
}

.password-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}
