:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-deep: #030305;
  --surface: #101016;
  --surface-2: #17171f;
  --surface-3: #1d1d28;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.15);
  --gold: #d4aa48;
  --gold-bright: #f1cf7b;
  --gold-soft: rgba(212, 170, 72, 0.14);
  --wine: #741b36;
  --wine-soft: rgba(116, 27, 54, 0.23);
  --text: #f7f5f2;
  --muted: #aaa7b2;
  --muted-2: #777582;
  --success: #49c982;
  --success-soft: rgba(73, 201, 130, 0.12);
  --danger: #ff617c;
  --danger-soft: rgba(255, 97, 124, 0.12);
  --info: #69aef8;
  --warning: #e7b34e;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-small: 0 12px 30px rgba(0, 0, 0, 0.28);
  --transition: 160ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 18px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% -10%, rgba(116, 27, 54, 0.38), transparent 38%),
    radial-gradient(circle at 88% 0%, rgba(212, 170, 72, 0.12), transparent 28%),
    linear-gradient(180deg, #0b0a10 0%, #050507 62%, #030305 100%);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.page {
  width: min(1440px, 100%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 10px;
  z-index: 700;
  margin-bottom: 14px;
}

.topbar {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(12, 12, 17, 0.88);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.brand-logo {
  width: 104px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text-title {
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text-sub {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.015em;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.utility-wrapper {
  position: relative;
}

.utility-trigger,
.logout-btn,
.btn-tertiary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.utility-trigger,
.logout-btn {
  padding: 8px 13px;
}

.utility-trigger:hover,
.logout-btn:hover,
.btn-tertiary:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
  color: var(--text);
  transform: translateY(-1px);
}

.chevron {
  font-size: 10px;
  transition: transform var(--transition);
}

.utility-wrapper.open .chevron {
  transform: rotate(180deg);
}

.utility-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  display: none;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(18, 18, 25, 0.98);
  box-shadow: var(--shadow-small);
}

.utility-wrapper.open .utility-menu {
  display: block;
}

.utility-item {
  padding: 10px 11px;
  border-radius: 9px;
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  transition: background var(--transition);
}

.utility-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.logout-icon {
  font-size: 14px;
  line-height: 1;
}

.card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(10, 10, 14, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.layout {
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(330px, 1fr) minmax(330px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.layout > section,
.panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(25, 25, 34, 0.96), rgba(13, 13, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.layout > section {
  padding: 20px;
}

.panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.section-title,
.result-title,
.search-block-label {
  color: var(--text);
  font-weight: 700;
}

.section-title {
  margin-bottom: 5px;
  font-size: 17px;
}

.section-subtitle {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #c8c5cd;
  font-size: 12px;
  font-weight: 600;
}

.field-help {
  margin-top: -2px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.4;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  background: rgba(8, 8, 12, 0.72);
  color: var(--text);
  font-size: 13px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

select {
  cursor: pointer;
}

input::placeholder {
  color: #6e6b76;
}

input:hover,
select:hover {
  border-color: var(--border-strong);
}

input:focus,
select:focus {
  border-color: rgba(212, 170, 72, 0.8);
  background: rgba(15, 15, 21, 0.96);
  box-shadow: 0 0 0 3px rgba(212, 170, 72, 0.10);
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 3px;
}

.actions-left {
  margin-right: auto;
}

.btn-primary {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 227, 160, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #b98527 0%, #e4bd61 55%, #f0d689 100%);
  box-shadow: 0 10px 24px rgba(212, 170, 72, 0.18);
  color: #1b1407;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(212, 170, 72, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.btn-tertiary {
  padding: 8px 13px;
}

.messages {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.alert {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius-md);
  background: rgba(7, 7, 11, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.alert-success {
  border-left-color: var(--success);
  background: var(--success-soft);
}

.alert-info {
  border-left-color: var(--info);
  background: rgba(105, 174, 248, 0.10);
}

.alert-error {
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.alert-warning {
  border-left-color: var(--warning);
  background: rgba(231, 179, 78, 0.10);
}

.alert-label {
  font-size: 11px;
  font-weight: 750;
}

.result-header {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.result-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

.result-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(73, 201, 130, 0.35);
  border-radius: 999px;
  background: var(--success-soft);
  color: #79dda7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sku-box {
  margin-top: 8px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(212, 170, 72, 0.30);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(116, 27, 54, 0.24), rgba(212, 170, 72, 0.08)),
    rgba(6, 6, 9, 0.78);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.sku-box-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sku-label {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-placeholder {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.btn-copy,
.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 20, 28, 0.9);
  color: var(--text);
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-copy {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 10px;
}

.btn-mini {
  min-height: 27px;
  padding: 4px 9px;
  font-size: 9px;
}

.btn-copy:hover,
.btn-mini:hover {
  border-color: rgba(212, 170, 72, 0.42);
  background: rgba(35, 35, 47, 0.98);
  transform: translateY(-1px);
}

.btn-mini-danger {
  border-color: rgba(255, 97, 124, 0.42);
  color: #ff8297;
}

.recent-block {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.recent-list,
.search-results {
  min-height: 330px;
  max-height: 590px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(5, 5, 8, 0.62);
  scrollbar-color: #45424d transparent;
  scrollbar-width: thin;
}

.recent-item,
.search-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background var(--transition);
}

.recent-item:last-child,
.search-item:last-child {
  border-bottom: 0;
}

.recent-item:hover,
.search-item:hover {
  background: rgba(212, 170, 72, 0.055);
}

.recent-sku-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-sku {
  min-width: 0;
  color: #f3e4be;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  overflow-wrap: anywhere;
}

.recent-meta {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.recent-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.recent-extra-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.recent-item:hover .recent-extra-actions,
.search-item:hover .recent-extra-actions,
.recent-item:focus-within .recent-extra-actions,
.search-item:focus-within .recent-extra-actions {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  min-height: 0;
}

.search-block {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
}

.search-block-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.search-input-wrapper {
  position: relative;
}

input.search-input {
  min-height: 43px;
  padding-right: 38px;
  border-radius: 999px;
  background: rgba(7, 7, 11, 0.92);
  color: var(--text);
}

input.search-input:focus {
  background: rgba(13, 13, 19, 0.98);
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 26px;
  height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  transform: translateY(-50%);
}

.search-clear:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.search-results {
  flex: 1 1 auto;
  margin-top: 1px;
}

.search-empty {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.suggestions {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  z-index: 650;
  max-height: 230px;
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #f7f5f1;
  box-shadow: var(--shadow-small);
  color: #19171b;
}

.suggestion-item {
  padding: 9px 10px;
  border-bottom: 1px solid #dedbd6;
  background: #f7f5f1;
  color: #19171b;
  font-size: 12px;
  cursor: pointer;
}

.suggestion-item:last-child {
  border-bottom: 0;
}

.suggestion-item:hover {
  background: #ebe7e1;
}

#copy-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 1200;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(73, 201, 130, 0.38);
  border-radius: 999px;
  background: rgba(10, 15, 12, 0.96);
  box-shadow: var(--shadow-small);
  color: var(--text);
  font-size: 12px;
  transform: translateX(-50%);
}

.btn-copy-icon {
  color: var(--success);
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.modal {
  width: min(420px, 100%);
  padding: 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: #111118;
  box-shadow: var(--shadow);
}

.modal-title {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 750;
}

.modal-body {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.modal-actions,
.bulk-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-danger-primary {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 135, 155, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #c53853, #ff7890);
  color: #21070c;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.modal-wide {
  width: min(1180px, 96vw);
  max-width: none;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text);
  background: var(--surface-3);
}

.bulk-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bulk-table-wrapper {
  max-height: 60vh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(5, 5, 8, 0.8);
}

.bulk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.bulk-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #191922;
}

.bulk-table th,
.bulk-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  white-space: nowrap;
}

.bulk-table th {
  color: var(--muted);
  font-weight: 700;
}

.bulk-row-error {
  background: rgba(255, 97, 124, 0.08);
}

.bulk-row-new {
  background: rgba(73, 201, 130, 0.055);
}

.bulk-row-existing {
  background: rgba(231, 179, 78, 0.07);
}

.bulk-status-badge {
  display: inline-flex;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.bulk-status-error {
  border-color: rgba(255, 97, 124, 0.48);
  color: #ff8297;
}

.bulk-status-new {
  border-color: rgba(73, 201, 130, 0.45);
  color: #79dda7;
}

.bulk-status-existing {
  border-color: rgba(231, 179, 78, 0.46);
  color: #efca7c;
}

.bulk-note-errors,
.bulk-note-warning,
.bulk-note-ok {
  padding: 9px 11px;
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 1.45;
}

.bulk-note-errors {
  background: var(--danger-soft);
  color: #ff9bac;
}

.bulk-note-warning {
  background: rgba(231, 179, 78, 0.11);
  color: #efca7c;
}

.bulk-note-ok {
  background: var(--success-soft);
  color: #79dda7;
}

.bulk-actions form {
  display: block;
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: minmax(330px, 1fr) minmax(330px, 1fr);
  }

  .search-panel {
    grid-column: 1 / -1;
  }

  .search-results {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  body {
    padding: 10px;
  }

  header {
    position: static;
  }

  .topbar {
    min-height: 0;
    align-items: flex-start;
    padding: 10px;
  }

  .brand-logo {
    width: 84px;
    height: 46px;
  }

  .brand-text-title {
    font-size: 13px;
  }

  .brand-text-sub {
    font-size: 10px;
  }

  .logout-btn span:last-child {
    display: none;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .search-panel {
    grid-column: auto;
  }

  .card {
    padding: 9px;
    border-radius: 20px;
  }

  .layout > section,
  .panel {
    padding: 16px;
    border-radius: 17px;
  }

  form {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .actions-left {
    margin-right: 0;
  }

  .actions .btn-primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .actions .btn-tertiary {
    width: 100%;
  }

  .recent-list,
  .search-results {
    min-height: 300px;
    max-height: 470px;
  }

  .recent-extra-actions {
    opacity: 1;
    pointer-events: auto;
  }

  .recent-meta-row {
    align-items: flex-end;
  }

  .modal-wide {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .brand-text {
    display: none;
  }

  .topnav {
    gap: 6px;
  }

  .utility-trigger,
  .logout-btn {
    min-height: 36px;
    padding: 7px 10px;
  }

  .utility-menu {
    right: -44px;
  }

  .sku-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .sku-box .btn-copy {
    align-self: stretch;
  }

  .recent-meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .recent-extra-actions {
    width: 100%;
  }

  .recent-extra-actions .btn-mini {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* LOGIN */
body.login-page {
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-shell {
  width: min(430px, 100%);
}

.login-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(212, 170, 72, 0.22);
  border-radius: 26px;
  background: rgba(14, 14, 20, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.login-card::before {
  position: absolute;
  top: -130px;
  right: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(116, 27, 54, 0.30);
  filter: blur(4px);
  content: "";
  pointer-events: none;
}

.login-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 27px;
}

.login-brand img {
  width: 144px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.login-brand-tag {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-title {
  position: relative;
  margin: 0 0 7px;
  font-size: 25px;
  line-height: 1.15;
}

.login-subtitle {
  position: relative;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.login-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-password-wrap {
  position: relative;
}

.login-password-wrap input {
  min-height: 48px;
  padding-right: 78px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 60px;
  min-height: 32px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.login-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 3px;
}

.login-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 460px) {
  .login-card {
    padding: 23px 20px;
    border-radius: 21px;
  }

  .login-brand img {
    width: 124px;
  }

  .login-title {
    font-size: 22px;
  }
}
