 *{
     box-sizing: border-box;
     margin: 0;
     padding: 0;
    }

     :root{
    --primary-color: #4750EA;
 }
    
    body {
     font-family: Poppins, sans-serif;
     padding: 20px;
     margin: 0;
  background: radial-gradient(circle at top, #101510, #09091f);
  color: #ffffffa8;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 #send-tokens {
     width: 100vw;
     max-width: 1000px;
        margin: 20px auto;
 }

 /* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}


  nav {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    background-color: #1a1a1a;
 }

 nav > div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    align-items: center;
 }

 nav .navlink{
    font-size: 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
 }

 nav .navlink.active{
    color: var(--primary-color);
 }

 .crypto-card{
        background-color: #1a1a1a;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 25px;
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        cursor: pointer;
        transition: transform 0.2s;

 }
 
 .crypto-header {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .crypto-balance-price {
     display: flex;
     gap: 5px;
     font-size: 0.7rem;
     align-items: center;
     justify-content: center;
 }

 .crypto-image {
     width: 30px;
     border-radius: 1000px;
 }

 .negative {
     color: red;
     font-size: 0.6rem;
 }

 .positive {
     color: green;
     font-size: 0.6rem;
 }

 .loader {
     border: 4px solid #eee;
     border-top: 4px solid #3498db;
     border-radius: 50%;
     width: 40px;
     height: 40px;
     animation: spin 1s linear infinite;
     margin: 40px auto;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }




.app {
  max-width: 1000px;
  margin: auto;
  padding: 0 16px 16px 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

label {
  font-size: 12px;
  color: #aaa;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: #222;
  border: none;
  border-radius: 8px;
  color: #fff;
  outline: none;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}

.amount-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.amount-input input {
  flex: 1;
  font-size: 18px;
}

.clear-btn {
  background: #2a2a2a;
  border: none;
  color: #aaa;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.section-title {
  font-size: 14px;
  margin: 10px 0;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-amounts button {
  padding: 12px;
  background: #1f1f1f;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.quick-amounts button.active {
  outline: 1px solid var(--primary-color);
  background: #241f33;
}

.confirm-btn {
  margin-top: auto;
  padding: 14px;
  background: var(--primary-color);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Overlay */
.alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

/* Show */
.alert-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Alert box */
.alert-box {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 380px;
  border-radius: 14px;
  padding: 48px 24px 24px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.alert-overlay.show .alert-box {
  transform: scale(1);
}

/* Floating icon */
.alert-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: #e63946;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(230,57,70,0.4);
  border: 4px solid #fff;
}

/* Title */
.alert-box h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

/* Message */
.alert-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Button */
.alert-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #e63946;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.alert-btn:hover {
  opacity: 0.9;
}

#sendTitle{
    color: var(--primary-color);
    font-weight: bold;}