@tailwind base;
@tailwind components;
@tailwind utilities;

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #eef2f7;
  color: #0f172a;
  overflow-x: hidden;
}

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

button {
  border: 0;
}

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

.ox-panel {
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.88);
  box-shadow: 0 18px 55px rgb(15 23 42 / 0.06);
}

.ox-scrollbar {
  scrollbar-color: rgb(148 163 184 / 0.7) transparent;
  scrollbar-width: thin;
}

.ox-scrollbar::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.ox-scrollbar::-webkit-scrollbar-thumb {
  background: rgb(148 163 184 / 0.65);
  border-radius: 999px;
}

.ox-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.ox-admin-content :where(.sy-runtime-page) {
  min-height: auto;
  background: transparent;
  color: inherit;
}

.ox-admin-content :where(.sy-runtime-page__content) {
  max-width: 100% !important;
  padding: 0 !important;
}

.ox-admin-content :where(.sy-submit-page) {
  gap: 0;
  min-height: auto;
}

.ox-admin-content :where(.sy-submit-card, .sy-detail-card) {
  border: 1px solid rgb(226 232 240 / 0.86);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 18px 55px rgb(15 23 42 / 0.06);
}

.ox-admin-content :where(.sy-submit-card) {
  min-height: auto;
}

.ox-admin-content :where(.sy-detail-main) {
  max-width: 100%;
  padding: 0 0 32px;
}

.ox-admin-content :where(.sy-detail-header) {
  display: none;
}

.ox-admin-content :where(.sy-detail-page) {
  background: transparent;
}

.ox-default-data-route :where(.sy-data-management-list, .sy-runtime-page) {
  min-width: 0;
}
