/* =========================================================
   RESET BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f5f8ff;
  background: #060b14;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}


/* =========================================================
   VARIABILI
========================================================= */

:root {
  --bg: #060b14;
  --bg-soft: #0b1220;
  --panel: rgba(10, 18, 32, 0.86);
  --panel-strong: rgba(13, 24, 42, 0.96);
  --panel-border: rgba(96, 178, 255, 0.16);

  --text: #f6f9ff;
  --text-soft: #9eadc2;
  --text-muted: #708098;

  --blue: #53a9ff;
  --blue-strong: #1f8dff;
  --cyan: #5fe4ff;
  --green: #4fe5a2;
  --orange: #ffad5d;
  --red: #ff6675;

  --shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.015);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1440px;
}


/* =========================================================
   SFONDO
========================================================= */

.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -20%, rgba(28, 110, 220, 0.22), transparent 42%),
    linear-gradient(180deg, #08101c 0%, #050911 60%, #04070d 100%);
}

.background-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
}

.background-glow-one {
  width: 420px;
  height: 420px;
  top: 10%;
  left: -120px;
  background: #0f76ff;
}

.background-glow-two {
  width: 540px;
  height: 540px;
  right: -180px;
  bottom: 0;
  background: #00bfe8;
}

.background-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--container));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-bike {
  color: #ffffff;
}

.brand-id {
  color: var(--cyan);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-navigation a {
  color: #a9b7ca;
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.main-navigation a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(79, 229, 162, 0.22);
  border-radius: 999px;
  color: #c8fbe5;
  background: rgba(79, 229, 162, 0.07);
  font-size: 0.79rem;
  font-weight: 750;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px rgba(79, 229, 162, 0.9);
}


/* =========================================================
   LAYOUT PRINCIPALE
========================================================= */

.manage-page {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.page-heading {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow,
.section-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.page-heading h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-heading > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.75;
}

.security-message {
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(79, 229, 162, 0.16);
  border-radius: 999px;
  color: #c9f7e6;
  background: rgba(79, 229, 162, 0.055);
  font-size: 0.88rem;
}

.security-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06120d;
  background: var(--green);
  font-weight: 900;
}


/* =========================================================
   CARD BIKEID SELEZIONATO
========================================================= */

.selected-bike-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  margin-bottom: 36px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(18, 31, 52, 0.96), rgba(8, 15, 27, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.selected-bike-image {
  position: relative;
  min-height: 190px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(67, 157, 255, 0.18), transparent 60%),
    #07101d;
}

.selected-bike-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(117, 202, 255, 0.12);
  border-radius: inherit;
  pointer-events: none;
}

.selected-bike-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(95, 228, 255, 0.25);
  border-radius: 999px;
  color: #dffaff;
  background: rgba(4, 11, 20, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.selected-bike-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.selected-bike-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.selected-bike-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

.token-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.token-status-active {
  color: #c9ffe8;
  border: 1px solid rgba(79, 229, 162, 0.18);
  background: rgba(79, 229, 162, 0.07);
}

.token-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(79, 229, 162, 0.75);
}

.bike-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.bike-data-item,
.wallet-information {
  min-width: 0;
}

.bike-data-item {
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.bike-data-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.bike-data-item strong,
.wallet-information strong {
  color: #f7fbff;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.owner-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(95, 228, 255, 0.09);
  border-radius: 15px;
  background: rgba(95, 228, 255, 0.025);
}

.verified-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #cffff0;
  background: rgba(79, 229, 162, 0.08);
  font-size: 0.75rem;
  font-weight: 750;
}


/* =========================================================
   AREA OPERAZIONI
========================================================= */

.operations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.operations-heading {
  margin: 0 0 18px;
}

.operations-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
}

.operations-column {
  min-width: 0;
}

.operation-card {
  position: relative;
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(13, 23, 40, 0.95), rgba(7, 13, 24, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.operation-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  opacity: 0.9;
}

.transfer-card::before {
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.stolen-card::before {
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.burn-card::before {
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.operation-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.operation-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 16px;

  font-size: 1.45rem;
  font-weight: 900;

  color: #ffffff;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ==========================================
   TRANSFER
========================================== */

.transfer-icon {
  color: #ffffff;

  background: linear-gradient(
    135deg,
    #1f87ff 0%,
    #42b6ff 100%
  );
}


/* ==========================================
   STOLEN
========================================== */

.stolen-icon {
  color: #1a0d00;

  background: linear-gradient(
    135deg,
    #ff9d43 0%,
    #ffc874 100%
  );
}


/* ==========================================
   BURN
========================================== */

.burn-icon {
  color: #ffffff;

  background: linear-gradient(
    135deg,
    #df4153 0%,
    #ff6b7a 100%
  );
}

.operation-number {
  display: inline-block;
  margin-bottom: 5px;
  color: #61738b;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.operation-title-area h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.operation-title-area p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.62;
  font-size: 0.92rem;
}

.operation-price {
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  text-align: right;
  background: rgba(255, 255, 255, 0.025);
}

.operation-price span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.operation-price strong {
  font-size: 1.1rem;
}

.operation-fields {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.operation-fields-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  min-width: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #d8e1ee;
  font-size: 0.8rem;
  font-weight: 750;
}

input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  outline: none;
  color: #f6fbff;
  background: rgba(3, 8, 15, 0.62);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

input::placeholder {
  color: #53647a;
}

input:focus {
  border-color: rgba(83, 169, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(83, 169, 255, 0.08);
  background: rgba(5, 12, 23, 0.9);
}

input[readonly] {
  color: #aab8ca;
  cursor: default;
}

.input-with-badge {
  position: relative;
}

.input-with-badge input {
  padding-right: 112px;
}

.input-badge {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 6px 9px;
  border-radius: 999px;
  color: #cbf9e5;
  background: rgba(79, 229, 162, 0.08);
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.official-badge {
  color: #dcf7ff;
  background: rgba(95, 228, 255, 0.09);
}

.irreversible-badge {
  color: #ffe4e7;
  background: rgba(255, 102, 117, 0.09);
}

.wallet-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.wallet-input-wrapper {
  position: relative;
}

.wallet-input-wrapper input {
  padding-right: 86px;
}

.input-action-button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  color: #bcdcff;
  background: rgba(83, 169, 255, 0.11);
  font-size: 0.76rem;
  font-weight: 750;
}

.qr-button {
  height: 50px;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(95, 228, 255, 0.16);
  border-radius: 13px;
  color: #d7faff;
  background: rgba(95, 228, 255, 0.06);
  font-weight: 750;
}

.qr-button:hover,
.input-action-button:hover {
  filter: brightness(1.12);
}

.qr-symbol {
  font-size: 1.12rem;
}

.field-help,
.field-error {
  margin: 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.field-help {
  color: var(--text-muted);
}

.field-error {
  color: #ff9aa6;
}

.operation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.operation-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #9fb0c5;
  font-size: 0.78rem;
  line-height: 1.5;
}

.operation-note > span {
  color: var(--blue);
  font-size: 0.9rem;
}

.operation-note p {
  margin: 0;
}

.warning-note > span {
  color: var(--orange);
}

.danger-note > span {
  color: var(--red);
}

.operation-button {
  flex: 0 0 auto;
  min-width: 240px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    opacity 0.2s ease;
}

.operation-button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.operation-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.transfer-button {
  background: linear-gradient(135deg, #1f87ff, #3fb8ff);
  box-shadow: 0 12px 30px rgba(31, 141, 255, 0.22);
}

.stolen-button {
  color: #1b0e00;
  background: linear-gradient(135deg, #ff9d43, #ffc06f);
  box-shadow: 0 12px 30px rgba(255, 157, 67, 0.18);
}

.burn-button {
  background: linear-gradient(135deg, #df4153, #ff6675);
  box-shadow: 0 12px 30px rgba(255, 102, 117, 0.18);
}


/* =========================================================
   SIDEBAR
========================================================= */

.security-column {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(13, 23, 40, 0.94), rgba(7, 13, 24, 0.93));
  box-shadow: var(--shadow);
}

.side-card h2 {
  margin: 8px 0 14px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.side-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 0.84rem;
}

.side-card p + p {
  margin-top: 12px;
}

.summary-list {
  margin: 0;
}

.summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.summary-list > div:last-child {
  border-bottom: 0;
}

.summary-list dt {
  color: var(--text-muted);
  font-size: 0.77rem;
}

.summary-list dd {
  margin: 0;
  color: #e8f1fc;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 750;
}

.summary-active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #bff9dd !important;
}

.summary-active span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.side-card-icon,
.private-key-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(83, 169, 255, 0.18);
  border-radius: 14px;
  color: #dceeff;
  background: rgba(83, 169, 255, 0.08);
}

.authorization-flow {
  position: relative;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.authorization-flow::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 17px;
  bottom: 17px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(83, 169, 255, 0.4),
    rgba(95, 228, 255, 0.1)
  );
}

.authorization-flow li {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.authorization-flow li > span {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(83, 169, 255, 0.18);
  border-radius: 50%;
  color: #dff0ff;
  background: #0a1524;
  font-size: 0.73rem;
  font-weight: 850;
}

.authorization-flow strong,
.authorization-flow small {
  display: block;
}

.authorization-flow strong {
  color: #eef6ff;
  font-size: 0.8rem;
}

.authorization-flow small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.69rem;
}

.private-key-card {
  border-color: rgba(79, 229, 162, 0.12);
}

.private-key-icon {
  border-color: rgba(79, 229, 162, 0.14);
  background: rgba(79, 229, 162, 0.07);
}

.simplified-card {
  border-color: rgba(95, 228, 255, 0.11);
}


/* =========================================================
   MODALI
========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 10, 0.78);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(93, 179, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(16, 28, 47, 0.99), rgba(7, 13, 23, 0.99));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.modal-dialog h2 {
  margin: 9px 0 10px;
  font-size: 1.5rem;
}

.modal-dialog > p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  color: #d8e3ef;
  background: rgba(255, 255, 255, 0.035);
  font-size: 1.2rem;
}

.qr-reader-placeholder {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  margin: 22px 0;
  padding: 30px;
  border: 1px dashed rgba(95, 228, 255, 0.25);
  border-radius: 18px;
  color: #71859e;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(95, 228, 255, 0.08), transparent 65%),
    rgba(2, 8, 15, 0.58);
}

.qr-frame-corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--cyan);
  border-style: solid;
}

.corner-top-left {
  top: 22px;
  left: 22px;
  border-width: 2px 0 0 2px;
}

.corner-top-right {
  top: 22px;
  right: 22px;
  border-width: 2px 2px 0 0;
}

.corner-bottom-left {
  bottom: 22px;
  left: 22px;
  border-width: 0 0 2px 2px;
}

.corner-bottom-right {
  right: 22px;
  bottom: 22px;
  border-width: 0 2px 2px 0;
}

.confirmation-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 16px;
  color: #06120d;
  background: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
}

.confirmation-details {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.secondary-button,
.primary-button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 800;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #d8e3ef;
  background: rgba(255, 255, 255, 0.035);
}

.primary-button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #1f87ff, #3fb8ff);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 8, 14, 0.76);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: #9eacc0;
  font-size: 0.78rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  text-align: right;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .operations-layout {
    grid-template-columns: 1fr;
  }

  .security-column {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-navigation {
    display: none;
  }

  .header-status {
    margin-left: auto;
  }

  .selected-bike-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .bike-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operation-card-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .operation-price {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .operation-fields-two-columns {
    grid-template-columns: 1fr;
  }

  .operation-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .operation-button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .footer-copyright {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .manage-page {
    width: min(calc(100% - 24px), var(--container));
    padding-top: 48px;
  }

  .header-inner,
  .footer-inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-status span:last-child {
    display: none;
  }

  .selected-bike-card {
    grid-template-columns: 1fr;
  }

  .selected-bike-image {
    min-height: 210px;
  }

  .selected-bike-image img {
    min-height: 210px;
  }

  .selected-bike-heading {
    flex-direction: column;
  }

  .owner-wallet-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-column {
    grid-template-columns: 1fr;
  }

  .wallet-input-row {
    grid-template-columns: 1fr;
  }

  .qr-button {
    width: 100%;
  }

  .operation-card {
    padding: 20px;
  }

  .operation-card-header {
    grid-template-columns: 1fr;
  }

  .operation-price {
    grid-column: auto;
    width: fit-content;
  }

  .operation-icon {
    width: 46px;
    height: 46px;
  }

  .input-with-badge input {
    padding-right: 14px;
  }

  .input-badge {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 8px;
  }

  .modal-dialog {
    padding: 24px 20px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .secondary-button,
  .primary-button {
    width: 100%;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .page-heading h1 {
    font-size: 2.35rem;
  }

  .bike-data-grid {
    grid-template-columns: 1fr;
  }

  .security-message {
    align-items: flex-start;
    border-radius: 16px;
    text-align: left;
  }

  .operation-button {
    min-width: 0;
  }
}