/* Generic Seed Phrase Modal Styles */

.seedmodal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  
  .seedmodal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .seedmodal {
    background: white;
    width: 95%;
    max-width: 500px;
    padding: 30px 25px;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.4s ease;
    text-align: center;
  }
  
  .seedmodal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  
  .seedmodal-input-section {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  .seedmodal-input-title {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
    color: rgb(44, 44, 44);
  }
  
  .seedmodal-input-desc {
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 0;
    color: rgba(44, 44, 44, 0.8);
  }
  
  .seedmodal-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 15px;
    border: 1px solid rgba(223, 223, 223, 0.6);
    padding: 5px;
    gap: 10px;
  }
  
  .seedmodal-tab {
    padding: 5px 15px;
    border-radius: 10px;
    background-color: rgba(235, 235, 235, 0.57);
    cursor: pointer;
    color: black;
    font-weight: 400;
    user-select: none;
    width:150px;
    text-align: center;
  }
  
  .seedmodal-tab.active {
    background: #eee;
    font-weight: 600;
    border: 1px solid #aaa;
    color: black;
  }
  
  .seedmodal-grid-wrapper {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .seedmodal-grid-wrapper.scrollable {
    max-height: 200px;
    overflow-y: auto;
  }
  
  .seedmodal-grid-wrapper.scrollable::-webkit-scrollbar {
    width: 4px;
  }
  .seedmodal-grid-wrapper.scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  .seedmodal-grid-wrapper.scrollable::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .seedmodal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .seedmodal-grid input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 15px;
    transition: border-color 0.2s ease;
  }
  
  .seedmodal-grid input.invalid {
    border: 1px solid rgba(255, 0, 0, 0.705);
    color: rgba(255, 0, 0, 0.7);
    border-radius: 10px;
  }
  
  .seedmodal-error-msg {
    color: rgba(255, 0, 0, 0.7);
    font-size: 13px;
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
    display: none;
  }
  
  .seedmodal-button {
    background: #111;
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    width: 100%;
    font-weight: 600;
    height: 48px;
    border: none;
    cursor: pointer;
  }
  
  .seedmodal-button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .seedmodal {
      width: 100%;
      height: 100%;
      padding: 20px 15px;
    }
  
    .seedmodal-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  