.adb-folder-wrap {
    max-height: none;
    overflow: visible;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 14px;
    background: #e6e7e9;
}

.adb-folder-tree {
    margin: 0;
    padding-left: 22px;
    list-style: none;
}

.adb-folder-root {
    padding-left: 0;
}

.adb-folder-item {
    margin: 6px 0;
}

.adb-folder-details > summary {
    cursor: pointer;
    list-style: none;
}

.adb-folder-details > summary::-webkit-details-marker {
    display: none;
}

.adb-folder-details > summary::before {
    content: "▶";
    display: inline-block;
    width: 14px;
    margin-right: 6px;
    color: #2c3338;
    font-size: 12px;
    vertical-align: middle;
}

.adb-folder-details[open] > summary::before {
    content: "▼";
}

.adb-folder-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.3;
}

.adb-folder-item.is-leaf > .adb-folder-label::before {
    content: "▶";
    display: inline-block;
    width: 14px;
    margin-right: 6px;
    color: #2c3338;
    font-size: 12px;
}

.adb-folder-title {
    font-size: 16px;
    color: #1d2327;
}

.adb-folder-item.is-dir .adb-folder-title,
.adb-folder-item.is-root .adb-folder-title {
    font-weight: 700;
}

.adb-folder-item.is-file .adb-folder-title {
    font-size: 14px;
    font-weight: 400;
}

.adb-folder-meta {
    font-size: 15px;
    color: #50575e;
}

.adb-folder-label input[type="checkbox"] {
    margin: 0 1px 0 0;
    transform: translateY(1px);
}

.adb-auth-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.adb-auth-status {
    margin: 0;
}

.adb-inline-form {
    margin: 0;
}

.adb-inline-form .submit {
    margin: 0;
    padding: 0;
}

.adb-restore-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.adb-restore-form .submit {
    margin: 0;
    padding: 0;
}

.adb-file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.adb-explorer-table th:first-child,
.adb-explorer-table td:first-child {
    width: 28px;
    padding-left: 8px;
    padding-right: 2px;
}

.adb-explorer-table th:nth-child(2),
.adb-explorer-table td:nth-child(2) {
    padding-left: 6px;
}

.adb-explorer-table input[type="checkbox"] {
    margin: 0;
}

#adminmenu .toplevel_page_techjaw-tools .wp-menu-image {
    overflow: hidden;
}

#adminmenu .toplevel_page_techjaw-tools .wp-menu-image img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    object-position: center;
    margin: 7px auto 0 !important;
    padding: 0 !important;
    display: block;
}
.adb-honeypot-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 18% 12%, rgba(64, 119, 255, 0.12), transparent 28rem),
        linear-gradient(145deg, #edf1f6, #f8fafc);
    color: #18202a;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.adb-honeypot-card {
    width: min(88vw, 390px);
    padding: 38px;
    border: 1px solid #d5dce5;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 70px rgba(28, 42, 62, 0.16);
}

.adb-honeypot-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: linear-gradient(145deg, #173b67, #2877c7);
    box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.13);
}

.adb-honeypot-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.adb-honeypot-intro {
    margin: 0 0 25px;
    color: #667180;
}

.adb-honeypot-card label {
    display: block;
    margin: 16px 0 7px;
    font-weight: 700;
}

.adb-honeypot-card input {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #b7c0cc;
    border-radius: 7px;
    background: #fff;
    color: #18202a;
    font: inherit;
}

.adb-honeypot-card input:focus {
    border-color: #2877c7;
    outline: 3px solid rgba(40, 119, 199, 0.16);
}

.adb-honeypot-card button {
    width: 100%;
    margin-top: 24px;
    padding: 13px 16px;
    border: 0;
    border-radius: 7px;
    background: #173b67;
    color: #fff;
    font: 700 16px/1.2 "Trebuchet MS", "Segoe UI", sans-serif;
    cursor: pointer;
}

.adb-honeypot-card button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.adb-honeypot-error {
    margin: 18px 0;
    padding: 11px 13px;
    border-left: 4px solid #c73535;
    background: #fff0f0;
    color: #852020;
}

.adb-honeypot-loading {
    margin-top: 18px;
    color: #536071;
    text-align: center;
}

.adb-honeypot-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 7px;
    border: 2px solid #c5ced9;
    border-top-color: #2877c7;
    border-radius: 50%;
    vertical-align: -2px;
    animation: adb-honeypot-spin 0.7s linear infinite;
}

@keyframes adb-honeypot-spin {
    to {
        transform: rotate(360deg);
    }
}

.adb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--adb-gallery-columns, 4), minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.adb-gallery-tile {
    min-width: 0;
    margin: 0;
}

.adb-gallery-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eef0f2;
}

.adb-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.adb-gallery-copy {
    padding: 12px 2px 0;
    color: inherit;
}

.adb-gallery-title {
    margin: 0 0 5px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.adb-gallery-caption {
    margin: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.adb-gallery-admin-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.adb-gallery-sidebar,
.adb-gallery-content,
.adb-gallery-add-card,
.adb-gallery-admin-item {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #c3c4c7;
    background: #fff;
}

.adb-gallery-content {
    min-width: 0;
}

.adb-gallery-list {
    margin: 0;
}

.adb-gallery-list a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
}

.adb-gallery-list a.is-active {
    background: #2271b1;
    color: #fff;
    font-weight: 700;
}

.adb-gallery-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
    margin: 18px 0 26px;
}

.adb-gallery-settings label,
.adb-gallery-fields label {
    display: grid;
    gap: 5px;
    font-weight: 600;
}

.adb-gallery-add-card {
    margin: 0 0 26px;
    background: #f6f7f7;
}

.adb-gallery-fields {
    display: grid;
    gap: 12px;
}

.adb-gallery-fields input[type="text"],
.adb-gallery-fields input[type="url"],
.adb-gallery-fields textarea {
    width: 100%;
}

.adb-gallery-admin-items {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.adb-gallery-admin-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
}

.adb-gallery-admin-thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.adb-gallery-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .adb-gallery-grid {
        grid-template-columns: repeat(var(--adb-gallery-tablet-columns, 2), minmax(0, 1fr));
        gap: 16px;
    }

    .adb-gallery-admin-layout,
    .adb-gallery-admin-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .adb-gallery-grid {
        grid-template-columns: 1fr;
    }
}
