body.kctap-admin-shell {
    margin: 0;
    min-height: 100vh;
    background: #040404;
    color: #e5e7eb;
}

.kctap-admin-shell-main {
    min-height: 100vh;
    padding: 12px;
}

.kctap-admin-shell-container {
    width: min(100%, 1800px);
    margin: 0 auto;
}

.kctap-admin-portal {
    display: grid;
    gap: 12px;
}

.kctap-admin-launcher {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.kctap-admin-portal-tabs {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    background: linear-gradient(145deg, #0b0b0b, #050505);
    box-shadow:
        inset 0 0 16px rgba(0, 0, 0, 0.75),
        0 0 12px rgba(255, 80, 0, 0.1);
}

.kctap-admin-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #303030;
    background: #121212;
    color: #d6d6d6;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.kctap-admin-tab:hover {
    border-color: #d9a643;
    color: #ffda86;
}

.kctap-admin-tab.is-active {
    border-color: #d9a643;
    background: #d9a643;
    color: #111;
}

.kctap-admin-portal-content {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.kctap-admin-portal-content .wrap {
    margin: 0;
    max-width: none;
}

.kctap-admin-portal-content .notice {
    margin: 10px 0;
}

.kctap-admin-portal-content table.widefat {
    border-color: #2f2f2f;
}

.kctap-admin-portal-content table.widefat thead th {
    background: #111;
    color: #d7b56b;
}

@media (max-width: 960px) {
    .kctap-admin-shell-main {
        padding: 8px;
    }

    .kctap-admin-portal-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kctap-admin-tab {
        width: 100%;
    }
}
