/* 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: 420px;
    height: 100vh;
    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;
  }
  
  /* Fade-in Logo Phase */
  .tw-logo {
    width: 150px;
    display: block;
    margin: 0 auto;
    animation: fadeInLogo 2s ease-in-out infinite;
  }
  
  @keyframes fadeInLogo {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
  }
  
  /* 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-icon {
    width: 65px;
    height: 65px;
    color: #3375e0;
    margin: 30px auto 25px;
    display: block;
  }
  
  .tw-update h2 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .tw-version {
    font-size: 16px;
    color: #444;
    margin-bottom: 24px;
    font-weight: 500;
  }
  
  /* Feature Card */
  .tw-card {
    background: #f0f0f0;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
    border-radius: 8px;
    width: fit-content;
    box-sizing: border-box;
  }
  
  /* Feature List */
  .tw-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: #222;
  }
  
  .tw-list li {
    margin-bottom: 6px;
    font-size: 15px;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    white-space: nowrap;
  }
  
  /* Button */
  .tw-btn {
    background-color: #3375e0;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    margin: 20px auto 10px;
    display: block;
    width: 52%;
    height: 42px;
    font-weight: bold;
  }
  
  /* 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: 767px) {
    .tw-overlay {
      justify-content: center;
    }
  
    .tw-modal {
      width: 100%;
      height: 100vh;
      margin-right: 0;
    }
  }
  