/*=================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: 14px;
    color: #50575e;
    margin-bottom: 14px;
    padding-left: 18px;
    margin-top: 8px;
}
/* General icon alignment */
.column-actions, td.column-actions {
    text-align: right;
    vertical-align: middle;
    width: 40px;
    position: relative;
    padding-right: 10px;
    white-space: nowrap;
    z-index: 1;
}
.astr-event .column-actions {
    position: relative;
}
/*for plugins all*/
.astr-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    text-decoration: none;
    outline: none;
    display: inline-block;
    line-height: 28px;
    vertical-align: middle;
}
.astr-plugins-filters {
    margin:10px 0;
    display:flex;
    gap:10px;
    align-items:center;
}
.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;
}
/* Tablet: horizontal scroll */
@media screen and (max-width: 1024px) {
    .astr-table-wrap {
        overflow-x: auto;
    }
}
.astr-table-wrapper {
    position: relative;
}
.astr-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.astr-plugins-filters-forms {
    display:flex;
    gap:10px;
    align-items:center;
}
.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%;
    margin: 10% auto;
    font-size: 14px;
    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 */
.astr-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000;
    text-decoration: none;
    font-weight: normal;
}
.astr-sort-arrow {
    font-size: 20px;
    color: #999;
    opacity: 0.6;
}
.astr-sort-link.active .astr-sort-arrow {
    color: #000;
    opacity: 1;
}
/*paginations */
.astr-tablenav-pages {
    float: right;
    margin-top: 0;
    text-align: right;
    font-size: 14px;
}
.astr-inline-form {
    display:inline-block;
    margin:0;
    vertical-align:middle;
}
/*=================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-columns {
    display: flex;
    gap: 20px;
}

.astr-preview-col {
    width: 50%;
    background: #f9f9f9;
    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: 14px;
    line-height: 1.4;
}

.astr-preview-columns {
    display: flex;
    gap: 20px;
}

.astr-preview-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.astr-preview-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

.astr-preview-scroll {
    background: #f9f9f9;
    border: 1px solid grey;
    padding: 5px;
    overflow-y: auto;
    max-height: 400px;
}

.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-tab-content {
    display: block;
}
.astr-modal-footer {
    position:absolute;
    bottom:20px;
    right:20px;
    display:flex;
    gap:10px;
}
.astr-modal-cancel {
    display:inline;
}
/* === AST Responsive Tables (Pages + Posts) === */

@media screen and (max-width: 782px) {
    .astr-responsive-table {
        width: 100%;
    }
    .astr-responsive-table thead {
        display: none;
    }
    .astr-responsive-table tbody,
    .astr-responsive-table tr,
    .astr-responsive-table td {
        display: block;
        width: 100%;
    }

    .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-buttons-row {
    display:flex;
    gap:10px;
    align-items:center;
}
.astr-btn-success {
    color: #2da44e !important;
    border-color: #2da44e !important;
    background: #fff !important;
}
