/* Post Views Counter settings */
.post-views-counter-settings.has-sidebar {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
}
.post-views-counter-settings form {
    min-width: 463px;
    width: auto;
    position: relative;
}

.post-views-sidebar {
    width: 280px;
    min-width: 280px;
    margin: 15px 0;
    position: relative;
    order: 1;
}

.post-views-sidebar .inner {
    padding: 2em;
}

.post-views-sidebar>div:not(:last-child) {
    margin-bottom: 3em;
}

.post-views-sidebar .inner img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 20px auto;
}
.post-views-counter-settings p.help, .post-views-counter-settings p.description {
    font-size: 13px;
    font-style: italic;
    line-height: 1.6;
}
.post-views-counter-settings div.ip-box {
    margin-bottom: 3px;
}
.post-views-counter-settings select {
    vertical-align: top;
}
.post-views-counter-settings .available {
    color: #00a32a;
}
.post-views-counter-settings .unavailable {
    color: #d63638;
}
.pvc-subfield{
    margin-top: 12px;
}

/* Single post edit screen */
#misc-publishing-actions #post-views #post-views-display:before {
    display: inline-block;
    font: 400 20px/1 dashicons;
    left: -1px;
    padding: 0 2px 0 0;
    position: relative;
    text-decoration: none !important;
    vertical-align: top;
    color: #888;
    content: "\f185";
    top: -1px;
}

/* Listing edit screen */
.edit-php .widefat th#post_views {
    width: 5.5em;
}
.edit-php .widefat th.column-post_views .dashicons,
.edit-php .widefat th.column-post_views .dashicons:before {
    font-size: 1.1em;
    vertical-align: middle;
}
.edit-php .widefat th .dash-title, .upload-php .widefat th .dash-title {
    display:none;
}
.edit-php .metabox-prefs .dash-icon {
    display:none;
}
.edit-php .widefat td .dashicons,
.edit-php .widefat td .dashicons:before {
    font-size: 1.1em;
}
.edit-php #inline-edit-post_views input {
    width: auto;
}

.is-hidden {
    display:none !important;
    visibility:hidden !important
}
output {
    display: block;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
    width: 100%;
}

.post-views-credits {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.post-views-credits .inner {
    text-align: center;
    margin: 0;
}

.post-views-counter-settings .pvc-button {
    color: #fff;
    background-color: #6610f2;
    border-color: #6610f2;
}

.post-views-counter-settings .pvc-button:active,
.post-views-counter-settings .pvc-button:focus,
.post-views-counter-settings .pvc-button:hover {
    color: #fff;
    background-color: #570ece;
    border-color: #570ece;
}

.post-views-counter-settings .pvc-button:focus {
    box-shadow: 0 0 0 1px #fff,0 0 0 3px #6610f2;
}

.post-views-credits h2 {
    border: none;
    padding-bottom: 0;
    font-size: 23px;
    font-weight: normal;
    margin: 0.25em 0 0.5em;
    color: #6610f2;
}

.post-views-credits h3 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: #6610f2;
}

.post-views-credits p:first-child {
    margin-top: 0;
}

.post-views-credits .pvc-sidebar-title {
    font-size: 17px;
    font-weight: bold;
    margin: 10px 0 20px;
}

.post-views-credits .pvc-sidebar-body {
    padding-bottom: 0;
    font-size: 14px;
    text-align: left;
    margin: 2em 0;
    padding: 0;
}

.post-views-credits .pvc-sidebar-footer {
    margin: 1em 0;
}

.post-views-credits .pvc-sidebar-body p {
    padding-left: 20px;
    margin: 0.75em 0;
    position: relative;
}

.post-views-credits .pvc-sidebar-body b {
    font-weight: bold;
    color: #000;
}

.post-views-credits .pvc-sidebar-body .pvc-icon {
    position: absolute;
    top: 0;
    left: 0;
}

.post-views-credits .pvc-sidebar-body .pvc-icon-check {
    box-sizing: border-box;
    display: block;
    transform: scale(1);
    width: 16px;
    height: 22px;
    border-radius: 100px;
}

.post-views-credits .pvc-sidebar-body .pvc-icon-check::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 10px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  transform-origin: bottom left;
  transform: rotate(45deg);
}

#post_views_counter_other_license_setting .pvc-icon {
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    transform: scale(1);
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 40px;
    vertical-align: middle;
    margin-left: 3px;
    top: -2px;
    color: #b32d2e;
}

#post_views_counter_other_license_setting:not(.valid) .pvc-icon:before,
#post_views_counter_other_license_setting:not(.valid) .pvc-icon:after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 8px;
    left: 1px
}

#post_views_counter_other_license_setting:not(.valid) .pvc-icon:after {
    transform: rotate(-45deg)
}

#post_views_counter_other_license_setting.valid .pvc-icon {
    color: #1da867;
}

#post_views_counter_other_license_setting.valid .pvc-icon:after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    left: 3px;
    top: -1px;
    width: 6px;
    height: 10px;
    border-width: 0 2px 2px 0;
    border-style: solid;
    transform-origin: bottom left;
    transform: rotate(45deg);
}

#pvc-reports-upgrade {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 400px;
}

#pvc-reports-bg {
    width: 100%;
    height: auto;
    opacity: 0.8;
    filter: blur(2px);
}

#pvc-reports-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5em 3em;
    box-shadow: 0 0 25px 10px rgba(0,0,0,0.1);
    border-radius: 3px;
    background-color: #fff;
    text-align: center;
    width: 26em;
}

#pvc-reports-modal p {
    margin: 0;
}

#pvc-reports-modal h2 {
    font-size: 21px;
    font-weight: 400;
    margin: 0 0 10px 0;
    padding: 9px 0 4px;
    line-height: 1.3;
}

#pvc-reports-modal .button {
    margin-top: 25px;
    margin-bottom: 10px;
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 960px) {
    .post-views-counter-settings {
        flex-wrap: wrap;
    }
    .post-views-counter-settings .post-views-sidebar {
        width: 100%;
    }
}