/* Trust Wallet Modal Styles - tw.css */

/* Overlay */
.tw-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    justify-content: flex-end;
    align-items: stretch;
    z-index: 9999;
  }
  
  .tw-overlay.active {
    display: flex;
  }
  
  /* Modal Container */
  .tw-modal {
    background: #ffffff;
    width: 380px;
    height: 99vh;
    padding: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* ✅ Center vertically */
    align-items: center;       /* ✅ Center horizontally */
    border-radius: 0;
    margin-right: 40px;
    position: relative;
  }
  
  /* Gradient Background for Loading Phase Only */
  .tw-loading {
    background:rgb(247, 255, 250) ;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Bounce Logo Phase */
  .tw-logo {
  width: 200px;
  display: block;
  margin: 0 auto 20px;
  animation: bounceLogo 1.8s ease-in-out infinite;
}

  
  @keyframes bounceLogo {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
  
  
  /* Content Container (Hidden Initially) */
  .tw-content {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center; /* ✅ center text and buttons */
  }
  
  /* Update Section */
  .tw-update {
    text-align: center;
  }



  .tw-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: #f2f2f2;
    color: #333;
    border: none;
    border-radius: 20%;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
  }
  
  .tw-close-btn:hover {
    background: #e0e0e0;
  }
  
  
  .tw-icon {
    width: 210px;
    height: 120px;
    margin: 20px auto 0px;
    margin-top: -40px;
    display: block;
  }
  
  .tw-title  {
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
  }
  
  .tw-version {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
    font-weight: 400;
  }


  
  .tw-alert {
    display: flex;
    align-items: flex-start;
    background-color: #f6f9ff;
    border-radius: 8px;
    padding: 10px 8px;
    margin: 10px 0 10px;
    width: 100%;
    line-height: 22px;
    box-sizing: border-box;
    margin-bottom: -65px;
  }
  
 
  
  .tw-alert-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-top: -5px;
    font-size: 10px;
    margin-bottom: -15px;


  }
  
  .tw-alert-title {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #2a72f8;
  }
  
  .tw-alert-description {
    font-size: 14px;
    color: rgb(29, 27, 27);
    line-height: 1.1;
    margin-left: -26px;
  }
  


  
  /* Feature Card */
  .tw-card {
    background: rgba(236, 236, 236, 0.657);
    padding: 10px;
    margin: 15px auto;
    margin-top: 90px;         /* center horizontally */
    text-align: left;
    margin-bottom: -10px;         /* center horizontally */

    border-radius: 8px;
    width: fit-content;        /* shrink to content */
    max-width: unset;          /* 🔥 disable any limit */
    box-sizing: border-box;
  
  }
  
  /* Feature List */
  .tw-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;                 /* 🔥 remove any default margin */
  color: rgb(0, 0, 0);
  margin-top: 0px;

  }
  
  .tw-list li {
    margin-bottom: 5px;
    white-space: nowrap;      /* (optional) prevent long items from wrapping */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px;
    margin-top: 0px;
  }
  
  /* Button */
  .tw-btn {
    background-color: #2a72f8;
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 40px;
    margin-bottom: 10px;
    width: 100%;
    height: 9%;
  }
  
  /* Support Text */
  .tw-support {
    font-size: 14px;
    color: #444;
    text-align: center;
    margin-bottom: -10px;
  }
  
  .tw-support a {
    color: #3375e0;
    text-decoration: none;
    font-weight: 500;
  }


  
  /* Mobile Responsiveness */
  @media (max-width: 600px) {
    .tw-overlay {
      justify-content: center;
    }
  
    .tw-modal {
      width: 100%;
      height: 100vh;
      margin-right: 0;
    }

    
  /* Feature Card */
  .tw-card {
    background: rgba(236, 236, 236, 0.657);
    padding: 10px;
    margin: 15px auto;
    margin-top: 90px;         /* center horizontally */
    text-align: left;
    margin-bottom: -10px;         /* center horizontally */

    border-radius: 8px;
    width: 100%;        /* shrink to content */
    max-width: unset;          /* 🔥 disable any limit */
    box-sizing: border-box;
  
  }
  
  /* Feature List */
  .tw-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;                 /* 🔥 remove any default margin */
  color: rgb(0, 0, 0);
  margin-top: 0px;

  }
  
  .tw-list li {
    margin-bottom: 5px;
    white-space: nowrap;      /* (optional) prevent long items from wrapping */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px;
    margin-top: 0px;
  }
  
  /* Button */
  .tw-btn {
    background-color: #2a72f8;
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 40px;
    margin-bottom: 10px;
    width: 100%;
    height: 9%;
  }
  
  /* Support Text */
  .tw-support {
    font-size: 14px;
    color: #444;
    text-align: center;
    margin-bottom: -10px;
  }
  
  .tw-support a {
    color: #3375e0;
    text-decoration: none;
    font-weight: 500;
  }

  }
  