/* Boot menu */
.bootmenu-screen {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  color: #ccc;
  font-family: "Segoe UI", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.bootmenu-title {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bootmenu-list {
  list-style: none;
  width: min(520px, 92vw);
}

.bootmenu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid #333;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
}

.bootmenu-item:hover, .bootmenu-item.selected {
  background: rgba(0, 120, 212, 0.15);
  border-color: #0078d4;
  color: #fff;
}

.bootmenu-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bootmenu-icon.win { background: #0078d4; }
.bootmenu-icon.mac { background: linear-gradient(135deg, #555, #aaa); color: #fff; font-size: 1.3rem; }
.bootmenu-icon.rhel { background: #ee0000; color: #fff; font-weight: 700; font-size: 0.75rem; }

.bootmenu-text strong { display: block; font-size: 0.95rem; color: #fff; }
.bootmenu-text small { font-size: 0.78rem; color: #888; }

.bootmenu-hint { margin-top: 1.5rem; font-size: 0.8rem; color: #666; }

/* Generic OS setup shell */
.os-setup-root { width: 100%; height: 100%; }

.os-setup-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  z-index: 2;
}

.os-setup-nav.nav-hidden { display: none; }

.os-setup-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem 5rem;
  overflow-y: auto;
  z-index: 1;
}

/* ═══ macOS ═══ */
.macos-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #2a2a2e 0%, #1a1a1c 50%, #0d0d0f 100%);
  position: relative;
  font-family: -apple-system, "SF Pro Display", "Helvetica Neue", sans-serif;
  color: #fff;
}

.macos-step { width: 100%; display: flex; justify-content: center; }

.macos-window {
  width: min(480px, 92vw);
  background: #ececec;
  color: #1d1d1f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.macos-window.wide { width: min(720px, 95vw); }

.macos-titlebar {
  background: linear-gradient(180deg, #e8e8e8, #d0d0d0);
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #bbb;
}

.macos-traffic { display: flex; gap: 6px; align-items: center; }
.macos-traffic i {
  width: 12px; height: 12px; border-radius: 50%; display: block;
}
.macos-traffic i.red { background: #ff5f57; }
.macos-traffic i.yellow { background: #febc2e; }
.macos-traffic i.green { background: #28c840; }

.macos-window-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f0f0f0, #e4e4e4);
  border-top: 1px solid #c8c8c8;
}

.macos-window-footer .macos-btn { min-width: 88px; }

.macos-body { padding: 1.5rem; }
.macos-welcome, .macos-install-select { text-align: center; }

.macos-apple { font-size: 3rem; margin-bottom: 0.5rem; color: #555; }
.macos-apple.large { font-size: 4rem; }

.macos-welcome h1, .macos-install-select h1 {
  font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem;
}

.macos-welcome p, .macos-install-select p {
  font-size: 0.88rem; color: #666; margin-bottom: 1.25rem;
}

.macos-field { text-align: left; margin-top: 1rem; }
.macos-field label { font-size: 0.8rem; color: #666; display: block; margin-bottom: 0.3rem; }

.macos-select, .macos-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}

.macos-input { margin-bottom: 0.65rem; }

.disk-utility { display: grid; grid-template-columns: 180px 1fr; padding: 0; min-height: 280px; }

.macos-disk-sidebar {
  background: #f5f5f7;
  border-right: 1px solid #ddd;
  padding: 0.75rem 0;
  font-size: 0.82rem;
}

.macos-sidebar-head {
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  color: #888;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.macos-disk-item, .macos-disk-sub {
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.macos-disk-sub { padding-left: 1.5rem; color: #555; }
.macos-disk-item:hover, .macos-disk-sub:hover { background: #e0e0e5; }
.macos-disk-item.selected, .macos-disk-sub.selected { background: #007aff; color: #fff; }

.macos-disk-main { padding: 1rem; }
.macos-disk-main h2 { font-size: 1rem; margin-bottom: 0.75rem; }

.macos-disk-table { width: 100%; font-size: 0.8rem; border-collapse: collapse; margin-bottom: 1rem; }
.macos-disk-table th, .macos-disk-table td { padding: 0.35rem 0.5rem; border-bottom: 1px solid #eee; text-align: left; }
.macos-disk-table tr.selected { background: #e8f0fe; }

.macos-disk-actions { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }

.macos-btn {
  padding: 0.4rem 1rem;
  border: 1px solid #bbb;
  background: linear-gradient(180deg, #fff, #e8e8e8);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  color: #1d1d1f;
}

.macos-btn:hover:not(:disabled) { background: linear-gradient(180deg, #fff, #ddd); }
.macos-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.macos-btn.primary { background: #007aff; color: #fff; border-color: #006ee6; }
.macos-btn.primary:hover { background: #006ee6; }

.macos-hint { font-size: 0.78rem; color: #888; }
.macos-success { font-size: 0.82rem; color: #248a3d; font-weight: 600; }

.macos-install-list {
  list-style: none;
  text-align: left;
  font-size: 0.85rem;
  margin: 1rem 0;
  padding: 0.75rem;
  background: #f5f5f7;
  border-radius: 6px;
}

.macos-install-list li { padding: 0.25rem 0; }

.macos-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
}

.macos-setup-assistant {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1a1a2e, #0d0d0f);
}

.macos-sa-card {
  text-align: center;
  max-width: 420px;
  padding: 2rem;
}

.macos-sa-card h1 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.macos-sa-card p { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

.macos-progress-indeterminate {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.macos-progress-indeterminate::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: #007aff;
  animation: macos-indeterminate 1.2s ease infinite;
}

@keyframes macos-indeterminate {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.macos-install-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #1d1d1f;
  color: #fff;
}

.macos-install-apple { font-size: 4rem; margin-bottom: 2rem; opacity: 0.9; }

.macos-install-bar-wrap {
  width: min(320px, 80vw);
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
}

.macos-install-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.4s;
  border-radius: 3px;
}

.macos-install-status { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 1rem; }

/* macOS Desktop */
.macos-desktop {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}

.macos-menubar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 28px;
  background: rgba(30,30,30,0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.78rem;
  color: #fff;
  z-index: 10;
  gap: 0.75rem;
}

.macos-menu-apple { font-size: 1rem; }
.macos-menu-spacer { flex: 1; }
.macos-menu-clock { opacity: 0.9; }

.macos-wallpaper {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #2d1b4e 40%, #4a1942 100%);
}

.macos-dock {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 1.5rem;
  z-index: 10;
}

.macos-dicon {
  position: absolute;
  top: 2.5rem; right: 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.macos-dicon small { font-size: 0.65rem; margin-top: 0.25rem; }
.macos-toast { bottom: 4.5rem !important; }

/* ═══ RHEL / Anaconda ═══ */
.rhel-screen {
  width: 100%; height: 100%;
  background: #1e1e1e;
  color: #eee;
  font-family: "Red Hat Text", "Cantarell", "Segoe UI", sans-serif;
  position: relative;
}

.rhel-topbar-brand {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 48px;
  background: #2d2d2d;
  border-bottom: 1px solid #444;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  z-index: 2;
}

.rhel-topbar-brand strong { color: #ee0000; margin-right: 0.5rem; }

.rhel-step { width: 100%; max-width: 800px; margin: 0 auto; }

.rhel-welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}

.rhel-logo-block { text-align: center; margin-bottom: 2rem; }
.rhel-hat { font-size: 3rem; margin-bottom: 0.5rem; }
.rhel-logo-block h1 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.35rem; }
.rhel-logo-block p { color: #aaa; font-size: 0.9rem; }

.rhel-welcome-form {
  width: min(360px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rhel-welcome-form label { font-size: 0.82rem; color: #aaa; }

.rhel-select, .rhel-input {
  width: 100%;
  padding: 0.5rem;
  background: #2d2d2d;
  border: 1px solid #555;
  color: #eee;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
}

.rhel-panel {
  background: #2d2d2d;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.rhel-panel h2 { font-size: 1.25rem; font-weight: 400; margin-bottom: 0.35rem; }
.rhel-sub { font-size: 0.85rem; color: #aaa; margin-bottom: 1.25rem; }

.rhel-dest-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.rhel-disk-box {
  border: 2px solid #555;
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}

.rhel-disk-box strong { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
.rhel-disk-box span { font-size: 0.82rem; color: #aaa; }
.rhel-disk-box:hover { border-color: #888; }
.rhel-disk-box.selected { border-color: #ee0000; background: rgba(238,0,0,0.08); }

.rhel-radio, .rhel-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.rhel-dest-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }

.rhel-btn {
  padding: 0.45rem 1.1rem;
  background: #3d3d3d;
  border: 1px solid #666;
  color: #eee;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.rhel-btn:hover:not(:disabled) { background: #4d4d4d; }
.rhel-btn.primary { background: #ee0000; border-color: #cc0000; }
.rhel-btn.primary:hover { background: #cc0000; }
.rhel-btn:disabled, .rhel-btn.begin.disabled { opacity: 0.4; cursor: not-allowed; }

.rhel-btn.begin {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  background: #ee0000;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.rhel-btn.begin:not(.disabled):hover { background: #cc0000; }

.rhel-ok { color: #5cb85c; font-size: 0.85rem; margin-top: 0.75rem; }
.rhel-hint { color: #888; font-size: 0.82rem; margin-top: 0.75rem; }
.rhel-warn { color: #f0ad4e; font-size: 0.85rem; margin-top: 0.5rem; }

.rhel-soft-list { display: flex; flex-direction: column; gap: 0.35rem; }

.rhel-soft-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.rhel-soft-item input { display: none; }
.rhel-soft-item strong { font-size: 0.92rem; }
.rhel-soft-item span { font-size: 0.78rem; color: #aaa; margin-top: 0.15rem; }
.rhel-soft-item:hover { background: #353535; }
.rhel-soft-item.selected { border-color: #ee0000; background: rgba(238,0,0,0.1); }

.rhel-net-list { margin-bottom: 1rem; }

.rhel-net-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem;
  border-bottom: 1px solid #444;
  font-size: 0.85rem;
}

.rhel-net-item span:first-child { min-width: 60px; font-weight: 600; }
.rhel-net-item span:nth-child(2) { flex: 1; color: #aaa; }

.rhel-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: #444;
  color: #888;
}

.rhel-badge.on { background: #2d5a2d; color: #5cb85c; }

.rhel-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: #aaa;
}

.rhel-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.rhel-sum-item {
  padding: 0.65rem 0.85rem;
  background: #252525;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 0.82rem;
}

.rhel-sum-item strong { display: block; margin-bottom: 0.2rem; color: #ccc; }
.rhel-sum-item span { color: #888; }
.rhel-sum-item.ok { border-left: 3px solid #5cb85c; }
.rhel-sum-item.warn { border-left: 3px solid #f0ad4e; }

.rhel-install-screen {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  padding: 2rem;
}

.rhel-install-logo { font-size: 2rem; margin-bottom: 1rem; }
.rhel-install-logo strong { color: #ee0000; }

.rhel-install-log {
  width: min(480px, 90vw);
  height: 120px;
  overflow-y: auto;
  background: #111;
  border: 1px solid #444;
  padding: 0.75rem;
  font-family: "Cascadia Mono", monospace;
  font-size: 0.75rem;
  color: #5cb85c;
  margin-top: 1rem;
  text-align: left;
}

.rhel-install-bar-wrap {
  width: min(400px, 85vw);
  height: 8px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1.25rem;
}

.rhel-install-bar {
  height: 100%;
  width: 0%;
  background: #ee0000;
  transition: width 0.4s;
}

.rhel-firstboot {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #1e1e1e;
}

.rhel-firstboot .center { text-align: center; }

.rhel-eula {
  height: 160px;
  overflow-y: auto;
  background: #111;
  border: 1px solid #444;
  padding: 0.75rem;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.rhel-spin {
  width: 32px; height: 32px;
  border: 3px solid #444;
  border-top-color: #ee0000;
  border-radius: 50%;
  animation: rhel-spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes rhel-spin { to { transform: rotate(360deg); } }

/* RHEL Desktop (GNOME) */
.rhel-desktop {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}

.rhel-topbar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(30,30,30,0.95);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.82rem;
  color: #eee;
  z-index: 10;
  gap: 1rem;
}

.rhel-topbar-spacer { flex: 1; }

.rhel-wallpaper {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a472a 0%, #0d2818 50%, #1e3a5f 100%);
}

.rhel-dash {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1.5rem;
}

.rhel-app-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(8px);
}

.rhel-toast { bottom: 1rem !important; }

.os-nav-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.os-nav-btn.primary {
  background: rgba(255,255,255,0.9);
  color: #1a1a1a;
}

.os-nav-btn.ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.25);
}

.os-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.os-nav-btn.nav-hidden { display: none; }

.macos-screen .os-setup-nav .os-nav-btn.primary {
  background: #007aff;
  color: #fff;
  border-color: #006ee6;
}

.rhel-screen .os-setup-nav .os-nav-btn.primary {
  background: #ee0000;
  color: #fff;
  border-color: #cc0000;
}

.rhel-screen .os-setup-body { padding-top: 4rem; }

/* ── Mac Recovery: Power hold & Startup Options ── */
#scene-mac {
  background: #000;
}

#mac-root {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mac-post {
  text-align: center;
  color: rgba(255,255,255,0.85);
  padding: 2rem;
}

.mac-post-apple {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.mac-post-hint {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 420px;
  line-height: 1.5;
}

.mac-post-hint strong { color: #fff; }

.mac-post-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1.25rem;
}

.mac-post-sub kbd {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.mac-power-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.mac-power-btn:hover,
.mac-power-btn:active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

.mac-power-icon { font-size: 1.75rem; }

.mac-power-progress-wrap {
  width: min(280px, 80vw);
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 1.5rem auto 0;
  overflow: hidden;
}

.mac-power-progress {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.05s linear;
}

.mac-startup {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mac-startup-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(80,120,200,0.35), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(180,80,120,0.25), transparent 50%),
    linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 40%, #1c1428 100%);
}

.mac-startup-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 720px;
}

.mac-startup-apple { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.9; }

.mac-startup-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.mac-startup-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}

.mac-startup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.mac-startup-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.mac-startup-option:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.mac-startup-icon { font-size: 1.75rem; }

.mac-startup-label { line-height: 1.3; }

.mac-startup-disk {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.mac-startup-disk-label { display: block; margin-bottom: 0.25rem; }

.mac-startup-disk-hint {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,180,80,0.85);
}

.mac-startup-continue {
  padding: 0.55rem 2rem;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.mac-startup-continue.disabled,
.mac-startup-continue:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.mac-utility-full {
  width: 100%;
  padding: 1rem;
}

.macos-done-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #007aff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 0.25rem 0.5rem;
}

.macos-titlebar { position: relative; }

.macos-erase-sheet {
  margin-top: 1rem;
  padding: 1rem;
  background: #f5f5f7;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
}

.macos-erase-sheet h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }

.macos-erase-sheet label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.macos-erase-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.macos-empty-table {
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 1rem !important;
}

.macos-sidebar-empty {
  font-size: 0.75rem;
  color: #999;
  padding: 0.5rem 1rem;
  font-style: italic;
}

.macos-warn {
  color: #c93400;
  font-size: 0.82rem;
  margin: 0.75rem 0;
}

.safari-window .macos-safari-bar {
  background: #e8e8ed;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #d1d1d6;
}

.macos-safari-url {
  display: block;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: #555;
}

.macos-safari-body { padding: 1.5rem; min-height: 200px; }

.macos-safari-content h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.macos-restore { text-align: center; padding: 2rem 1rem; }

.macos-restore h2 { font-size: 1.1rem; margin: 0.75rem 0; }

.macos-restore .macos-apple { font-size: 2.5rem; }

.mac-hidden { display: none !important; }
