body { padding: 10px; background-color: #f0f2f5; font-family: sans-serif; padding-bottom: 80px; }

.date-header {
  font-size: 1.1rem; font-weight: 700; color: #444;
  margin: 25px 2px 10px 2px; padding-bottom: 5px;
  border-bottom: 2px solid #ddd; display: flex; align-items: center;
}

.expense-card { 
  background: white; border-radius: 10px; padding: 12px 14px; 
  margin-bottom: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
  border-left: 6px solid #ccc; position: relative;
}

.card-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.item-name { font-weight: bold; font-size: 1.05rem; color: #212529; line-height: 1.4; flex-grow: 1; }
.price-tag { font-weight: 800; font-size: 1.25rem; color: #333; white-space: nowrap; margin-left: 10px; }

.info-row { 
  display: flex; flex-wrap: wrap; gap: 8px 12px; 
  font-size: 0.8rem; color: #555; margin-top: 6px; align-items: center;
}

.badge-custom {
  padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; 
  font-weight: normal; background-color: #eee; color: #444; border: 1px solid #ddd;
  white-space: nowrap; display: inline-flex; align-items: center;
}
.badge-paylater {
  background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; font-weight: bold;
}

.action-buttons {
  margin-top: 10px; padding-top: 8px; border-top: 1px solid #f0f0f0;
  display: flex; justify-content: flex-end; gap: 15px;
}
.btn-icon { cursor: pointer; color: #aaa; font-size: 1.1rem; transition: color 0.2s; }

@media (hover: hover) {
  .btn-icon:hover { color: #555; }
  .btn-delete:hover { color: #dc3545; }
}

.fab-base {
  position: fixed; bottom: 24px; width: 64px; height: 64px; border-radius: 50%; 
  font-size: 28px; display: flex; align-items: center; justify-content: center; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; border: none; color: white;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s;
}

.fab-add { right: 24px; background-color: #0d6efd; }
.fab-refresh { right: 100px; background-color: #6c757d; }
.fab-base:active { transform: scale(0.95); }
.fab-base:focus { outline: none; }
.fab-add:focus, .fab-add:active { background-color: #0d6efd !important; color: white !important; }
.fab-refresh:focus, .fab-refresh:active { background-color: #6c757d !important; color: white !important; }

.btn:focus, .btn:active:focus, .btn-close:focus {
  outline: none !important; box-shadow: none !important;
}

#loading { text-align: center; margin-top: 50px; display: none; }