*,
*::after,
*::before {
  box-sizing: border-box;
}

/* General body styling */
body {
  font-family: 'Roboto', sans-serif;
  background: #f4f6f9; /* soft neutral background */
  color: #333;
}

.hidden {
  display: none;
} /*# sourceMappingURL=style.css.map */

/* General body styling */
/* Header */
header {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
header h1 {
  font-weight: 700;
  letter-spacing: 1px;
}
header .btn {
  border-radius: 25px;
  transition: all 0.3s ease;
}
header .btn:hover {
  background-color: #fff;
  color: #007bff;
}

/* Stats cards */
.stats .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}
.stats .card:hover {
  transform: translateY(-4px);
}

/* Dark card (limit) */
.stats .card.bg-dark {
  background: #212529;
  border-left: 6px solid #ffc107;
}

/* Primary card (gain/loss) */
.stats .card.bg-primary {
  background: linear-gradient(135deg, #007bff, #00c6ff);
}

/* Light cards (consumed, burned, remaining) */
.stats .card.bg-light {
  background: #fff;
}
.stats .card.bg-light .fs-1 {
  color: #007bff;
}

/* Custom danger style to match UI */
.bg-danger-custom {
  background: linear-gradient(
    135deg,
    #ff6b6b,
    #ff4757
  ); /* softer gradient red */
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* Progress bar */
.progress {
  height: 25px;
  border-radius: 12px;
  background-color: #e9ecef;
  overflow: hidden;
  margin-top: 20px;
}
.progress-bar {
  background: linear-gradient(90deg, #00c6ff, #007bff);
  transition: width 0.4s ease;
}

.progress-bar.bg-danger-custom {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
}
/* Filter section */
.filter input.form-control {
  border-radius: 25px;
  padding: 12px 20px;
  border: 2px solid #007bff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.filter input.form-control:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 8px rgba(0, 198, 255, 0.4);
}

/* Section titles */
.items h2 {
  font-weight: 700;
  color: #333;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* Add buttons */
.items .btn {
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.items .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Item cards */
.items .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}
.items .card:hover {
  transform: scale(1.02);
}
.items .card-body h4 {
  font-weight: 600;
  color: #444;
}
.items .card-body .fs-1 {
  min-width: 80px;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 20px;
}

/* Delete button */
.items .delete.btn {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.items .delete.btn:hover {
  background-color: #dc3545;
  opacity: 0.85;
}

/* Modal styling */
.modal-content {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.modal-header {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.modal-title {
  font-weight: 600;
}
.modal-body .form-control {
  border-radius: 8px;
  padding: 12px;
}
.modal-body .btn {
  border-radius: 25px;
  font-weight: 600;
}

/* Footer styling */
.app-footer {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  color: #555;
}

.app-footer h5,
.app-footer h6 {
  color: #007bff;
  letter-spacing: 0.5px;
}

.footer-link {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #007bff;
}

.footer-divider {
  border-color: rgba(0, 0, 0, 0.08);
}

.tiny {
  font-size: 0.75rem;
  opacity: 0.7;
}
