.wallet {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Balance Card */
  .balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
  }
  
  .balance-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
  }
  
  .balance-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .balance-info {
    flex: 1;
  }
  
  .balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: block;
  }
  
  .balance-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
  }
  
  .amount {
    font-size: 32px;
    font-weight: 700;
  }
  
  .currency {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.9;
  }
  
  .balance-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    opacity: 0.9;
  }
  
  /* Actions Card */
  .actions-card {
    background: white;
  }
  
  .actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .action-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
  }
  
  .action-btn:hover {
    background: var(--action-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .action-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .action-title {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
  }
  
  /* Tabs Card */
  .tabs-card {
    background: white;
  }
  
  .tabs-header {
    display: flex;
    border-bottom: 2px solid #f1f3f4;
    margin-bottom: 20px;
  }
  
  .tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .tab-btn.active {
    color: #667eea;
    font-weight: 600;
  }
  
  .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
  }
  
  .tab-content {
    min-height: 200px;
  }
  
  /* Keys Tab */
  .keys-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .key-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
  }

  .key-card > div {
    width: 100%;
  }
  
  .key-card:hover {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
  }

  .keys-title {
    text-align: center;
    margin-bottom: 10px;
  }

  .status-indicator{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: green;
  }
  
  .key-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  
  .key-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    text-align: start;
  }
  
  .key-server {
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
  }
  
  .key-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
  }
  
  .key-traffic {
    margin-bottom: 12px;
  }
  
  .traffic-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .traffic-info span {
    font-size: 12px;
    color: #6c757d;
  }
  
  .traffic-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
  }
  
  .traffic-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
  }
  
  .key-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
  }
  
  .key-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .key-detail .label {
    font-size: 11px;
    color: #6c757d;
  }
  
  .key-detail .value {
    font-size: 12px;
    font-weight: 500;
    color: #333;
  }
  
  .key-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  
  .key-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .key-action-btn.copy {
    background: #007bff;
    color: white;
  }
  
  .key-action-btn.copy:hover {
    background: #0056b3;
    transform: translateY(-1px);
  }
  
  .key-action-btn.download {
    background: #28a745;
    color: white;
  }
  
  .key-action-btn.download:hover {
    background: #1e7e34;
    transform: translateY(-1px);
  }
  
  .key-action-btn.delete {
    background: #dc3545;
    color: white;
  }
  
  .key-action-btn.delete:hover {
    background: #c82333;
    transform: translateY(-1px);
  }
  
  .no-keys {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
  }
  
  .no-keys h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: #495057;
  }
  
  .no-keys p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
  }
  
  /* History Tab */
  .transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
  }
  
  .transaction-item:hover {
    background: #e9ecef;
  }
  
  .transaction-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .transaction-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .transaction-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .transaction-description {
    font-weight: 500;
    color: #333;
    font-size: 14px;
  }
  
  .transaction-date {
    font-size: 12px;
    color: #6c757d;
  }
  
  .transaction-amount {
    font-weight: 600;
    font-size: 16px;
  }
  
  .transaction-amount.income {
    color: #28a745;
  }
  
  .transaction-amount.expense {
    color: #dc3545;
  }
  
  /* Cards Tab */
  .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .payment-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }
  
  .payment-method:hover {
    border-color: #667eea;
    background: #fff;
  }
  
  .method-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .method-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .method-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .method-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
  }
  
  .method-default {
    font-size: 11px;
    color: #667eea;
    font-weight: 500;
  }
  
  .method-action {
    background: none;
    border: 1px solid #667eea;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .method-action:hover {
    background: #667eea;
    color: white;
  }
  
  .add-card-btn {
    width: 100%;
    background: #f8f9fa;
    color: #495057;
    border: 2px dashed #dee2e6;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }
  
  .add-card-btn:hover {
    background: #e9ecef;
    border-color: #667eea;
    color: #667eea;
  }
  
  /* Responsive design */
  @media (max-width: 480px) {
    .wallet {
      gap: 16px;
    }
    
    .balance-header {
      gap: 12px;
    }
    
    .balance-icon {
      width: 50px;
      height: 50px;
    }
    
    .amount {
      font-size: 28px;
    }
    
    .actions-grid {
      gap: 10px;
    }
    
    .action-btn {
      padding: 12px;
    }
    
    .key-card {
      padding: 12px;
    }
    
    .key-details {
      gap: 8px;
    }
    
    
    .transaction-item,
    .payment-method {
      padding: 12px;
    }
  } 