/*=================Plugins=================*/
/* Blue "i" icon */
.astr-info-circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: #2271b1;
    color: white;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    font-family: Arial, sans-serif;
    flex-shrink: 0;
    vertical-align: middle;
    margin: 0;
    position: relative;
    left: 0;
}
.astr-info-circle::before {
    content: "i";
}
/* Hidden block  */
.astr-cli-info-block {
    right: 0;
    top: 100%;
    transform: translateY(6px);
    max-width: 400px;
    white-space: normal;
    display: none !important;
}
.astr-hidden {
    display: none;
}
/*open icon arrow) */
.astr-toggle-arrow {
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    transform: translateY(-1px);
    transition: transform 0.3s ease;
    color: #444;
}
.astr-chevron {
    display: inline-block;
    transition: transform 0.3s ease;
}
.astr-toggle-arrow[aria-expanded="true"] .astr-chevron {
    transform: rotate(180deg);
}
/* Inactive arrow (if there is nothing to expand)*/
.astr-toggle-arrow.astr-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
.astr-toggle-arrow.astr-disabled .astr-chevron {
    stroke: #999 !important;
    transform: none !important;
    opacity: 0.6;
}
/*styles for zebra */
.astr-event-row-light {
    background-color: #ffffff !important;
}
.astr-event-row-dark {
    background-color: #ebebeb !important;
}
/* zebra for nested lines */
.astr-event.astr-event-row-light {
    background-color: #fefefe !important;
}
.astr-event.astr-event-row-dark {
    background-color: #f6f6f6 !important;
}
.astr-event {
    margin-left: 1.5em;
    margin-top: 4px;
}
/* additional conclusion */
.astr-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1d2327;
    font-family: "Open Sans", sans-serif;
    padding-left: 18px;
}

.astr-modal-subtitle {
    font-size: 13px;
    color: #50575e;
    margin-bottom: 13px;
    padding-left: 18px;
    margin-top: 8px;
}
/* General icon alignment */
.astr-column-actions, td.astr-column-actions {
    text-align: right;
    vertical-align: middle;
    width: 40px;
    position: relative;
    padding-right: 10px;
    white-space: nowrap;
    z-index: 1;
}
.astr-event .astr-column-actions {
    position: relative;
}
/*for plugins all*/
.astr-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #1d2327;
    text-decoration: none;
    outline: none;
    display: inline-block;
    line-height: 28px;
    vertical-align: middle;
}
.astr-red {
    font-size: 13px !important;
    padding: 0 8px 0 8px !important;
}
.tablenav .actions {
    padding: 0 !important;
}
.astr-plugins-filters {
    display: flex;
    gap:10px;
    align-items:center;
    padding: 0 8px 0 0 !important;
    margin: 0 !important;
}
.astr-all-link .astr-total-count {
    color: #6c7781;
    font-size: 13px;
}

/*Active search */
.astr-all-link.active {
    color: #2271b1;
}

.astr-all-link.active .astr-total-count {
    color: #1d2327;
}

/* Removing underlining*/
.astr-all-link:hover,
.astr-all-link:focus {
    text-decoration: none !important;
}

/* Only when in focus - frame */
.astr-all-link:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 1px;
}

/* Don't highlight link on hover if it's inactive*/
.astr-all-link:not(.active):hover {
    color: #1d2327;
}
.subsubsub a {
    font-size: 13px;
    line-height: 2;
    text-decoration: none;
    padding: 0 !important;
}
/* Tablet: horizontal scroll */
@media screen and (max-width: 1024px) {
    .astr-table-wrap {
        overflow-x: auto;
    }
}
.astr-plugins-filters-forms {
    display: flex;
    align-items:center;

}
p.search-box {
    column-gap: 3px;
}
.astr-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.astr-plugins-dates {
    cursor:pointer;
}
.astr-hr {
    margin:10px 0;
}
.astr-list {
    margin-top:4px;
}
.astr-muted-text {
    color: #777;
}
/*=================Plugins, Customizer=================*/
/* modal window*/
.astr-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.astr-modal-content {
    background: #fff;
    color: #2c3338;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    padding: 20px 30px;
    max-width: 600px;
    width: 90%;
    font-size: 13px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    font-family: "Open Sans", sans-serif;
    position:fixed;
    top:50%;left:50%;
    transform:translate(-50%,-50%);
    z-index:9999;
    min-width:300px;
    min-height:150px;
}
.astr-modal-content ul {
    margin-top: 0;
    padding-left: 18px;
}
.astr-modal-content li {
    margin-bottom: 6px;
}
.astr-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 20px;
    color: #72777c;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    float:right;
}
.astr-modal-close:hover {
    color: #000;
}
/*=================Helpers=================*/
/*arrow for filters */
.wp-list-table th a {
    color: #1d2327 !important;
}
.astr-sort-link {
    color: #000;
    text-decoration: none;
}
.astr-sort-arrow {
    font-size: 20px;
    color: #999;
    opacity: 0.6;
}
.astr-sort-link.active .astr-sort-arrow {
    font-weight: 600;
}
.astr-sort-link .dashicons {
    color: #999;
}
.astr-sort-link.active .dashicons {
    color: #000;
}
.astr-table {
    margin-top: 9px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box;
}

.astr-filter {
    /*margin-bottom: 20px !important;*/
}
.astr-table-padding td {
    padding: 18px 10px;
}
.astr-filter-plugins{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.astr-filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
/*paginations */
.astr-tablenav-pages {
    float: none;
    text-align: right;
    font-size: 13px;
    align-items: center !important;
}
.astr-inline-form {
    display:inline-block;
    margin-bottom:0;
    vertical-align:middle;
}
.astr-inline-form .astr-current-page {
    text-align: center;
}
.astr-tablenav-pages .astr-pagination-links {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
/*=================Customizer=================*/
/*Modal Castomaiser*/
.astr-modal.hidden {
    display: none;
}
.astr-modal {
    position: fixed;
    inset: 0;
}

.astr-modal-overlay {
    inset: 0;
    position:fixed;
    top:0;left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    z-index:9998;
}

.astr-modal-window {
    position: relative;
    background: #fff;
    width: 80%;
    max-width: 1000px;
    margin: 5% auto;
    padding: 20px;
}

.astr-preview-col {
    width: 50%;
    padding: 10px;
    overflow: auto;
}
#astr-preview-modal .astr-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    z-index: 9999;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}
.astr-preview-modals {
    display:none;
}
#astr-preview-modal .astr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.astr-preview-header {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.4;
}

.astr-preview-columns {
    display: flex;
    gap: 20px;
    height: 100%;
    min-height: 0;
}

.astr-preview-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.astr-preview-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    flex: 0 0 auto;
    padding: 8px 10px;
}

.astr-preview-scroll {
    background: #f9f9f9;
    border: 1px solid grey;
    padding: 5px;
    max-height: 400px;
    flex: 1;
    overflow: auto;
    min-height: 0;
}
.astr-preview-scroll pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    margin: 0;
}

.astr-preview-row {
    margin-bottom: 10px;
}

.astr-preview-row pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.astr-changed {
    background: #eaffea;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 3px;
}

.astr-changed-old {
    background: #ffeaea;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 3px;
}
.astr-css-box {
    white-space: pre;
    font-family: monospace;
}
.astr-tab-content {
    display: block;
}
.astr-modal-footer {
    position: static;
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
}
.astr-modal-cancel {
    display:inline;
    width: 65px;
    padding: 0 8px 0 8px !important;
}
.astr-modal-footer .button {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    border-radius: 2px !important;
}
/* === AST Responsive Tables (Pages + Posts) === */

@media screen and (max-width: 782px) {
    .astr-responsive-table {
        width: 100%;
        box-sizing: border-box;
    }
    .astr-responsive-table thead {
        display: none;
    }
    .astr-responsive-table tbody,
    .astr-responsive-table tr,
    .astr-responsive-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .astr-responsive-table tr {
        background: #fff;
        /*margin-bottom: 16px;*/
        border: 1px solid #ccd0d4;
        /*border-radius: 6px;*/
        padding: 8px 12px;
    }

    .astr-responsive-table td {
        padding: 6px 0;
        border: none;
    }

    .astr-responsive-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #555;
        margin-bottom: 2px;
    }
}
.astr-responsive-table td,
.astr-responsive-table th {
    vertical-align: middle;
}
.astr-buttons-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 8px;
}
.astr-buttons-row form {
    margin: 0;
    display: flex;
}
.astr-buttons-row .button,
.astr-buttons-row input[type="submit"] {
    margin: 0;
    line-height: 1;
    height: 28px;
    display: inline-flex;
    align-items: center;
}
.astr-buttons-width .button {
    width: 130px !important;
}
.astr-css-table td,
.astr-css-table th {
    vertical-align: middle;
}
.astr-btn-success {
    color: #2da44e !important;
    border-color: #2da44e !important;
    background: #fff !important;
}
/* === dashboard === */
.astr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.astr-period-switch {
    display: inline-flex;
    gap: 15px;
    margin: 10px 0 10px 0;
}
.astr-period-switch a {
    display: inline-flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    padding: 12px 12px;
    border: 1px solid #ccd0d4;
    border-radius: 2px;
    color: #2271b1;
    font-size: 13px;
    width: 45px;
    height: 15px;
}
.astr-period-switch a.active {
    background: #2271b1;
    color: #fff;
}
.astr-user-filter {
    height: 28px;
    line-height: 28px !important;
    padding: 2px 28px 2px 8px !important;
    font-size: 13px !important;
    border: 1px solid #ccd0d4;
    border-radius: 2px !important;
    min-width: 100px;
    width: auto;
}
.astr-card h2 {
    margin-top: 0;
}
.astr-textarea {
    width: 450px;
    max-width: 450px;
}
.astr-dashboard-h {
    margin-bottom: 10px !important;
}
.astr-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}
.astr-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}
.astr-card ul li:last-child {
    border-bottom: none;
}
.astr-users-das {
    display: flex;
    gap: 15px;
    font-size: 13px;
}

.astr-chart-legend {
    display: flex;
    font-size: 13px;
    gap: 15px;
}
.astr-chart-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    vertical-align: middle;
}
.astr-svg-wrapper {
    padding: 10px 0;
}
.astr-svg-wrapper svg {
    width: 100%;
    height: 250px;
    overflow: visible;
}
.astr-card-header {
    background: #f6f7f7;
    border-bottom: 1px solid #ccd0d4;
    padding: 10px 15px;
}
.astr-card-header h2 {
    margin: 0;
    font-size: 13px;
}
.astr-card ul {
    padding: 15px;
    margin: 0;
}
.astr-chart-legend label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
}
.astr-chart-legend input {
    cursor: pointer;
}
.astr-check {
    display: inline-flex;
    align-items: center;
    gap: 5px !important;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
}
.astr-check input {
    display: none;
}
.astr-check .box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}
.astr-check .box:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.astr-check input:checked + .box:after {
    opacity: 1;
}
.astr-check.astr-posts .box {
    background: #2271b1;
}
.astr-check.astr-pages .box {
    background: #ed811b;
}
.astr-check.astr-plugins .box {
    background: #87a96b;
}
.astr-check.astr-css .box {
    background: #68b7de;
}
.astr-bar {
    transition: opacity 0.2s ease;
}
.astr-bar-label {
    font-size: 10px;
    fill: #ffffff;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    user-select: none;
}
/* === SVG SYSTEM === */
.astr-grid-line {
    stroke: #e0e0e0;
    stroke-dasharray: 3,3;
}
.astr-axis-line {
    stroke: #ccd0d4;
}
.astr-y-label {
    font-size: 11px;
    fill: #646970;
    text-anchor: end;
}
.astr-x-label {
    font-size: 11px;
    fill: #646970;
    transform: rotate(-45deg);
    transform-origin: center;
    transform-box: fill-box;
    text-anchor: end;
}
.astr-total-label {
    font-size: 11px;
    fill: #1d2327;
    font-weight: 600;
    text-anchor: middle;
}
/* === gradients === */
.astr-bar.astr-posts { fill: url(#astr-grad-posts); }
.astr-bar.astr-pages { fill: url(#astr-grad-pages); }
.astr-bar.astr-plugins { fill: url(#astr-grad-plugins); }
.astr-bar.astr-css { fill: url(#astr-grad-css); }
/* === gradient colors === */
.astr-stop-posts-top { stop-color: #4da3ff; }
.astr-stop-posts-bottom { stop-color: #1b5fa7; }
.astr-stop-pages-top { stop-color: #ffc46b; }
.astr-stop-pages-bottom { stop-color: #c96b00; }
.astr-stop-plugins-top { stop-color: #708238; }
.astr-stop-plugins-bottom { stop-color: #87a96b; }
.astr-stop-css-top { stop-color: #8de0ff; }
.astr-stop-css-bottom { stop-color: #2a9ec4; }
/* === shadow === */
.astr-bar {
    filter: url(#astr-shadow);
    transition: opacity 0.2s ease, transform 0.15s ease;
}
/* === hover === */
.astr-bar:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
@media screen and (max-width: 782px) {

    /* All | Published */
    .subsubsub {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }

    /* Search block */
    .search-form {
        width: 100%;
    }

    .search-box {
        float: none !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
    }

    .search-box input[type="search"] {
        width: 100%;
    }

    .search-box .button {
        width: 100%;
    }

    /* Filters */
    .tablenav .actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .tablenav .actions select {
        width: 100%;
        max-width: none;
    }

    .tablenav .actions .button {
        width: 100%;
    }

    /* Pagination */
    .astr-tablenav-pages {
        text-align: center;
        /*margin-top: 10px;*/
    }

    /* Table rows */
    .astr-responsive-table tr {
        padding: 12px;
    }

    .astr-responsive-table td {
        padding: 8px 0;
    }

    /* Revisions button */
    .astr-responsive-table td:last-child .button,
    .astr-responsive-table td:last-child form {
        width: auto;
    }

    .astr-responsive-table td:last-child .button {
        text-align: center;
        justify-content: center;
    }
}

.astr-subsubsub {
    margin: 3px 0 0!important;
}

.astr-search-box {
    margin: 0px 0!important;
}

.astr-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    align-items:center;
    justify-content: space-between;
}

.astr-card li {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.astr-responsive-table td:last-child .button {
    white-space: nowrap;
    /*word-break: break-word;*/
}


.astr-buttons-left > * {
    margin-left: 0 !important;
}

.astr-buttons-row.astr-buttons-left {
    padding: 0;
}

.widefat td, .widefat th {
    padding: 6px 8px;
}

.subsubsub {
    margin: 2px 0 0;
}

p.search-box {
    margin: -2px 0;
}

.tablenav {
    margin: 8px 0 6px;
}

.astr-preview-header {
    overflow-wrap: break-word;
    word-break: break-word;
}

.astr-tablenav-bottom {
    margin-bottom: 25px;
}

.nav-top {
    margin-top: 12px;
    margin-bottom: 23px;
}

.astr-table-space {
    margin-top: 24px!important;
}

.tablenav-fix {
    margin-top: -12px;
}

.astr-nov-fix {
    margin-top: 10px;
}






@media screen and (max-width: 1200px) {
    .astr-buttons-row {
        display: block;
    }

    .astr-buttons-row .button, .astr-buttons-row input[type="submit"] {
         margin: 8px;
    }
}

@media screen and (min-width: 783px) and (max-width: 1100px) {

    .astr-red {
        font-size: 12px !important;
        padding: 0 3px 0 3px !important;
    }

}


@media screen and (max-width: 782px) {


    .astr-svg-wrapper svg{
        height:190px;
    }

    .astr-x-label,
    .astr-y-label,
    .astr-total-label,
    .astr-bar-label{
        font-size:9px;
    }

    .astr-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .astr-grid .astr-card {
        margin: 0;
    }

    .astr-grid .astr-card ul {
        margin: 0;
        padding-left: 18px;
    }

    #wpbody-content {
        padding-bottom: 65px;
    }

    .search-box form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .search-box input[type="search"] {
        width: 100%;
        box-sizing: border-box;
    }

    .search-box .button {
        width: auto;
        align-self: flex-start;
    }

    .astr-plugins-filters-forms {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .astr-filter-plugins .button {
        margin-bottom: 0;
    }

    .astr-plugins-filters-forms {
        display: flex;
        flex-wrap: wrap;
        align-items: center; gap: 8px;
    }

    .astr-filter-plugins .button {
        margin-bottom: 0;
    }

    .tablenav.bottom {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0;
        height: auto;
    }
    .astr-tablenav-pages {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        /*gap: 6px;*/
        flex-wrap: wrap;
        float: none;
        width: 100%;
        text-align: center;
        /*margin-right: 6px;*/
        margin-top: 5px;
    }
    .astr-tablenav-pages .button, .astr-tablenav-pages .current-page, .astr-tablenav-pages .tablenav-pages-navspan {
        min-width: 34px;
        height: 34px;
        line-height: 32px;
        padding: 0 8px;
        box-sizing: border-box;
        text-align: center; margin: 0; }
    .astr-tablenav-pages .displaying-num {
        width: 100%;
        text-align: center;
        margin-bottom: 6px;
    }

    .astr-current-page{
        height:34px;
        min-height:34px;
        line-height:34px;
        padding:0;
        box-sizing:border-box;
        vertical-align:middle;
    }

    .tablenav.top .displaying-num {
        display: inline-block;
    }


    .tablenav.bottom .displaying-num {
        position: static;
        top: auto;
        right: auto;
        margin: 0;
    }

    .astr-tablenav-pages .displaying-num {
        width: auto;
        margin-bottom: 0;
    }

    .tablenav .displaying-num {
        margin-right: 7px!important;
    }

    .astr-top-bar {
        display: block;
        margin-bottom: 12px;
    }

    .tablenav .view-switch, .tablenav.top .actions {
        display: block;
        margin-bottom: 18px;
    }

    .tablenav.top {
        margin: 0px 0 -4px;
    }

    .astr-responsive-table tr {
        border: 1px solid #ccd0d4;
    }

    .astr-responsive-table tr:not(:last-child) {
        border-bottom: 0;
    }

    #menu-management .menu-edit, #menu-settings-column
    .accordion-container, .comment-ays, .feature-filter,
    .manage-menus, .menu-item-handle, .popular-tags, .stuffbox,
    .widget-inside, .widget-top, .widgets-holder-wrap, .wp-editor-container,
    p.popular-tags, table.widefat {
         border: none;
    }

    .alignright {
         float: none;
    }

    .wrap h1.wp-heading-inline {
        margin-bottom: 0;
    }

    .subsubsub {
        margin: 2px 0 8px;
    }

    .wp-core-ui .tablenav .button {
        padding: 0px 12px;
    }

    p.search-box input[name="s"] {
        margin-bottom: 5px;
    }

    .alignleft {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .wp-core-ui .tablenav select {
        margin-right: 12px;
    }


    .alignleft select,
    .alignleft .button {
        margin-bottom: 10px;
    }

    .alignleft .button {
        margin-bottom: 0;
    }

    .astr-table {
        margin-top: 0!important;
    }

    .astr-buttons-row {
        display: block;
    }

    .form-table td #astr_email_delay {
        width: auto;
        min-width: 220px;
        max-width: 100%;
        display: inline-block;
    }


    .astr-textarea {
        width: calc(100% - 10px)!important;
        max-width: 450px!important;
        box-sizing: border-box;
    }


    .form-table td>label {
        display: inline-block;
        margin-top: 0.65em;
    }


    .alignleft {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .alignleft select,
    .alignleft .button {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .astr-plugins-filters-forms {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 90%;
    }

    .astr-plugins-filters-forms select,
    .astr-plugins-filters-forms .button {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .astr-theme-filters {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }

    .astr-theme-filters select,
    .astr-theme-filters .button {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .astr-left-filters {
        display: block;
    }

    .astr-left-filters .alignleft {
        grid-template-columns: auto auto;
    }

    .auto-fold #wpcontent {
        padding-right: 10px;
    }

    .nav-tab-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        border-bottom: none;
    }

    .nav-tab-wrapper .nav-tab {
        float: none;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        text-align: center;
    }


    .wrap {
        margin-right: 0!important;
    }


    p.search-box {
        margin-bottom: 15px;
    }


    .astr-table-space {
        margin-top: 23px!important;
        margin-bottom: 17px!important;
    }


    .astr-filter {
        margin-top: 12px !important;
    }

    .astr-tablenav-bottom {
        margin-bottom: 25px;
    }

    .alignleft-bottom {
        margin-bottom: 15px;
    }

    .astr-filters-top {
        margin-top: 27px;
    }

    .nav-tab-active {
        border-bottom: 2px solid #dcdcde;
    }

    .astr-svg-wrapper{
        overflow-x:auto;
        overflow-y:hidden;
    }

    .astr-svg-wrapper svg{
        min-width:900px;
    }

    .astr-responsive-table td {
        overflow-wrap: anywhere;
        word-wrap: break-word;
        word-break: break-word;
    }

    body.adwise-sitetrace_page_astr-options .nav-tab-wrapper + .nav-tab-wrapper {
        margin-top: 12px;
        padding-top: 20px;
        border-top: 2px solid #dcdcde;
    }

}


@media screen and (min-width: 481px) and (max-width: 782px) {

    .astr-responsive-table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 20px;
        padding: 12px;
    }

    .astr-responsive-table td {
        margin: 0;
        padding: 6px 0;
    }

    .astr-responsive-table td:last-child {
        grid-column: 1 / -1;
    }

    .astr-responsive-table td:last-child {
        grid-column: auto;
        align-self: center;
        justify-self: start;
    }


}

@media screen and (max-width: 600px) {

    .astr-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .astr-table-scroll .astr-table-tab {
        min-width: 600px;
        width: max-content;
    }

    .astr-table-scroll .astr-table-end {
        min-width: 600px;
        width: max-content;
    }

}

@media screen and (max-width: 480px) {

    .astr-svg-wrapper svg {
        height: 160px;
    }

    .astr-x-label,
    .astr-y-label,
    .astr-total-label,
    .astr-bar-label {
        font-size: 8px;
    }

    .astr-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .astr-period-switch,
    .astr-chart-legend,
    .astr-users-das {
        width: 100%;
    }

    .astr-period-switch {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .astr-chart-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .astr-users-das {
        width: auto;
        align-self: flex-start;
    }

    .astr-user-filter {
        width: auto;
        min-width: 100px;
    }


    .tablenav.bottom .displaying-num {
        padding-bottom: 0em;
    }

    .alignleft {
        grid-template-columns: repeat(2, 1fr);
    }

    .astr-plugins-filters-forms {
        grid-template-columns: repeat(2, 1fr);
    }

    .astr-theme-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-tab-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .astr-table-end th:last-child,
    .astr-table-end td:last-child {
        width: 24px;
        min-width: 24px;
        max-width: 24px;
        padding: 0;
    }


    #astr-preview-modal .astr-modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        padding: 15px;
        z-index: 9999;
        width: 85%;
        max-width: 520px;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 8px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    }

    .astr-preview-columns{
        display:flex;
        flex-direction:column;
        gap:20px;
    }


    .astr-preview-scroll{
        max-height:none;
        overflow:visible;
    }

    .astr-preview-title {
        padding: 0 10px 10px;
    }

    #astr-preview-modal .astr-modal-content {
        width: calc(100% - 20px);
        max-width: none;
        min-width: 0;
        padding: 12px;
        box-sizing: border-box;
    }
}