/* ========== MAINTENANCE SCREEN ========== */
/* Pages/maintenance/ — écran fullscreen bloquant */

#maintenanceScreen {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
}

.maintenance-panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary, #fff);
  box-sizing: border-box;
  color: var(--text-primary, #282828);
}

.maintenance-drag {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  -webkit-app-region: drag;
}

.maintenance-win-controls {
  position: absolute;
  top: 0;
  right: 0;
  height: 44px;
  display: flex;
  z-index: 2;
  -webkit-app-region: no-drag;
}

.maintenance-win-btn {
  width: 46px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text-primary, #282828);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maintenance-win-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .maintenance-win-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

#maintenanceCloseBtn:hover {
  background: #e81123 !important;
  color: #fff !important;
}

.maintenance-header {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(28px, 5vh, 44px) 24px 12px;
  -webkit-app-region: no-drag;
}

.maintenance-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 28px clamp(32px, 8vh, 64px);
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  -webkit-app-region: no-drag;
}

.maintenance-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary, #7A7A7A);
}

.maintenance-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.maintenance-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary, #7A7A7A);
}
