:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #111827;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: inherit;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
}

/* Perbaikan untuk modal UMKM di mobile */
@media (max-width: 767px) {
    .modal-umkm .relative.bg-white {
        max-height: 95vh;
        border-radius: 24px;
    }
    .modal-umkm .flex-col {
        max-height: 95vh;
    }
    .modal-umkm .flex-col > .relative {
        flex-shrink: 0;
        min-height: 200px;
    }
    .modal-umkm .flex-col > .overflow-y-auto {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(95vh - 250px);
    }
}

/* Scrollbar styling */
.modal-umkm .overflow-y-auto::-webkit-scrollbar {
    width: 4px;
}
.modal-umkm .overflow-y-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.modal-umkm .overflow-y-auto::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.modal-umkm .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}