:root {
  --text-gray: #050F1966;
}

body {
  background: #fafbfc;
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
     font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #00000;
}

.container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 90vh;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #050F19;
  letter-spacing: 0.01em;
  margin-left: 4px;
}


.card {
  margin: 40px 0 0 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 0 0 #0001;
  padding: 40px 40px 32px 40px;
  min-width: 420px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #f0f0f0;
}


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

.card-header h2 {
  margin: 0 0 4px 0;
  font-size: 2rem;
  font-weight: 700;
}

.desc {
font-family: Inter, sans-serif;
 color: var(--text-gray);
  max-width: 328px;
  margin-top: 6px;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.step-badge {
  padding: 1px 15px;
  display: inline-flex;

  align-items: center;
  background-color: #0057ff1a;
  border: 1px solid rgba(0, 87, 255, 0.15);
  border-radius: 14px;
  color: #0057ff;
  font-size: 14px;
  font-weight: 600;
}

.network-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.network-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  padding: 16px 18px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  color: #111;
  min-width: 0;
  box-shadow: 0 0 0 0 #267dff10;
}

.network-btn .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-btn.active,
.network-btn:focus,
.network-btn.selected {
  border-color: #267DFF;
  background: #f5f9ff;
  box-shadow: 0 0 0 2px #267dff30;
}

.network-btn:hover:not(.active):not(.selected) {
  border-color: #d0d8e3;
  background: #f8fbff;
}

.network-btn.selected.only {
  background: #f5f9ff;
  border-color: #eaeaea;
  cursor: default;
  pointer-events: none;
}

.network-selected-desc {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 20px;
  margin-top: 2px;
  font-weight: 500;
}

.crypto-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #111;
}

.walletconnect-btn {
  background: #f8fbff;
  border-color: #e0e6f2;
  color: #267DFF;
  font-weight: 600;
}

.walletconnect-btn:hover {
  background: #e6f0ff;
  border-color: #267DFF;
}

.walletconnect-btn.loading.only {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbfc;
  border: 1.5px solid #f0f0f0;
  pointer-events: none;
  cursor: default;
  font-weight: 600;
}

.walletconnect-btn.loading.only .crypto-name {
  font-size: 18px;
}

.walletconnect-btn.loading.only .network-selected-desc {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 20px;
  margin-top: 2px;
  font-weight: 500;
}

.walletconnect-btn.loading.only .spinner {
  margin-left: 18px;
  width: 24px;
  height: 24px;
  border: 3px solid #e3eaf3;
  border-top: 3px solid #267DFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.continue-btn {
  margin-top: 12px;
  padding: 16px 0;
  border-radius: 16px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  background: #0057ff45;
  color: #fff;
  cursor: not-allowed;
  transition: background 0.2s, color 0.2s;
}

.continue-btn:enabled {
  background: #267DFF;
  color: #fff;
  cursor: pointer;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 0 0;
  width: 100%;
  gap: 0;
}

footer {
  background: #fff;
  text-align: center;
  color: #a8afb9;
  font-size: 1.05rem;
  padding: 32px 0 18px 0;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 600px) {
  body {
    padding: 0;
    margin: 0;
    background: #fafbfc;
  }

  .container {
    min-height: 100vh;
    justify-content: flex-start;
    padding: 0;
  }
 .logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0 0;
  }
  

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #050F19;
  letter-spacing: 0.01em;
  margin-left: 4px;
}

  .card {
    margin: 32px auto 0 auto;
    padding: 24px 8px 24px 8px;
    border-radius: 18px;
    min-width: unset;
    max-width: 370px;
    width: 100%;
    box-sizing: border-box;
  }
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    width: 100%;
  }
  .step-badge {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 0 10px 0;
    font-size: 12px;
    padding: 1px 15px;
    height: 26px;
    border-radius: 13px;
    font-weight: 600;
    z-index: 2;
  }
  .title {
    margin-top: 52px;
    margin-bottom: 4px;
    font-size: 22px;
    line-height: 28px;
    width: 100%;
    font-weight: 700;
  }
  .desc {
    font-size: 15px;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 22px;
    font-weight: 500;
  }
  .network-list {
    gap: 12px;
    margin-bottom: 18px;
  }
  .network-btn,
  .network-btn.selected.only {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 14px;
  }
  .crypto-name {
    font-size: 16px;
    line-height: 22px;
  }
  .continue-btn {
    font-size: 17px;
    padding: 15px 0;
    border-radius: 14px;
    margin-top: 8px;
  }
  footer {
    display: auto;
  }
}
