/* Minimal, clean styling inspired by annamona.co */

img {
  display: block !important;
  margin: 1.5rem auto !important;
  text-align: center !important;
  max-width: 100% !important;
  border-radius: 4px;
}

.flex-container {
  display: flex !important;
  align-items: center !important;
  gap: 1rem;
}

.flex-container img {
  margin-left: 0 !important;
  width: 30% !important;
}

.katex-display {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 1em;
  text-align: center;
  padding: 1em;
}

/* Clean link styling */
a {
  transition: all 0.2s ease;
}

/* Minimal button/icon styling */
button, .theme-toggle {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button:hover, .theme-toggle:hover {
  opacity: 0.7;
}

/* Theme toggle icon styling - override DaisyUI */
.theme-toggle svg {
  stroke: #2563eb !important;
  color: #2563eb !important;
}

.theme-toggle svg path {
  stroke: #2563eb !important;
}

/* Clean code blocks */
pre {
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark pre {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Subtle transitions */
* {
  transition-property: background-color, border-color, color;
  transition-duration: 200ms;
  transition-timing-function: ease-in-out;
}
