#post-stats {
  border: none;
}

#wp-statistics-traffic-summary-widget , #wp-statistics-quickstats-widget {
  .o-table {

    td a{
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      display: -webkit-box !important;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 80px;

      .quickstats-values{
        display: block!important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 80px;

        .rtl &{
          direction: ltr;
          text-align: right;
        }
      }
    }
    td b{
      word-wrap: break-word;
      word-break: break-word;
      white-space: normal;
      max-width: 250px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

#th-colspan {
  text-align: center;
}

#th-colspan span {
  color: #459605 !important;
  font-size: 30px;
}

#last-visitor tr {
  text-align: center;
}

#last-visitor tr:first-child {
  background: none repeat scroll 0 0 #EEEEEE;
  font-weight: bold;
  text-align: center;
}

#last-search tr {
  text-align: center;
}

#last-search tr:first-child {
  background: none repeat scroll 0 0 #EEEEEE;
  font-weight: bold;
  text-align: center;
}

table.wps-table-fixed {
  table-layout: fixed;
  width: 100%;
}

table.wps-table-auto {
  table-layout: auto;
  width: 100%;
}

.wps-report-table tr {
  text-align: left;
}

.wps-report-table tr:first-child {
  background: none repeat scroll 0 0 #EEEEEE;
  font-weight: bold;
  text-align: center;
}

.th-center {
  text-align: center !important;
}

.th-right {
  text-align: right !important;
}

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

.td-url {
  color: #009936 !important;
  direction: ltr;
  font-size: 10px !important;
  text-align: left;
  white-space: nowrap;
}

.log-item {
  border-bottom: 1px solid #efeeee;
  border-top: 1px solid #FFFFFF;
  min-height: 46px;
  padding: 3px 7px;
}

.log-item:hover {
  background: none repeat scroll 0 0 #f7f7f7;
}

.show-map {

}

.log-referred {
  float: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

.log-page-title {
  float: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
}

.log-ip {
  direction: ltr;
  float: right;
  font-size: 10px;
  margin-bottom: 5px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.log-tools {
  float: left;
  margin: 0 2px;
}

.rtl .log-tools {
  float: right;
}

.log-agent {
  float: left;
}

/*
.ui-sortable {
  min-height: 100px;
}
*/

.table-stats tr, .table-stats td {
  background-color: white;
  transition: 1s all;
}

.table-stats tr:last-child td {
  border-bottom: 0;
}

.table-stats tr:hover:not(:first-child) td {
  background-color: rgba(241, 241, 241, 0.65) !important;
}

.table-stats tr:first-child td {
  border: 0 none;
  text-align: left;
}

.rtl .table-stats.left-align tr,
.rtl .table-stats.left-align td {
  text-align: left !important;
}

.rtl .table-stats tr, .rtl .table-stats td {
  text-align: right !important;
}

.rtl .table-stats .log-tools {
  float: right;
}

.rtl .table-stats .th-center {
  text-align: center !important;
}

.rtl .table-stats .th-right {
  text-align: left !important;
}

.table-stats {
  border: 0 none !important;
}

#visits-log {
  direction: ltr;
  height: 290px;
  width: 100%;
}

#search-engine-log {
  direction: ltr;
}

#platform-log {
  direction: ltr;
}

#visits-stats {
  direction: ltr;
}

#exclusion-stats {
  direction: ltr;
}

#search-stats {
  direction: ltr;
}

#page-stats {
  direction: ltr;
}

.wps-wrap .o-table td a.button.disabled {
  span, span:hover {
    color: #56585a !important
  }

  &:hover {
    span, span:hover {
      color: #56585a !important
    }
  }
}

td .wps-tooltip-icon.info {
  width: 12px;
  height: 12px;
  margin-top: 0;
  margin-bottom: -1px;
  background-image: url("data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjE0IiBoZWlnaHQ9IjE0IiB2aWV3Qm94PSIwIDAgMTQgMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02Ljk5OTY3IDAuMzQxNzk3QzMuMzE3NjcgMC4zNDE3OTcgMC4zMzMwMDggMy4zMjY0NiAwLjMzMzAwOCA3LjAwODQ2QzAuMzMzMDA4IDE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NINi4zMzMwMVoiIGZpbGw9IiNEQURDRTAiLz4KPC9zdmc+Cg==")
}

#wp-statistics-referring-widget, #wp-statistics-countries-widget {
  .o-table.wps-new-table {
    tbody {
      tr {
        td.wps-middle-vertical a {
          color: #404bf2 !important;
          font-weight: 500;
        }
      }
    }
  }
}

#most_visited_pages {
  .o-table.wps-new-table {
    tbody {
      tr {
        td {
          padding: 6.5px 0 6.5px 40px !important;
          vertical-align: middle;

          &:first-child {
            padding-left: 24px !important;

            .rtl & {
              padding-right: 24px !important;
            }
          }

          &:last-child {
            padding-right: 24px !important;

            .rtl & {
              padding-left: 24px !important;
            }
          }
        }
      }
    }
  }
}

.wps-wrap .o-table--wps-summary-stats  , .o-table--wps-summary-stats{
  position: relative;
  border-collapse: collapse;

  thead {
    th {
      color: #444F5C !important;
       font-weight: 400;
      font-size: 13px;
      line-height: 16px;
      border-bottom: 1px solid #EEEFF1;
      text-align: left;

      .rtl & {
        text-align: right;
       }

      &:last-child {
        text-align: right;
         .rtl & {
          text-align: left;
         }
      }
    }
  }

  tbody {
    tr {
      &:nth-child(even) td {
        background-color: #FAFAFB!important;
      }

      td {
         font-size: 14px;
        color: #0C0C0D;

        .rtl & {
          text-align: right;
         }


        a:not(.wps-link-arrow) {
          text-decoration: none;
        }

        .quickstats-values {
          font-weight: 400;
          font-size: 14px;
          color: #0C0C0D;
        }
      }
    }

  }
}

#wp-statistics-comparison-widget .inside{
  margin-top: -8px!important;
  .col__data a{
    text-transform: capitalize;
  }
}

.wps-content-analytics , .wps-category-analytics{
  .o-table-wrapper{
    margin-right: -24px;
    margin-left: -24px;
  }
}

.wps-new-table{

  thead th:has(.wps-tooltip)  {
    .wps-tooltip-icon{
      width: 12px;
      height: 12px;
      margin-bottom: -2px;
    }
  }

  &--404{
    table-layout: fixed;

    thead tr th:last-child{
      width: 100px;
      max-width: 100px;
      box-sizing: border-box;
    }

    tbody{
      tr{
        td:first-child span ,td:first-child a{
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          max-width: 100%;
          display: block;
        }

        td:last-child{
          width: 100px;
          max-width: 100px;
          box-sizing: border-box;
        }
      }
    }
  }
  tbody{
    tr{
      td{
        vertical-align: middle;
        .wps-referral-link , .wps-entry-page{
          display: flex;
          flex-direction: column;
          gap: 3px;

          .wps-ellipsis-parent.wps-internal-link .wps-tooltip i{
            margin-top: 1px!important;
          }

          .wps-referral-label , .wps-campaign-label{
            background: #00000005;
            padding:2px;
            border-radius:2px;
            color:#636363;
            font-size: 11px;
            font-weight: 400;
            line-height: 11.97px;
            text-transform: uppercase;
            max-width: fit-content;
            display: inline-block;
          }
        }
      }
    }
  }
}
