@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

input[type="radio"],
input[type="checkbox"] {
  color: transparent !important;
}

tbody tr:hover {
  background-color: transparent !important;
}

.notice,
.notice-warning,
.updated {
  display: none !important;
}

body.admin_page_gpos-collection,
body.admin_page_gpos-collection-form,
body.pos-entegrator_page_gpos-settings,
body.admin_page_gpos-transaction,
body.toplevel_page_gurmepos,
body.admin_page_gpos-payment-method,
body.pos-entegrator_page_gpos-payment-methods {
  background-color: #ebf0fa;
}

textarea:focus {
  border-color: none;
  box-shadow: none;
}

textarea {
  border-color: none;
  box-shadow: none;
}

#wpcontent {
  padding-left: 0 !important;
}

#wpcontent div .error {
  display: none !important;
}

.fs-notice {
  display: none !important;
}

#wpcontent {
  padding: 0 !important;
  font-family: "Inter", sans-serif;
}

.condition-list::-webkit-scrollbar,
.log-modal::-webkit-scrollbar,
.payment-gateway-modal::-webkit-scrollbar {
  background-color: #fff;
  width: 6px;
}

/* background of the scrollbar except button or resizer */
.condition-list::-webkit-scrollbar-track,
.log-modal::-webkit-scrollbar-track,
.payment-gateway-modal::-webkit-scrollbar-track {
  background-color: #fff;
}

/* scrollbar itself */
.condition-list::-webkit-scrollbar-thumb,
.log-modal::-webkit-scrollbar-thumb,
.payment-gateway-modal::-webkit-scrollbar-thumb {
  background-color: #6b7280;
  border-radius: 16px;
  border: 6px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
.condition-list::-webkit-scrollbar-button,
.log-modal::-webkit-scrollbar-button,
.payment-gateway-modal::-webkit-scrollbar-button {
  display: none;
}

.jv-node {
  position: relative;
}

.jv-node:after {
  content: ",";
}

.jv-node:last-of-type:after {
  content: "";
}

.jv-node.toggle {
  margin-left: 13px !important;
}

.jv-node .jv-node {
  margin-left: 25px;
}

.jv-container {
  box-sizing: border-box;
  position: relative;
}

.jv-container.boxed {
  border: 1px solid #eee;
  border-radius: 6px;
}

.jv-container.boxed:hover {
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15);
  border-color: transparent;
  position: relative;
}

.jv-container.jv-light {
  background: #fff;
  white-space: nowrap;
  color: #525252;
  font-size: 14px;
  font-family: Consolas, Menlo, Courier, monospace;
}

.jv-container.jv-light .jv-ellipsis {
  color: #999;
  background-color: #eee;
  display: inline-block;
  line-height: 0.9;
  font-size: 0.9em;
  padding: 0 4px 2px;
  margin: 0 4px;
  border-radius: 3px;
  vertical-align: 2px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.jv-container.jv-light .jv-button {
  color: #49b3ff;
}

.jv-container.jv-light .jv-key {
  color: #111;
  margin-right: 4px;
}

.jv-container.jv-light .jv-item.jv-array {
  color: #111;
}

.jv-container.jv-light .jv-item.jv-boolean {
  color: #fc1e70;
}

.jv-container.jv-light .jv-item.jv-function {
  color: #067bca;
}

.jv-container.jv-light .jv-item.jv-number {
  color: #fc1e70;
}

.jv-container.jv-light .jv-item.jv-object {
  color: #111;
}

.jv-container.jv-light .jv-item.jv-undefined {
  color: #e08331;
}

.jv-container.jv-light .jv-item.jv-string {
  color: #42b983;
  word-break: break-word;
  white-space: normal;
}

.jv-container.jv-light .jv-item.jv-string .jv-link {
  color: #0366d6;
}

.jv-container.jv-light .jv-code .jv-toggle:before {
  padding: 0 2px;
  border-radius: 2px;
}

.jv-container.jv-light .jv-code .jv-toggle:hover:before {
  background: #eee;
}

.jv-container .jv-code {
  overflow: hidden;
  padding: 30px 20px;
}

.jv-container .jv-code.boxed {
  max-height: 300px;
}

.jv-container .jv-code.open {
  max-height: none !important;
  overflow: visible;
  overflow-x: auto;
  padding-bottom: 45px;
}

.jv-container .jv-toggle {
  background-image: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjNjY2IiBkPSJNMCAwbDggOC04IDh6Ii8+PC9zdmc+);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%;
  cursor: pointer;
  width: 10px;
  height: 10px;
  margin-right: 2px;
  display: inline-block;
  -webkit-transition: -webkit-transform 0.1s;
  transition: -webkit-transform 0.1s;
  transition: transform 0.1s;
  transition: transform 0.1s, -webkit-transform 0.1s;
}

.jv-container .jv-toggle.open {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.jv-container .jv-more {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.jv-container .jv-more .jv-toggle {
  position: relative;
  top: 40%;
  z-index: 2;
  color: #888;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.jv-container .jv-more .jv-toggle.open {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.jv-container .jv-more:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: -webkit-linear-gradient(top,
      transparent 20%,
      hsla(0, 0%, 90.2%, 0.3));
  background: linear-gradient(180deg, transparent 20%, hsla(0, 0%, 90.2%, 0.3));
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}

.jv-container .jv-more:hover .jv-toggle {
  top: 50%;
  color: #111;
}

.jv-container .jv-more:hover:after {
  background: -webkit-linear-gradient(top,
      transparent 20%,
      hsla(0, 0%, 90.2%, 0.3));
  background: linear-gradient(180deg, transparent 20%, hsla(0, 0%, 90.2%, 0.3));
}

.jv-container .jv-button {
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding: 5px;
  z-index: 5;
}

.jv-container .jv-button.copied {
  opacity: 0.4;
  cursor: default;
}

.jv-container .jv-tooltip {
  position: absolute;
}

.jv-container .jv-tooltip.right {
  right: 15px;
}

.jv-container .jv-tooltip.left {
  left: 15px;
}

.jv-container .j-icon {
  font-size: 12px;
}

@tailwind base;

@tailwind components;

@tailwind utilities;