* { box-sizing: border-box; }

:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f5f5;
  background: #0b0d10;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #0b0d10;
}

.sidebar {
  background: #111419;
  border-right: 1px solid #292d34;
  padding: 28px 18px;
  min-height: 100vh;
}

.brand {
  display: flex;
  flex-direction: column;
  padding: 0 10px 24px;
  gap: 4px;
}

.brand strong { font-size: 24px; }

.brand small,
.brand span,
.hero > small,
.card-header small,
.stats-card > small,
.section-label,
.unit-label {
  color: #9299a4;
  letter-spacing: .12em;
  font-size: 11px;
}

#clubs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#clubs button {
  border: 0;
  background: transparent;
  color: #c7cad0;
  text-align: left;
  padding: 11px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
}

#clubs button:hover,
#clubs button.active {
  background: #242932;
  color: #fff;
}

main {
  padding: 48px 52px;
  width: 100%;
  max-width: 1580px;
}

.hero { margin-bottom: 18px; }

h1 {
  font-size: 42px;
  margin: 8px 0;
}

h2 { margin: 4px 0 0; }

#meta { color: #9da3ad; }

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid transparent;
  background: transparent;
  color: #9299a4;
  padding: 10px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.tab:hover { color: #fff; }

.tab.active {
  color: #fff;
  background: #1a1f26;
  border-color: #2c323b;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.main-card,
.stats-card {
  background: #12161b;
  border: 1px solid #292e36;
  border-radius: 18px;
}

.main-card {
  padding: 26px;
  min-height: 560px;
}

.stats-card {
  padding: 24px;
  position: sticky;
  top: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.card-header b {
  font-size: 12px;
  color: #9da3ad;
  border: 1px solid #343942;
  border-radius: 99px;
  padding: 7px 10px;
  height: max-content;
}

.tab-view { display: none; }
.tab-view.active { display: block; }

.empty-state {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: #9da3ad;
}

.lineup-section { margin-bottom: 34px; }
.section-label { display: block; margin-bottom: 12px; }
.unit { margin-bottom: 16px; }
.unit-label { margin-bottom: 8px; }

.player-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.player-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.player-row.one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 380px;
}

.player-card {
  background: #191e25;
  border: 1px solid #2c323b;
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.player-name {
  font-weight: 700;
  font-size: 15px;
}

.player-number {
  font-size: 13px;
  color: #9da3ad;
  white-space: nowrap;
}

.player-meta {
  margin-top: 10px;
  color: #9da3ad;
  font-size: 12px;
  line-height: 1.55;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #4a515c;
  background: #242a32;
  border-radius: 5px;
  padding: 3px 7px;
  min-width: 30px;
  color: #f5f5f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.badge.al { border-color: #5d6570; }
.badge.u23,
.badge.u24 { border-color: #69727e; }

.stats-card h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
}

.stat-row span {
  color: #a6abb3;
  font-size: 13px;
}

.stat-row strong {
  font-size: 15px;
  white-space: nowrap;
}

.stats-divider {
  height: 1px;
  background: #2a3038;
  margin: 23px 0;
}

.roster-section {
  margin-bottom: 34px;
}

.roster-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #2b3139;
  border-radius: 12px;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  background: #171b21;
}

.roster-table th,
.roster-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid #292f37;
  font-size: 12px;
  white-space: nowrap;
}

.roster-table th {
  background: #1d2229;
  color: #9fa5ae;
  font-weight: 700;
  letter-spacing: .03em;
}

.roster-table tbody tr:last-child td {
  border-bottom: 0;
}

.roster-table td.player-cell {
  color: #fff;
  font-weight: 700;
}

.table-badges {
  display: flex;
  gap: 4px;
}

.muted { color: #8f96a0; }

@media (max-width: 1100px) {
  .workspace { grid-template-columns: 1fr; }
  .stats-card { position: static; }
}

@media (max-width: 800px) {
  body { grid-template-columns: 1fr; }
  .sidebar { min-height: auto; }
  main { padding: 28px 20px; }

  .player-row,
  .player-row.two {
    grid-template-columns: 1fr;
  }
}

.player-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.player-footer .player-meta { margin-top: 0; }
.player-footer .badges { margin-top: 0; flex-shrink: 0; }


.player-card-button {
  width: 100%;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.player-card-button:hover {
  border-color: #444c58;
  background: #1d232b;
}

.player-card-button:focus-visible,
.player-link:focus-visible,
.modal-close:focus-visible,
.secondary-button:focus-visible,
.primary-button:focus-visible,
.edit-field input:focus-visible,
.edit-field textarea:focus-visible {
  outline: 2px solid #7d8795;
  outline-offset: 2px;
}

.player-link {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.player-link:hover { text-decoration: underline; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.player-modal {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background: #12161b;
  border: 1px solid #343b45;
  border-radius: 18px;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #343b45;
  border-radius: 10px;
  background: #191e25;
  color: #d7dbe0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-player-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-right: 48px;
}

.modal-player-header h2 {
  margin: 5px 0 4px;
  font-size: 28px;
}

.modal-player-header p {
  margin: 0;
  color: #9ca3ad;
  font-size: 13px;
}

.modal-player-header .badges { margin-top: 4px; }

.modal-kicker,
.popup-section-label {
  display: block;
  color: #9299a4;
  letter-spacing: .12em;
  font-size: 11px;
}

.player-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.detail-item {
  border: 1px solid #2d333c;
  background: #181d23;
  border-radius: 11px;
  padding: 12px;
}

.detail-item span {
  display: block;
  color: #9097a1;
  font-size: 10px;
  margin-bottom: 5px;
}

.detail-item strong { font-size: 13px; }

.player-popup-section { margin-top: 28px; }

.notes-box {
  min-height: 78px;
  margin-top: 9px;
  padding: 14px;
  border: 1px solid #2d333c;
  background: #181d23;
  border-radius: 11px;
  color: #d6d9de;
  font-size: 13px;
  line-height: 1.6;
}

.notes-box p { margin: 0; }

.statistics-placeholder {
  min-height: 120px;
  margin-top: 9px;
  border: 1px dashed #3a414b;
  border-radius: 11px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 5px;
  color: #8e959f;
  background: #151a20;
}

.statistics-placeholder strong {
  color: #d9dce0;
  font-size: 14px;
}

.statistics-placeholder span { font-size: 12px; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 26px;
}

.secondary-button,
.primary-button {
  min-height: 40px;
  border-radius: 9px;
  padding: 9px 15px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.secondary-button {
  border: 1px solid #3a414b;
  background: #191e25;
  color: #e4e6e9;
}

.primary-button {
  border: 1px solid #596270;
  background: #e3e6ea;
  color: #111419;
}

.edit-field {
  display: block;
  margin-top: 22px;
}

.edit-field > span {
  display: block;
  color: #9da3ad;
  font-size: 12px;
  margin-bottom: 7px;
}

.edit-field input,
.edit-field textarea {
  width: 100%;
  border: 1px solid #343b45;
  border-radius: 10px;
  background: #181d23;
  color: #f5f5f5;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
}

.edit-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-message {
  min-height: 20px;
  margin-top: 12px;
  color: #a6acb5;
  font-size: 12px;
}

@media (max-width: 720px) {
  .modal { padding: 12px; }
  .player-modal {
    padding: 22px 18px;
    max-height: calc(100vh - 24px);
  }
  .player-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-player-header { flex-direction: column; }
}


/* v0.5 – feste Lineup-Struktur */
.empty-lineup-slot { border-style:dashed; background:#15191e; color:#626a75; align-items:center; justify-content:center; text-align:center; cursor:default; }
.empty-lineup-slot span { margin:auto; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.extra-forwards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.extra-defense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.goalie-extra { margin-top:16px; }
.edit-field select { appearance:auto; }


/* =========================================================
   Lineup Editor / Drag & Drop
   ========================================================= */

.hidden {
  display: none !important;
}

.lineup-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-button {
  padding: 7px 11px;
  font-size: 12px;
}

.lineup-edit-toolbar {
  margin: -12px 0 24px;
  padding: 14px 16px;
  border: 1px solid #3a424d;
  border-radius: 12px;
  background: #171c22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lineup-edit-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lineup-edit-toolbar strong {
  font-size: 13px;
}

.lineup-edit-toolbar span {
  color: #9299a4;
  font-size: 12px;
}

.lineup-edit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.lineup-edit-message {
  margin-right: 4px;
  min-width: 120px;
  text-align: right;
}

.lineup-drop-zone {
  min-width: 0;
  min-height: 96px;
  border-radius: 12px;
  position: relative;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.lineup-drop-zone > .player-card {
  width: 100%;
  height: 100%;
}

.lineup-drop-zone.empty {
  border: 1px dashed #333a44;
  background: #14181d;
}

.empty-slot-label {
  min-height: 94px;
  display: grid;
  place-items: center;
  color: #626a75;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.lineup-editing .lineup-drop-zone {
  outline: 1px solid transparent;
}

.lineup-editing .lineup-drop-zone.empty {
  border-color: #515b68;
  background: #181d23;
}

.lineup-editing .lineup-drop-zone.empty .empty-slot-label::after {
  content: " · Drop";
}

.lineup-editing .lineup-player-card {
  cursor: grab;
  user-select: none;
}

.lineup-editing .lineup-player-card:active {
  cursor: grabbing;
}

.lineup-player-card.dragging {
  opacity: .45;
}

.lineup-drop-zone.drag-over {
  outline: 2px solid #8c97a5;
  outline-offset: 2px;
  background: #20262e;
  transform: translateY(-1px);
}

.lineup-editing .player-card-button:hover {
  transform: none;
}

.extra-zone-list {
  align-items: stretch;
}

.extra-drop-zone.empty {
  min-height: 96px;
}

.primary-button,
.secondary-button {
  border-radius: 9px;
  padding: 9px 13px;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  border: 1px solid #f5f5f5;
  background: #f5f5f5;
  color: #111419;
}

.secondary-button {
  border: 1px solid #3b424c;
  background: #1b2027;
  color: #f5f5f5;
}

.primary-button:hover,
.secondary-button:hover {
  filter: brightness(1.08);
}

.primary-button:disabled,
.secondary-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .lineup-edit-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .lineup-edit-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .lineup-edit-message {
    width: 100%;
    text-align: left;
  }
}

/* ===== Breakaway v0.6: App navigation + DEL player overview ===== */
.brand-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.app-nav-item {
  border: 0;
  background: transparent;
  color: #c7cad0;
  text-align: left;
  padding: 11px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.app-nav-item:hover,
.app-nav-item.active {
  background: #242932;
  color: #fff;
}

.sidebar-divider {
  height: 1px;
  background: #292d34;
  margin: 22px 8px 18px;
}

.sidebar-label {
  display: block;
  color: #737b86;
  letter-spacing: .12em;
  font-size: 10px;
  padding: 0 12px 9px;
}

.start-hero {
  margin-bottom: 30px;
}

.start-hero p,
#players-page .hero p,
#scouting-page .hero p,
#rumors-page .hero p {
  color: #9da3ad;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
}

.home-card {
  min-height: 220px;
  border: 1px solid #292e36;
  border-radius: 18px;
  background: #12161b;
  color: #f5f5f5;
  padding: 26px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.home-card:hover {
  transform: translateY(-2px);
  border-color: #444c58;
  background: #161b21;
}

.home-card small {
  color: #737b86;
  letter-spacing: .12em;
  font-size: 11px;
}

.home-card h2 {
  margin-top: 18px;
  font-size: 24px;
}

.home-card p {
  color: #9da3ad;
  line-height: 1.55;
  margin: 10px 0 24px;
  max-width: 460px;
}

.home-card span {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
}

.league-player-card,
.placeholder-card {
  background: #12161b;
  border: 1px solid #292e36;
  border-radius: 18px;
  padding: 26px;
}

.league-player-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.league-player-header small,
.placeholder-card > small {
  color: #9299a4;
  letter-spacing: .12em;
  font-size: 11px;
}

.league-player-header > strong {
  font-size: 13px;
  color: #c8ccd2;
  border: 1px solid #343942;
  border-radius: 999px;
  padding: 7px 11px;
}

.player-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(150px, .7fr) minmax(130px, .55fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid #292e36;
  border-radius: 14px;
  background: #0f1317;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-field > span {
  color: #9299a4;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #343b45;
  border-radius: 9px;
  background: #181d23;
  color: #f5f5f5;
  padding: 10px 11px;
  font: inherit;
  font-size: 14px;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid #5c6674;
  outline-offset: 1px;
}

.filter-reset-button {
  min-height: 42px;
  white-space: nowrap;
}

.league-player-table {
  min-width: 1100px;
}

.clickable-player-row {
  cursor: pointer;
}

.clickable-player-row:hover td {
  background: #1a2027;
}

.placeholder-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.placeholder-card h2 {
  margin-top: 10px;
  font-size: 28px;
}

.placeholder-card p {
  max-width: 650px;
  color: #9da3ad;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .player-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .player-filters {
    grid-template-columns: 1fr;
  }

  .league-player-header {
    flex-direction: column;
  }
}

/* Team season selector */
.team-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.team-season-control {
  min-width: 150px;
  display: grid;
  gap: 7px;
}

.team-season-control > span {
  color: #8e959f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-season-control select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #343b45;
  border-radius: 10px;
  background: #181d23;
  color: #f5f5f5;
  padding: 9px 34px 9px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.team-season-control select:focus {
  outline: 2px solid rgba(255,255,255,.14);
  outline-offset: 1px;
}

@media (max-width: 720px) {
  .team-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .team-season-control {
    width: 100%;
  }
}

/* v1 auth + user management */
.sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar-user {
  margin-top: auto;
  padding: 18px 14px 8px;
  border-top: 1px solid var(--line, #29313a);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.sidebar-user small {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .65;
  margin-bottom: 4px;
}

.sidebar-user strong {
  display: block;
  font-size: 13px;
}

.sidebar-logout {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .7;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.sidebar-logout:hover { opacity: 1; }

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr);
  gap: 20px;
}

.account-card {
  background: var(--card, #11171d);
  border: 1px solid var(--line, #29313a);
  border-radius: 18px;
  padding: 26px;
}

.account-card > small,
.account-form label span {
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  opacity: .7;
}

.account-form-panel {
  border: 1px solid var(--line, #29313a);
  border-radius: 14px;
  padding: 18px;
  margin: 0 0 18px;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 7px;
}

.account-form input,
.login-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line, #34404b);
  background: #0d1217;
  color: #fff;
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
}

.account-form input:focus,
.login-form input:focus {
  outline: 2px solid rgba(255,255,255,.14);
  outline-offset: 1px;
}

.account-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 38px;
}

.form-message,
.login-message {
  font-size: 12px;
  opacity: .8;
}

.users-list {
  display: grid;
  border-top: 1px solid var(--line, #29313a);
}

.user-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #29313a);
}

.user-title {
  font-weight: 700;
  margin-bottom: 5px;
}

.user-meta {
  font-size: 12px;
  opacity: .68;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.user-status,
.you-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line, #34404b);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.user-status.inactive { opacity: .5; }
.you-badge { margin-left: 6px; opacity: .7; }


.login-body {
  min-height: 100vh;
  margin: 0;
  background: #090d11;
  color: #f7f9fb;

  display: block;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  box-sizing: border-box;
}

.login-card {
  width: min(430px, 100%);
  background: #11171d;
  border: 1px solid #29313a;
  border-radius: 20px;
  padding: 32px;
  box-sizing: border-box;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}

.login-brand {
  display: grid;
  margin-bottom: 44px;
}

.login-brand small,
.login-copy small {
  font-size: 10px;
  letter-spacing: .15em;
  opacity: .65;
}

.login-brand strong {
  font-size: 30px;
  line-height: 1.1;
  margin: 4px 0;
}

.login-brand span { font-size: 12px; opacity: .65; }
.login-copy h1 { margin: 5px 0 8px; font-size: 28px; }
.login-copy p { margin: 0 0 24px; opacity: .68; }

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 7px;
}

.login-form label span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}

.login-message {
  min-height: 18px;
}

.login-submit { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .user-row { align-items: flex-start; flex-direction: column; }
  .user-actions { width: 100%; justify-content: space-between; }
}

