.wrapper {
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden; /* Yatay scroll engelle */
  display: flex;
  flex-direction: column;
  position: relative;

  background-blend-mode: screen, screen, screen, screen, screen, normal;
}
.loading, .error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: white;
  font-size: 18px;
}

.error {
  color: #ff6b6b;
}

.header {
  width: 100%;
  height: 80px;
  background: rgba(45, 27, 105, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  flex-shrink: 0;
}

.content {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  padding-top: 10px; /* Header altında boşluk bırak */
  
}

.sidebar {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.navigation {
  padding: 24px;
  position: relative;
}

.balance {
  padding: 24px;
  position: relative;
}

.currencyChart {
  padding: 24px;
  position: relative;
}

.transactionsContainer {
  flex: 1;
  min-width: 769px;
  padding: 0 12px;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden; /* Yatay scroll engelle */
  /* overflow-y: auto; kaldırıldı - sayfa scroll kullanacak */
}

/* Tablet - 768px to 1024px */
@media (max-width: 1024px) and (min-width: 768px) {
  .content {
    flex-direction: column;
    flex:1;
  }
  
  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
  }
  
  .navigation {
    flex: 1;
    min-width: 300px;
    padding: 16px;
  }
  
  .balance {
    flex: 1;
    min-width: 300px;
    padding: 16px;
  }
  
  .currencyChart {
    flex: 1;
    min-width: 300px;
    padding: 16px;
  }
  
  .transactionsContainer {
    width: 100%; 
    padding: 16px;
    margin-top: 80px;
    overflow-x: hidden; /* Yatay scroll engelle */
  }
  
  .header {
    padding: 0 16px;
  }
}

/* Mobile - below 768px */
@media (max-width: 767px) {
  .content {
    width: 100%;
    flex-direction: column;
  }
  
  .header {
    height: 60px;
    padding: 0 16px;
  }
  
  .sidebar {
    width: 100%;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  
  .navigation {
    padding: 16px;
  }
  
  .balance {
    padding: 16px;
  }
  
  .currencyChart {
    display: none;
  }
  
  .transactionsContainer {
    width: 100%; 
    padding: 16px;
    overflow-x: hidden; /* Yatay scroll engelle */
  }
}
