.adj-as-wrap {
    /* max-width: 980px; */
    margin: 0 auto 30px;
}

.adj-as-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.adj-as-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.adj-as-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.adj-as-form,
.adj-as-login-form {
    display: block;
}

.adj-as-grid,
.adj-as-filter-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adj-as-field {
    margin-bottom: 18px;
}

.adj-as-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.adj-as-field input[type="text"],
.adj-as-field input[type="email"],
.adj-as-field input[type="password"],
.adj-as-field input[type="file"],
.adj-as-field select,
.adj-as-field textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.adj-as-field textarea {
    min-height: 130px;
    resize: vertical;
}

.adj-as-field small {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 13px;
}

.adj-as-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.adj-as-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.adj-as-actions {
    margin-top: 8px;
}

.adj-as-actions button,
.adj-as-logout {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.adj-as-actions button:hover,
.adj-as-logout:hover {
    opacity: 0.92;
    color: #fff;
}

.adj-as-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.adj-as-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.adj-as-admin-header h3 {
    margin: 0;
}

.adj-as-total {
    margin: 18px 0;
    color: #475467;
}

.adj-as-table-wrap {
    overflow-x: auto;
}

.adj-as-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.adj-as-table th,
.adj-as-table td {
    border: 1px solid #eaecf0;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.adj-as-table th {
    background: #f9fafb;
    font-weight: 700;
}

.adj-as-empty {
    padding: 20px;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    background: #fff;
}

.adj-as-pagination ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 24px 0 0;
}

.adj-as-pagination a,
.adj-as-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    text-decoration: none;
}

.adj-as-pagination .current {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

@media (max-width: 767px) {
    .adj-as-grid,
    .adj-as-filter-grid {
        grid-template-columns: 1fr;
    }

    .adj-as-admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.adj-as-info-trigger-wrap {
    margin-bottom: 20px;
}

.adj-as-info-trigger {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    background: #344054;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.adj-as-info-trigger:hover {
    opacity: 0.92;
}

.adj-as-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.adj-as-modal.is-open {
    display: block;
}

.adj-as-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
}

.adj-as-modal-dialog {
    position: relative;
    width: min(860px, calc(100% - 30px));
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    margin: 30px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 28px 24px;
    z-index: 2;
}

.adj-as-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #101828;
}

.adj-as-modal-content {
    color: #101828;
    line-height: 1.7;
    font-size: 15px;
}

.adj-as-modal-content h1,
.adj-as-modal-content h2,
.adj-as-modal-content h3,
.adj-as-modal-content h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.adj-as-modal-content p {
    margin-bottom: 14px;
}

body.adj-as-modal-open {
    overflow: hidden;
}

/* modal WYSIWYG */
.adj-as-modal-content {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.75;
}

.adj-as-modal-content > *:first-child {
    margin-top: 0;
}

.adj-as-modal-content > *:last-child {
    margin-bottom: 0;
}

.adj-as-modal-content h2 {
    margin: 32px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

.adj-as-modal-content h3 {
    margin: 24px 0 10px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
}

.adj-as-modal-content h4 {
    margin: 18px 0 8px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    color: #111827;
}

.adj-as-modal-content p {
    margin: 0 0 16px;
}

.adj-as-modal-content ul,
.adj-as-modal-content ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.adj-as-modal-content li {
    margin-bottom: 8px;
}

.adj-as-modal-content li:last-child {
    margin-bottom: 0;
}

.adj-as-modal-content strong {
    font-weight: 700;
    color: #111827;
}

.adj-as-modal-content em {
    font-style: italic;
}

.adj-as-modal-content a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.adj-as-modal-content a:hover {
    color: #1e40af;
}

.adj-as-modal-content hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid #d1d5db;
}

.adj-as-modal-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 10px;
}

.adj-as-modal-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 4px solid #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.adj-as-modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.adj-as-modal-content table th,
.adj-as-modal-content table td {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.adj-as-modal-content table th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.adj-as-modal-content code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #f3f4f6;
    font-size: 0.95em;
}

.adj-as-modal-content .wp-caption,
.adj-as-modal-content .aligncenter {
    max-width: 100%;
}

.adj-as-modal-content .wp-caption-text {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 767px) {
    .adj-as-modal-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .adj-as-modal-content h2 {
        margin: 26px 0 12px;
        font-size: 21px;
    }

    .adj-as-modal-content h3 {
        margin: 20px 0 8px;
        font-size: 17px;
    }

    .adj-as-modal-content h4 {
        font-size: 15px;
    }

    .adj-as-modal-content ul,
    .adj-as-modal-content ol {
        margin-left: 18px;
    }
}