.dashboard-panel {
  padding-bottom: clamp(30px, 5vw, 44px);
}

.dashboard-login-form {
  width: min(760px, 100%);
  margin: 28px auto 0;
  text-align: left;
}

.dashboard-label {
  display: block;
  margin: 0 0 9px;
  color: #0a2e63;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.dashboard-login-row {
  min-height: 76px;
  padding: 10px 12px 10px 17px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1.5px solid #a9d2ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(14, 97, 162, .1);
}

.dashboard-login-row:focus-within {
  border-color: var(--orbit-blue);
  box-shadow: 0 0 0 3px rgba(14, 180, 228, .22), 0 10px 24px rgba(14, 97, 162, .15);
}

.dashboard-email-icon {
  color: var(--orbit-blue);
  font-size: 20px;
  text-align: center;
}

.dashboard-login-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0a2e63;
  font: 500 clamp(16px, 2vw, 19px)/1.2 "Roboto", sans-serif;
}

.dashboard-login-row input::placeholder { color: #7184a2; opacity: 1; }

.dashboard-login-row > button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--orbit-blue);
  box-shadow: 0 7px 18px rgba(13, 39, 160, .22);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-login-row > button:hover,
.dashboard-login-row > button:focus-visible { background: #061abf; }
.dashboard-login-row > button:focus-visible { outline: 3px solid var(--orbit-cyan); outline-offset: 2px; }

#dashboard-code-panel { margin-top: 20px; }
[data-dashboard-resend], [data-dashboard-link] {
  margin-top: 14px;
  padding: 11px 16px;
  border: 1px solid #2438c6;
  border-radius: 8px;
  background: transparent;
  color: #2438c6;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
[data-dashboard-link] { width: 100%; }
[data-dashboard-resend]:focus-visible, [data-dashboard-link]:focus-visible { outline: 3px solid var(--orbit-cyan); outline-offset: 2px; }
.dashboard-login-form button:disabled { opacity: .6; cursor: wait; }
.dashboard-login-status {
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #d8f2ff;
  color: #163d69;
  font-size: 14px;
  text-align: center;
}

.dashboard-divider {
  width: min(760px, 100%);
  margin: 30px auto 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: var(--orbit-blue);
}
.dashboard-divider span { height: 1px; background: #b9d9ed; }

.dashboard-install { width: min(760px, 100%); margin: 0 auto; }
.dashboard-install h2 {
  margin: 0;
  color: var(--orbit-blue);
  font: 700 clamp(25px, 4vw, 32px)/1.1 "Archivo", sans-serif;
  letter-spacing: -.025em;
}
.dashboard-install > p {
  margin: 9px 0 20px;
  color: #496484;
  font-size: 16px;
  line-height: 1.5;
}

.dashboard-device-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.dashboard-device-tab {
  min-height: 78px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1.5px solid #a9d2ee;
  border-radius: 16px;
  background: #fff;
  color: #0a2e63;
  font-family: "Roboto", sans-serif;
  text-align: left;
  cursor: pointer;
}

.dashboard-device-tab[aria-selected="true"] {
  border-color: #5065ff;
  background: #1b27f5;
  box-shadow: 0 8px 20px rgba(13, 39, 160, .24);
  color: #fff;
}
.dashboard-device-tab[aria-selected="true"] .support-action__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.dashboard-device-tab strong,
.dashboard-device-tab small { display: block; }
.dashboard-device-tab strong { font: 700 18px/1.15 "Archivo", sans-serif; }
.dashboard-device-tab small { margin-top: 4px; color: #567091; font-size: 13px; }
.dashboard-device-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.dashboard-device-tab:focus-visible { outline: 3px solid var(--orbit-cyan); outline-offset: 2px; }

.dashboard-device-panel {
  margin-top: 13px;
  padding: 20px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid #c8e3f4;
  border-radius: 16px;
  background: #fff;
  text-align: left;
}
.dashboard-device-panel[hidden] { display: none; }
.dashboard-device-panel__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #d8f2ff;
  color: var(--orbit-blue);
  font-size: 22px;
}
.dashboard-device-panel h3 { margin: 0; color: #0a2e63; font: 700 18px/1.2 "Archivo", sans-serif; }
.dashboard-device-panel p { margin: 6px 0 0; color: #567091; font-size: 14px; line-height: 1.45; }
.dashboard-install-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #c4d8e8;
  border-radius: 10px;
  background: #edf4f9;
  color: #667b96;
  font: 700 13px/1.2 "Archivo", sans-serif;
}

@media (max-width: 700px) {
  .dashboard-login-row { grid-template-columns: 24px minmax(0, 1fr); padding: 13px 14px; }
  .dashboard-login-row > button { grid-column: 1 / -1; width: 100%; }
  .dashboard-device-tabs { grid-template-columns: 1fr; }
  .dashboard-device-panel { grid-template-columns: 46px minmax(0, 1fr); padding: 16px; }
  .dashboard-device-panel__icon { width: 46px; height: 46px; }
  .dashboard-install-button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-login-row,
  .dashboard-device-tab { scroll-behavior: auto; }
}
