.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

html {
  font-size: 85%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

option {
  padding: 0px 8px;
  cursor: pointer;
}

.css-4i4zqr-MuiToolbar-root /* header */ {
  /* min-height: 40px !important; */
}

.css-1bmc26r-MuiToolbar-root /* header */ {
  /* min-height: 40px !important; */
}

.css-175hjyd-MuiToolbar-root /* header */ {
  /* min-height: 56px !important; */
}

.css-1y8nxit-MuiDrawer-docked .MuiDrawer-paper /* side bar */ {
  /* width: 260px !important; */
}

.css-1y8nxit-MuiDrawer-docked /* side bar */ {
  /* width: 260px !important; */
}

.css-12f197v-MuiContainer-root /* main content */ {
  /* padding: 8px !important; */
}

.css-rizt0-MuiTypography-root /* title */ {
  /* font-size: 13px !important; */
}

.css-s3cqzd-MuiStack-root /* stack */ {
  /* transform: translateY(-8px) !important; */
}

.css-1m4ie5l-MuiButtonBase-root-MuiTab-root /* tab button */ {
  /* min-height: 40px !important; */
}

/* Custom scroll bar */
::-webkit-scrollbar {
  width: 4px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #2196f3;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1769aa;
  cursor: pointer;
}

.MuiListSubheader-root {
  position: sticky !important;
  top: -16px !important;
}
.avoid-page-break, tr {
  break-inside: avoid !important;
  page-break-inside: avoid !important;
}

@media (max-width: 600px) {
  .MuiTablePagination-toolbar {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .MuiTablePagination-selectLabel {
    margin: 0 !important;
  }
  .MuiTablePagination-displayedRows {
    margin: 0 !important;
  }
  .MuiTablePagination-actions {
    margin-left: 0 !important;
  }
}

/* Quill Bubble Editor inside table cells */
.quill-cell-wrapper .ql-container.ql-bubble {
  font-size: 14px;
}
.quill-cell-wrapper .ql-editor {
  min-height: 54px;
  max-height: 150px;
  overflow-y: auto;
  padding: 8px;
  font-size: 14px;
  color: #111;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}
.quill-cell-wrapper .ql-editor.ql-blank::before {
  color: #aaa;
  font-style: italic;
  content: 'Nhập nội dung...';
}

.ql-bubble .ql-tooltip {
  position: fixed !important;
  z-index: 9999 !important;
}
