/* Import theme variables and base styles */
@import './theme.css';

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dark mode ensures background covers entire page */
.chakra-ui-dark,
.chakra-ui-dark body,
.chakra-ui-dark #root {
  background-color: #0f1115;
  color: #e8eaf0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Responsive images */
img {
  height: auto;
  max-width: 100%;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Utilities */
.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* Responsive Helpers */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}
