 /* global base + import layer */

/* Global import layer */
@import './tokens/colors.css';
@import './tokens/motion.css';
@import './tokens/spacing.css';
@import './tokens/structure.css';
@import './tokens/typography.css';

/* Then import component-level styles */
@import './base.css';
@import './shared.css';
@import './setup/setup.css';
@import './welcome.css';
@import './app/app.css';
@import './app/feeds.css';
@import './app/summary.css';
@import './app/foods.css';
@import './app/slider.css';
@import './app/selector.css';
@import './app/shimmer.css';
@import './settings/panel-style.css';


 /* === Global Layout Utilities === */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col {
  flex: 1 1 100%;
  padding: 0.5rem;
}

/* Responsive columns */
@media (min-width: 600px) {
  .col-sm-6 { flex: 0 0 50%; }
  .col-sm-4 { flex: 0 0 33.3333%; }
}

@media (min-width: 900px) {
  .col-md-6 { flex: 0 0 50%; }
  .col-md-4 { flex: 0 0 33.3333%; }
  .col-md-3 { flex: 0 0 25%; }
}

/* General resets, typography, layout globals */
html {
  height: 100%;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  min-height: calc(100dvh - 60px); /* adjust based on header height */
  /* background-color: rgba(9, 196, 9, 0.966);  */
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: #f6f8fb;
  color: #333;
}

button {
  cursor: pointer;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  font-size: var(--font-size-base);
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #005ecb;
}
