/* ============================================
   WALLET PAGE
   ============================================ */

   :root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  
  .wallet-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  /* ============================================
     HEADER
     ============================================ */
  
  .wallet-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
  }
  
  .wallet-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
  }
  
  .wallet-header p {
    font-size: 1.2rem;
    opacity: 0.9;
  }
  
  /* ============================================
     WALLET CARDS GRID
     ============================================ */
  
  .wallet-cards-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* ============================================
     DIGITAL WALLET CARD
     ============================================ */
  
  .digital-wallet-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    max-width: 300px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .digital-wallet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.25);
  }
  
  /* ============================================
     QR CODE SECTION
     ============================================ */
  
  .wallet-card-qr-top {
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3125rem 0;
  }
  
  .wallet-qr-top-container {
    background: white;
    padding: 0 0.125rem 0.125rem 0.125rem;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
  }
  
  .wallet-qr-top-container img {
    width: 70px;
    height: 70px;
    display: block;
  }
  
  /* ============================================
     HEADER SECTION WITH BRAND
     ============================================ */
  
  .wallet-card-header-section {
    background: var(--gradient-primary);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem;
    border-radius: 0.25rem;
    margin: 0.625rem 0.625rem 0;
  }
  
  .wallet-card-brand-name {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4rem;
    max-height: 3.4rem;
  }
  /*======================================

  to download digital business card

  ======================================*/

  .dc-digital-wallet-card {
    background: white;
    border-radius: 4px;
    max-width: 300px;
}
.dc-wallet-card-title {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
}
.dc-wallet-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: uppercase;
}
.dc-avtar-photo-div {
    display: flex;
    align-self: center;
    padding: 12px 0px;
}
.dc-actual-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    /* width: 310px; */
    /* gap: 0.7rem; */
}
.dc-wallet-card-avatar-overlap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 50%;
    /* width: 78px; */
    /* height: 77px; */
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: green; */
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 10px #6c757d40;
}
.dc-wallet-card-brand-name {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 10px;
}
a.dc-wallet-display-email {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}
.dc-wallet-card-content {
    padding: 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dc-wallet-card-header-section{
    background: var(--gradient-primary);
    /* height: 80px; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 0.8rem;
    border-radius: 0.25rem;
    margin: 0.625rem 0.625rem 0;
    flex-direction: column-reverse;
}
  /* ============================================
     PROFILE AVATAR
     ============================================ */
  
  .wallet-card-avatar-download {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    z-index: 10;
  }
  
  .wallet-card-avatar-overlap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #667eea;;
    color: #667eea;
    border-radius: 50%;
  }
  
  .wallet-card-avatar-overlap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* ============================================
     CARD CONTENT
     ============================================ */
  
  .wallet-card-content {
    padding: 0.625rem 1.25rem 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .empty-div {
    width: 115px;
  }
  
  .actual-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 310px;
  }
  
  .wallet-card-name {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4rem;
    max-height: 3.4rem;
    text-align: left;
  }
  
  .wallet-card-title {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
  }
  
  .wallet-card-company {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.375rem;
  }
  
  /* ============================================
     CONTACT SECTION
     ============================================ */
  
  .wallet-card-contacts {
    display: flex;
    justify-content: center;
    gap: 0.9375rem;
    padding: 0 0.5rem 0.625rem;
    flex-wrap: wrap;
  }
  
  .wallet-card-email {
    margin-bottom: 0.625rem;
  }
  
  a.wallet-display-email {
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
  }
  
  .wallet-contact-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
  }
  
  .wallet-contact-icon-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(102, 126, 234, 0.3);
  }
  
  /* ============================================
     ACTION BUTTONS
     ============================================ */
  
  .wallet-card-actions {
    display: flex;
    gap: 0.625rem;
    padding: 0 0.625rem 0.3125rem;
    flex-wrap: wrap;
  }
  
  .wallet-action-btn {
    flex: 1;
    padding: 0.5rem 0.875rem;
    border-radius: 0.625rem;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    text-decoration: none;
    min-width: 70px;
  }
  
  .wallet-action-btn.primary {
    background: var(--gradient-primary);
    color: white;
  }
  
  .wallet-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(102, 126, 234, 0.4);
  }
  
  .wallet-action-btn.secondary {
    background: #f8f9fa;
    color: #667eea;
    border: 1px solid #e9ecef;
  }
  
  .wallet-action-btn.secondary:hover {
    background: #e9ecef;
    border-color: #667eea;
  }
  
  .wallet-action-btn.danger {
    background: #fff;
    color: #dc3545;
    border: 1px solid #f8d7da;
  }
  
  .wallet-action-btn.danger:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
  }
  
  /* ============================================
     CARD FOOTER
     ============================================ */
  
  .wallet-card-added-date {
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
    padding: 0.625rem 1.5625rem 0.9375rem;
    border-top: 1px solid #f8f9fa;
  }
  
  /* ============================================
     EMPTY WALLET STATE
     ============================================ */
  
  .empty-wallet {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
  }
  
  .empty-wallet h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  
  .empty-wallet p {
    font-size: 1.1rem;
    opacity: 0.8;
  }
  
  /* ============================================
     RESPONSIVE
     ============================================ */
  
  @media (max-width: 768px) {
    .wallet-container {
      padding: 1rem;
    }
  
    .wallet-header h1 {
      font-size: 1.2rem;
    }
  
    .wallet-cards-grid {
      gap: 1.5rem;
    }
  
    .wallet-card-brand-name {
      font-size: 1rem;
    }
  
    .wallet-card-avatar-overlap {
      width: 60px;
      height: 60px;
      font-size: 1.6rem;
      border: 2px solid #667eea;;
    }
  
    .wallet-card-content {
      padding: 0.625rem 1.25rem 0;
    }
  
    .wallet-card-name {
      font-size: 1rem;
    }
  
    .empty-wallet h3 {
      font-size: 1.2rem;
      font-weight: 500;
    }
  }
  
  @media (max-width: 480px) {
    .wallet-header h1 {
      font-size: 1.1rem;
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .wallet-qr-top-container img {
      width: 70px;
      height: 70px;
    }
  
    .wallet-card-header-section {
      height: 80px;
    }
  
    .wallet-contact-icon-btn {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
  }