/* src/components/Totals.css */
.totals {
    padding: 20px;
    margin: 0 auto 20px;
    max-width: 800px;
    border-radius: 10px;
    color: #fff;
  }
  
  .totals h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
  }
  
  .totals-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  .total-card {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .total-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .total-card.selected {
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  
  .total-card h3 {
    font-size: 1.5em;
    font-weight: thin;
    margin-bottom: 10px;
  }
  
  .total-card p {
    font-size: 2em;
    font-weight: bold;
  }
  
  .total-card.weekly {
    color: #FF6B6B; /* Coral Red */
  }
  
  .total-card.monthly {
    color: #4ECDC4; /* Medium Turquoise */
  }
  
  .total-card.yearly {
    color: #F7DC6F; /* Mellow Yellow */
  }

  .account-totals-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .account-total-card {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    min-width: 150px;
  }
  
  .account-total-card h3 {
    font-size: 1.2em; /* Smaller font size */
    font-weight: normal;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .credit-card-icon {
    margin-right: 5px;
  }
  
  .account-totals {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .account-total {
    font-size: 0.9em; /* Smaller font size */
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .account-total p {
    margin: 0;
  }
  
  .account-total.weekly p,
  .account-total.monthly p,
  .account-total.yearly p {
    color: #fff;
  }
  
  .account-total.weekly {
    color: #FF6B6B; /* Coral Red */
  }
  
  .account-total.monthly {
    color: #4ECDC4; /* Medium Turquoise */
  }
  
  .account-total.yearly {
    color: #F7DC6F; /* Mellow Yellow */
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .totals-grid {
      flex-direction: column;
    }
  
    .total-card {
      margin-bottom: 10px;
    }

    .account-totals-grid {
      flex-direction: column;
    }
  
    .account-total-card {
      margin-bottom: 10px;
    }
  }
  
.detail-summaries-title {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.period-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7em;
  margin-left: 10px;
  text-transform: capitalize;
}

.period-badge.week {
  background-color: #FF6B6B; /* Coral Red */
}

.period-badge.month {
  background-color: #4ECDC4; /* Medium Turquoise */
}

.period-badge.year {
  background-color: #F7DC6F; /* Mellow Yellow */
}

.account-totals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .account-totals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .account-totals-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.currency-symbol {
  color: grey; /* Grey color */
}
