/* Shortcode Manager admin styles */

/* ── Toolbar ─────────────────────────────────────────────────────────────── */

.scc-toolbar {
    margin-bottom: 12px;
}

.scc-toolbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.scc-filter-tabs {
    display: inline-flex;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    overflow: hidden;
}

.scc-manager-filter-tab {
    flex: 1;
    border: 0;
    border-right: 1px solid #c3c4c7;
    background: #f6f7f7;
    cursor: pointer;
    padding: 6px 16px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.scc-manager-filter-tab:last-child {
    border-right: 0;
}

.scc-filter-tab-active {
    background: #2271b1;
    color: #fff;
    font-weight: 600;
}

.scc-search-wrap input[type="search"] {
    width: 240px;
}

/* ── Table sections ─────────────────────────────────────────────────────── */

.scc-manager-table-section {
    margin-bottom: 24px;
}

.scc-table-section-heading {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    padding: 0;
    color: #1d2327;
}

.scc-table-card {
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.scc-admin-page .wp-list-table {
    margin: 0;
    border: 0;
    box-shadow: none;
}

.scc-admin-page .tablenav {
    display: none;
}

.scc-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.scc-status-enabled {
    background: #dff0d8;
    color: #2f5f2f;
}

.scc-status-disabled {
    background: #f2dede;
    color: #7a2f2f;
}

.scc-status-hidden {
    background: #e5e5e5;
    color: #555555;
}

.scc-status-orphaned {
    background: #fef3cd;
    color: #7a4f00;
}

.scc-orphaned-description {
    margin: 12px 0 8px;
    color: #50575e;
}

.scc-empty-tab {
    padding: 24px 0;
    color: #777;
    font-style: italic;
}

.scc-status-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.scc-action-link {
    text-decoration: none;
    font-size: 13px;
}

.scc-text-danger {
    color: #d63638;
}

.scc-text-danger:hover {
    color: #b32d2e;
}

.scc-tag-code {
    font-family: monospace;
}

.scc-row-links {
    display: none;
    margin-top: 4px;
}

.scc-admin-page .wp-list-table tbody tr:hover .scc-row-links {
    display: block;
}

.scc-core-warning {
    border: 1px solid #c3c4c7;
    border-left: 4px solid #ffb81c;
    padding: 15px;
    margin: 12px;
    background: #f6f7f7;
}

.scc-core-warning h3 {
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scc-core-warning p {
    margin-top: 0;
    margin-bottom: 0;
    color: #555;
}

.scc-core-warning .dashicons {
    color: #ffb81c;
}

