.tw-absolute {
  position: absolute;
}

.tw-relative {
  position: relative;
}

.tw-left-0 {
  left: 0px;
}

.tw-right-2 {
  right: 0.5rem;
}

.tw-top-0 {
  top: 0px;
}

.tw-top-2 {
  top: 0.5rem;
}

.tw-top-3 {
  top: 0.75rem;
}

.tw-mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.tw-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.tw-my-0 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.tw-my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.tw-my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.tw-mb-0 {
  margin-bottom: 0px;
}

.tw-mb-12 {
  margin-bottom: 3rem;
}

.tw-mb-2 {
  margin-bottom: 0.5rem;
}

.tw-mb-3 {
  margin-bottom: 0.75rem;
}

.tw-mb-4 {
  margin-bottom: 1rem;
}

.tw-mb-6 {
  margin-bottom: 1.5rem;
}

.tw-ml-2 {
  margin-left: 0.5rem;
}

.tw-ml-4 {
  margin-left: 1rem;
}

.tw-ml-8 {
  margin-left: 2rem;
}

.tw-mr-2 {
  margin-right: 0.5rem;
}

.tw-mr-4 {
  margin-right: 1rem;
}

.tw-mt-0 {
  margin-top: 0px;
}

.tw-mt-1 {
  margin-top: 0.25rem;
}

.tw-mt-10 {
  margin-top: 2.5rem;
}

.tw-mt-12 {
  margin-top: 3rem;
}

.tw-mt-2 {
  margin-top: 0.5rem;
}

.tw-mt-4 {
  margin-top: 1rem;
}

.tw-mt-6 {
  margin-top: 1.5rem;
}

.tw-mt-8 {
  margin-top: 2rem;
}

.tw-block {
  display: block;
}

.tw-inline-block {
  display: inline-block;
}

.tw-flex {
  display: flex;
}

.tw-grid {
  display: grid;
}

.tw-h-\[40px\] {
  height: 40px;
}

.tw-h-full {
  height: 100%;
}

.tw-max-h-\[100px\] {
  max-height: 100px;
}

.tw-max-h-\[250px\] {
  max-height: 250px;
}

.tw-w-\[360px\] {
  width: 360px;
}

.tw-w-\[40px\] {
  width: 40px;
}

.tw-w-full {
  width: 100%;
}

.tw-max-w-4xl {
  max-width: 56rem;
}

.tw-max-w-\[1200px\] {
  max-width: 1200px;
}

.tw-max-w-\[80\%\] {
  max-width: 80%;
}

.tw-max-w-full {
  max-width: 100%;
}

@keyframes tw-pulse {
  50% {
    opacity: .5;
  }
}

.tw-animate-pulse {
  animation: tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes tw-spin {
  to {
    transform: rotate(360deg);
  }
}

.tw-animate-spin {
  animation: tw-spin 1s linear infinite;
}

.tw-cursor-not-allowed {
  cursor: not-allowed;
}

.tw-cursor-pointer {
  cursor: pointer;
}

.tw-list-disc {
  list-style-type: disc;
}

.tw-grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tw-grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tw-flex-col {
  flex-direction: column;
}

.tw-items-start {
  align-items: flex-start;
}

.tw-items-center {
  align-items: center;
}

.tw-justify-center {
  justify-content: center;
}

.tw-justify-between {
  justify-content: space-between;
}

.tw-gap-1 {
  gap: 0.25rem;
}

.tw-gap-2 {
  gap: 0.5rem;
}

.tw-gap-3 {
  gap: 0.75rem;
}

.tw-gap-4 {
  gap: 1rem;
}

.tw-gap-5 {
  gap: 1.25rem;
}

.tw-overflow-auto {
  overflow: auto;
}

.tw-overflow-y-auto {
  overflow-y: auto;
}

.tw-scroll-auto {
  scroll-behavior: auto;
}

.tw-rounded {
  border-radius: 0.25rem;
}

.tw-rounded-lg {
  border-radius: 0.5rem;
}

.tw-rounded-md {
  border-radius: 0.375rem;
}

.tw-rounded-b-md {
  border-bottom-right-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.tw-rounded-tr-md {
  border-top-right-radius: 0.375rem;
}

.tw-border {
  border-width: 1px;
}

.tw-border-0 {
  border-width: 0px;
}

.tw-border-b-2 {
  border-bottom-width: 2px;
}

.tw-border-l-2 {
  border-left-width: 2px;
}

.tw-border-l-4 {
  border-left-width: 4px;
}

.tw-border-t-2 {
  border-top-width: 2px;
}

.tw-border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.tw-border-green-500 {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}

.tw-border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}

.tw-border-slate-500 {
  --tw-border-opacity: 1;
  border-color: rgb(100 116 139 / var(--tw-border-opacity, 1));
}

.tw-border-yellow-500 {
  --tw-border-opacity: 1;
  border-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
}

.tw-border-l-amber-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}

.tw-bg-amber-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}

.tw-bg-amber-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}

.tw-bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.tw-bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.tw-bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.tw-bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}

.tw-bg-green-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}

.tw-bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}

.tw-bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.tw-bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}

.tw-bg-opacity-65 {
  --tw-bg-opacity: 0.65;
}

.tw-p-0 {
  padding: 0px;
}

.tw-p-2 {
  padding: 0.5rem;
}

.tw-p-3 {
  padding: 0.75rem;
}

.tw-p-4 {
  padding: 1rem;
}

.tw-p-6 {
  padding: 1.5rem;
}

.tw-px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.tw-px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.tw-px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.tw-py-0 {
  padding-top: 0px;
  padding-bottom: 0px;
}

.tw-py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.tw-py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.tw-pb-8 {
  padding-bottom: 2rem;
}

.tw-pl-2 {
  padding-left: 0.5rem;
}

.tw-pt-2 {
  padding-top: 0.5rem;
}

.tw-text-left {
  text-align: left;
}

.tw-text-center {
  text-align: center;
}

.tw-text-right {
  text-align: right;
}

.tw-font-sans {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.tw-text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.tw-text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.tw-text-\[10px\] {
  font-size: 10px;
}

.tw-text-\[12px\] {
  font-size: 12px;
}

.tw-text-\[14px\] {
  font-size: 14px;
}

.tw-text-\[16px\] {
  font-size: 16px;
}

.tw-text-\[18px\] {
  font-size: 18px;
}

.tw-text-\[20px\] {
  font-size: 20px;
}

.tw-text-\[22px\] {
  font-size: 22px;
}

.tw-text-\[24px\] {
  font-size: 24px;
}

.tw-text-\[40px\] {
  font-size: 40px;
}

.tw-text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.tw-text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.tw-font-bold {
  font-weight: 700;
}

.tw-font-extrabold {
  font-weight: 800;
}

.tw-font-normal {
  font-weight: 400;
}

.tw-font-semibold {
  font-weight: 600;
}

.tw-leading-none {
  line-height: 1;
}

.tw-leading-relaxed {
  line-height: 1.625;
}

.tw-leading-tight {
  line-height: 1.25;
}

.tw-text-amber-500 {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.tw-text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.tw-text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.tw-text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.tw-text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}

.tw-text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.tw-text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}

.tw-text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.tw-text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

.tw-text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

.tw-text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}

.tw-text-slate-800 {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}

.tw-text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.tw-text-yellow-300 {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}

.tw-text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}

.tw-underline {
  text-decoration-line: underline;
}

.tw-opacity-50 {
  opacity: 0.5;
}

.tw-shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.tw-shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.tw-shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.tw-transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.polylaitr-link {
  text-decoration: underline;
  cursor: pointer;
  opacity: 0;
}

tr:hover .polylaitr-link {
  opacity: 1;
}

#polylaitr-modal {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
}

#polylaitr-modal .polylaitr-panel {
  position: absolute;
  left: 50%;
  top: 100px;
  background: #fff;
  border: 4px solid #f0f0f0;
  border-radius: 10px;
  width: 400px;
  margin-left: -200px;
  padding: 16px;
  box-shadow: #333 0 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #000;
}

#polylaitr-modal .polylaitr-panel.polylaitr-panel-wide {
  width: 600px;
  margin-left: -300px;
}

#polylaitr-modal .polylaitr-panel h2 {
  margin: 0;
}

.polylaitr-buttons {
  display: flex;
  justify-content: end;
  gap: 6px;
}

.polylaitr-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #666;
}

#polylaitr-langs .dashicons-yes {
  color: green;
}

#polylaitr-langs .dashicons-minus {
  color: #ccc;
}

#polylaitr-content {
  margin-top: 20px;
  font-size: 12px;
}

#polylaitr-content select {
  font-size: 12px;
}

.polylaitr-status-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.polylaitr-cell {
  display: flex;
  gap: 10px;
}

.polylaitr-progress {
  display: none;
  opacity: 0;
  animation: pulse 2s infinite;
}

.polylaitr-rotate {
  animation: rotate 2s infinite;
  animation-timing-function: linear;
}

@keyframes pulse {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.polylai-warn {
  background-color: #f3f4b2;
  border: 1px solid #ccc;
  padding: 10px;
  display: inline-block;
  margin-top: 10px;
}

.polylai-error {
  background-color: #f4b2b2;
  border: 1px solid #6a0808;
  padding: 10px;
  display: inline-block;
  margin-top: 10px;
}

.polylai-hidden {
  display: none !important;
}

.polylai-lang-badge {
  background-color: #71ef7c;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.polylai-lang-badge.polylai-disabled {
  background-color: #ddd;
  color: #999;
}

.polylai-hover {
  display: none;
}

tr:hover .polylai-hover {
  display: inline-block;
}

.polylai-cron-activity {
  background-color: #71ef7c;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}

.polylai-cron-activity.cron-error {
  background-color: #f4b2b2;
  border: 1px solid #6a0808;
}

.polylai-cron-panel {
  text-align: left;
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  background-color: #fff495;
  padding: 10px;
}

.polylai-section-alerts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.polylai-section-alerts .polylai-alert-panel {
  background-color: #fbfaf2;
  border-left: 4px solid #fac500;
  padding: 20px 12px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.05) 2px 4px 4px;
  margin-right: 20px;
  position: relative;
  padding-top: 20px;
}

.polylai-section-alerts .polylai-alert-panel.polylai-info {
  background-color: #d6ffef;
}

.polylai-admin-bar:before {
  content: '';
  width: 21px;
  height: 21px;
  background-image: url(../img/logo.png);
  background-size: contain;
  display: inline-block;
  position: relative;
  top: 5px;
}

.polylai-section-alerts .polylai-alert-panel.polylai-info:before {
}

.polylai-section-alerts .polylai-alert-panel h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 16px;
}

.polylai-section-alerts .polylai-alert-panel p {
  width: calc(100% - 80px);
}

.polylai-modal-bg {
  position: fixed;
  top: 0;
  left: 160px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.polylai-modal-dialog {
  position: fixed;
  top: 50%;
  left: calc(50% + 80px);
  transform: translate(-50%, -50%);
  width: 760px;
  background-color: #fff;
  padding: 20px;
}

.polylai-modal-dialog h4 {
  font-size: 18px;
  font-weight: bold;
}

.polylai-modal-body {
  font-size: 14px;
}

.polylai-modal-body li span {
  font-size: 12px;
  position: relative;
  top: 3px;
}

.polylai-modal-header {
  position: relative;
}

.polylai-modal-footer {
  text-align: right;
  padding-top: 20px;
}

[data-polyalai-close] {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: -10px;
}

.polylai-form h3:nth-of-type(3),
.polylai-form .form-table:nth-of-type(3) {
  display: none;
}

#polylai-modal-logs th {
  white-space: nowrap;
}

#polylai-modal-logs .polylai-modal-dialog {
  width: 60vw;
  min-width: 800px;
}

#polylai-modal-logs .polylai-modal-body {
  overflow-y: auto;
  max-height: 60vh;
}

.polylai-log-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-right: 6px;
}

.polylai-log-badge.log-type-info {
  background-color: #d6ffef;
}

.polylai-log-badge.log-type-error {
  background-color: #f4b2b2;
}

.polylai-log-badge.log-type-debug {
  background-color: #fff495;
}

.polylai-log-badge.log-type-success {
  background-color: #71ef7c;
}

.polylai-svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  cursor: pointer;
  border-width: 4px;
  border-style: solid;
  padding: 0.5rem;
  border-radius: 0.375rem;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  position: relative;
}

.polylai-svc-selected {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}

.polylang-alert-panels {
  display: flex;
  gap: 10px;
}

.polylai-activity-table td,
.polylai-activity-table th {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.polylai-activity-table thead tr {
  --tw-bg-opacity: 1;
  background-color: rgb(203 213 225 / var(--tw-bg-opacity, 1));
}

.polylai-activity-table td {
  border-bottom: 1px solid #e2e8f0;
}

.polylai-chip {
  display: inline-block;
  border-radius: 0.375rem;
  --tw-bg-opacity: 1;
  background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1));
  padding: 0.25rem;
  font-size: 10px;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

.hover\:tw-bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}