/* Silence may be golden, but sometimes words paint the canvas of understanding. */
/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}
 
body #wpcontent {
  background-color: whitesmoke;

  #linksy-phrase-container, .linksy-page-container{
    font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif, serif;
    font-optical-sizing: auto;
  }
}

[v-cloak] {
  display: none !important;
}

.fs-12px {
  font-size: 0.75rem !important;
}
.fs-14px {
  font-size: 0.875rem !important;
}
.fs-16px{
  font-size: 1rem !important;
}
.fs-20px{
  font-size: 1.2rem !important;
}

.gap-20px{
  gap: 1.25rem !important
}

.linksy-item-count{
  background-color: #007aff33;
  border-radius: 15px;
  padding: 0px 8px;
}

.container{
  padding: 20px 20px 20px 0;
}

.filter-btn-toggle{
  &.active{
    border: 1px solid #007aff !important;

    &:hover{
      border: 1px solid #007aff !important;
    }
  }
}

.bulk-action-bordered .linksy-dropdown-input{
  border: 1px solid #e2e4e9 !important;
}

/**
* Notice Modal
*/
.linksy-notice-modal{
  .linksy-modal-dialog{
    max-width: 500px;
  }
}

/**
 * table
 */
table {
  width: 100%;
  border-collapse: collapse;
}

a,
a:hover,
a:active {
  color: rgb(0, 122, 255);
}

.link {
  cursor: pointer;
  color: rgb(0, 122, 255);
  text-decoration: underline;
  transition: 0.2s all linear;
}

/**
 * button
 */
button,
a.button,
.linksy-button {
  cursor: pointer;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 14px;
  height: fit-content;
  border: 1px solid transparent;
  outline: unset !important;
  transition: 0.2s all linear;
}
button[disabled] {
  cursor: not-allowed;
}

/* Button Variants */
.linksy-btn-primary {
  background-color: #007aff !important;
  color: #ffffff !important;
}
.linksy-btn-primary:hover {
  background-color: #0a58ca !important;
  color: #ffffff !important;
}

.linksy-btn-outline-primary {
  border-color: #007aff !important;
  background-color: transparent !important;
  color: #007aff !important;
}
.linksy-btn-outline-primary:hover {
  border-color: #0a58ca !important;
  background-color: #0a58ca !important;
  color: #ffffff !important;
}

.linksy-btn-primary.disabled,
.linksy-btn-primary:disabled {
  color: #828080;
  background: rgba(0, 122, 255, 0.2) !important;
  border-color: rgba(0, 122, 255, 0.2) !important;
}
.linksy-btn-outline-primary.disabled,
.linksy-btn-outline-primary:disabled {
  opacity: 0.6;
  color: #007bff !important;
  background-color: transparent !important;
}

.linksy-btn-secondary {
  background-color: #e9e9efce !important;
  color: #000000 !important;
}
.linksy-btn-secondary:hover {
  background-color: #e9e9ef96 !important;
  border: 1px solid #b8bcc2 !important;
}
.linksy-btn-outline-secondary {
  border-color: #d3d7dd !important;
  background-color: transparent !important;
  color: #d3d7dd !important;
}
.linksy-btn-outline-secondary:hover {
  background-color: #d3d7dd !important;
  color: #000000 !important;
}

.linksy-btn-white {
  background-color: #ffffff !important;
  color: #0c0c0c !important;
}
.linksy-btn-white:hover {
  border: 1px solid #c7c5c5 !important;
}
.linksy-btn-outline-white {
  background-color: #ffffff !important;
  border-color: #e2e4e9 !important;
  color: #0c0c0c !important;
}
.linksy-btn-outline-white:hover {
  background-color: #ffffff !important;
}
.linksy-btn-transparent-white {
  background-color: transparent !important;
  border: 0 !important;
  color: #0c0c0c !important;
}

.linksy-btn-black {
  background-color: #1f2021 !important;
  color: #ffffff !important;
}
.linksy-btn-black:hover {
  background-color: #333 !important;
}
.linksy-btn-outline-black {
  background-color: transparent !important;
  border-color: #1f2021 !important;
  color: #1f2021 !important;
}
.linksy-btn-outline-black:hover {
  background-color: #1f2021 !important;
  color: #ffffff !important;
}

.linksy-btn-link {
  text-decoration: underline;
  color: #007bff !important;
  background-color: transparent !important;
}

.linksy-btn-transparent-black {
  background-color: transparent !important;
  color: #000000 !important;
}
.linksy-btn-transparent-black:hover {
  color: #333 !important;
}

.linksy-btn-danger-outline{
  background-color: transparent !important;
  border-color: #dc3545 !important;
  color: #dc3545 !important;

  &:not([disabled]):hover{
    background-color: #dc3545 !important;
    color: #ffffff !important;
  }
}

/* Filter Box */
.linksy-dropdown .linksy-dropdown-input > div span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (max-width: 450px) {
}
.filter-button {
  display: block !important;
}
@media screen and (min-width: 450px) {
  .filter-button {
    display: none !important;
  }
  .internal-link-filter {
    display: flex !important;
  }
}

.btn-active {
  background-color: rgba(0, 122, 255, 0.15);
  color: #007aff;
}
.btn-active {
  background-color: rgba(0, 122, 255, 0.15);
  color: #007aff;
}
.btn-inactive {
  background-color: #f1f0f0;
}

.btn-clear {
  border-color: transparent !important;
  background-color: transparent !important;
}
.btn-link:hover {
  color: blue;
}

.btn-small {
  font-size: 12px;
}

/**
 * small
 */
small {
  color: #828080;
}

small.error {
  color: #ff3c1f;
}

/**
 * display
 */

.shadow {
  box-shadow: 0px 0px 15px rgba(167, 165, 165, 0.15);
}

.linksy-checkbox {
  border: 1px solid #8c8f94;
  border-radius: 4px;
  background: #fff;
  color: #50575e;
  clear: none;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
  height: 1rem;
  outline: 0;
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
  width: 1rem;
  min-width: 1rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: 0.05s border-color ease-in-out;
}

.linksy-checkbox.checked::before {
  content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E);
  margin: -0.1875rem 0 0 -0.25rem;
  height: 1.3125rem;
  width: 1.3125rem;
  display: inline-block;
}

.linksy-checkbox.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

/**
 * container
 */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  padding-top: 20px;
  position: relative;
}

.container .title-container {
  display: flex;
  margin-top: 15px;
  margin-bottom: 15px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container .title-container.left {
  align-items: flex-start;
}

.container .title-container .title {
  margin: 0;
  font-size: 26px;
  padding-top: 5px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 16px;
}

.container .title-container .sub-title {
  font-size: 18px;
}

.daterangepicker.show-ranges {
  z-index: 10000;
}

/**
 * linksy card
 */
.linksy-card {
  padding: 0px;
  max-width: 100%;
  border-radius: 8px;
  height: fit-content;
  background-color: #fff;
  border: 1px solid #dddee2;
}

.linksy-card .linksy-card-body {
  padding: 1.25rem;
}

/**
 * linksy loader
 */
.linksy-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}

.linksy-loader i {
  font-size: 24px;
}

/**
 * switch control
 */
.linksy-switch-control {
  position: relative;
}

.linksy-switch-control input[type="checkbox"] {
  height: 0;
  width: 0;
  position: absolute;
  visibility: hidden;
}

.linksy-switch-control label {
  cursor: pointer;
  text-indent: -9999px;
  width: 36px;
  height: 20px;
  background: grey;
  display: block;
  border-radius: 20px;
  position: relative;
}

.linksy-switch-control label:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.linksy-switch-control input:checked + label {
  background: #007aff;
}

.linksy-switch-control input:checked + label:after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
}

.linksy-switch-control label:active:after {
  width: 14px;
}

/** linksy-search */
.linksy-search {
  min-width: 315px;
  background: #ffffff;
  height: 35px;
  display: flex;
  align-items: center;
}
.linksy-search.cancelable {
  padding-right: 10px;
}
.linksy-search.cancelable .cancelable-icon {
  display: none;
  cursor: pointer;
}
.linksy-search.cancelable:hover .cancelable-icon {
  color: red;
  display: inline-block;
}

/** linksy-pagination */
.linksy-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.linksy-pagination.loading {
  opacity: 0.3;
  z-index: -1;
}

.linksy-pagination .length {
  width: 60px;
  height: 34px;
  margin: 0 20px;
  position: relative;
  background: #ffffff;
  border: 1px solid #e8e7e7;
  border-radius: 20px;
  padding-left: 10px;
  /* padding-right: 6px; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.linksy-pagination .length button {
  width: 26px;
  height: 26px;
  color: #ffffff;
  border: #5b5f6d;
  border-radius: 50%;
  background: #5b5f6d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linksy-pagination .length select {
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  opacity: 0;
  z-index: 2;
}

.linksy-pagination .navs {
  display: flex;
  margin-left: 50px;
}

.linksy-pagination .navs button {
  width: 34px;
  height: 34px;
  margin-left: 7px;
  background: #ffffff;
  border: 1px solid #e8e7e7;
  border-radius: 10px;
}

/** linksy-keyword-input */
.linksy-keyword-input {
  display: block;
  margin-bottom: 5px;
  text-align: right;
  outline: none !important;
}

.linksy-keyword-input input {
  flex: 1;
  margin-right: 10px;
}

.linksy-keyword-input button {
  margin-top: 15px;
}

.filters > div .custom input {
  text-align: center;
}

/** linksy-dropdown */
@keyframes opacity {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.linksy-dropdown .linksy-dropdown-body {
  opacity: 0;
}

.linksy-dropdown .linksy-dropdown-body.opened {
  opacity: 1;
  animation-name: opacity;
  animation-duration: 0.1s;
}

/* TO MAKE INPUT BOXES FOR NUMBERS SHOW ARROW SELECTORS ALWAYS */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

.with-content {
  -webkit-animation: with-content 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: with-content 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes with-content {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes with-content {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .w-md-60{
    width: 60%;
  }
  .w-md-50{
    width: 50%;
  }
  .w-md-40{
    width: 40%;
  }
}