/* Ajoutez ce CSS dans votre composant ou global */
.cursor-pointer {
  cursor: pointer;
}

.cursor-pointer:hover {
  background-color: #f8f9fa;
}

.fs-12 {
  font-size: 12px;
}


.dcb-dashboard {
  .kpi-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    .card-body {
      padding: 1.5rem;
    }
  }

  .kpi-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    
    ng-icon {
      font-size: 24px;
    }
  }

  .rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
  }

  .progress-sm {
    height: 6px;
  }

  // Animation de spin pour l'icône de refresh
  .spin {
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  // Badges personnalisés
  .badge {
    font-size: 0.75em;
    font-weight: 500;
  }

  // Table styles
  .table {
    th {
      border-top: none;
      font-weight: 600;
      color: #6c757d;
      font-size: 0.875rem;
      padding: 1rem 0.75rem;
    }
    
    td {
      padding: 1rem 0.75rem;
      vertical-align: middle;
    }

    tbody tr {
      transition: background-color 0.2s ease;
      
      &:hover {
        background-color: rgba(0, 0, 0, 0.02);
      }
    }
  }

  // Responsive adjustments
  @media (max-width: 768px) {
    .kpi-icon {
      width: 50px;
      height: 50px;
      
      ng-icon {
        font-size: 20px;
      }
    }
    
    .card-body {
      padding: 1rem;
    }
  }
}

.transactions-container {
  .cursor-pointer {
    cursor: pointer;
    
    &:hover {
      background-color: rgba(0, 0, 0, 0.02);
    }
  }

  .fs-12 {
    font-size: 12px;
  }

  .spin {
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .table {
    th {
      border-top: none;
      font-weight: 600;
      color: #6c757d;
      font-size: 0.875rem;
    }
    
    td {
      vertical-align: middle;
    }
  }

  .badge {
    font-size: 0.75em;
    font-weight: 500;
  }

  .font-monospace {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
  }
}

.transaction-details {
  .transaction-amount-icon,
  .transaction-date-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .font-monospace {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
  }

  .badge {
    font-size: 0.75em;
    font-weight: 500;
  }

  .spin {
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  // Styles pour l'impression
  @media print {
    .btn, .card-header .d-flex:last-child {
      display: none !important;
    }
    
    .card {
      border: 1px solid #dee2e6 !important;
      box-shadow: none !important;
    }
  }
}