/* The computer monitor (square to 4:3, sized in sky-cloud.css): beige bezel, glass area, and the
   bottom edge that carries the model label (left) and the status LED (right).
   docs/ui-spec.md § Visuals: Monitor. */
.monitor {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--bezel-bottom);
  padding: var(--bezel-side) var(--bezel-side) 0;
  border-radius: var(--bezel-radius);
  background: linear-gradient(to bottom, var(--bezel-light) 0%, var(--bezel) 45%, var(--bezel-dark) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 0 1px var(--bezel-edge),
    0 6px 0 var(--bezel-edge),
    0 14px 18px rgba(20, 50, 80, 0.28);
}

/* The glass area inside the bezel: sunk in, with the terminal or the login form on it. */
.glass {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--glass-radius);
  background:
    radial-gradient(ellipse at 50% 45%, var(--glass-glow) 0%, var(--glass) 62%, #050705 100%);
  box-shadow:
    inset 0 0 36px rgba(0, 0, 0, 0.85),
    0 0 0 3px rgba(60, 52, 36, 0.55),
    0 2px 0 3px rgba(255, 255, 255, 0.55);
}

/* Bottom edge of the bezel: inside the screen housing, outside the glass, not on the cloud. */
.monitor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 0 8px;
}

/* Embossed model label: light edge below, shade above, as if stamped into the plastic. */
.model-label {
  overflow: hidden;
  color: var(--bezel-emboss-text);
  font: 700 11px/1 var(--font-ui);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 -1px 0 rgba(0, 0, 0, 0.14);
  white-space: nowrap;
  text-overflow: ellipsis;
  user-select: none;
}

.model-label small {
  margin-left: 0.8em;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

@media (max-width: 480px) {
  .model-label small {
    display: none;
  }
}
