/* Boîtier de la tablette (admin) : tranche, vitre, barre du haut */

.device {
  position: relative;
  width: min(1560px, 100%);
  padding: 22px 26px 30px;
  border-radius: 38px;
  background: linear-gradient(150deg, #2c2d31 0%, #17181b 45%, #0f1012 100%);
  box-shadow:
    inset 0 0 0 2px #3a3b40,
    inset 0 2px 1px rgba(255, 255, 255, 0.08),
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 0 160px rgba(227, 36, 43, 0.1);
}
/* boutons sur la tranche */
.device::before, .device::after {
  content: "";
  position: absolute;
  top: -4px;
  height: 5px;
  border-radius: 3px 3px 0 0;
  background: #2a2b2f;
}
.device::before { right: 120px; width: 70px; }
.device::after { right: 210px; width: 40px; }
.device__cam {
  position: absolute;
  top: 8px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3b4a63, #07090c 70%);
  box-shadow: 0 0 0 2px #0c0d0f;
}
.device__home {
  position: absolute;
  bottom: 11px; left: 50%;
  width: 120px; height: 5px;
  margin-left: -60px;
  border-radius: 3px;
  background: #34353a;
}

.tablet {
  position: relative;
  height: min(960px, calc(100vh - 4vw - 52px));
  min-height: 660px;
  background: var(--bg);
  border-radius: 18px;
  box-shadow: 0 0 0 1px #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* reflet sur la vitre */
.tablet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 32%);
  z-index: 5;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.brand { display: flex; align-items: center; gap: 10px; }

.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }

.statusbar__right { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.875rem; }
.session::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
  vertical-align: 1px;
}
.clock { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 700; }
.net { font-family: var(--head); font-weight: 700; letter-spacing: 0.04em; color: var(--text); }
.date { text-transform: capitalize; }
.sys { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.sys__fill { fill: var(--muted); stroke: none; }

.shell { flex: 1; display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 0; }
