/* NURUL ISHLAH - PORTAL ADMIN PREMIUM V3.7
   Scope: editor Portal Aplikasi only. No global CMS form changes. */
.admin-shell #editor:has(.ni-portal-v37) > .section-intro {display:none!important}
.admin-shell:has(.ni-portal-v37) .page-subrow > .page-desc {display:none!important}
.admin-shell:has(.ni-portal-v37) .content-shell {padding-top:19px}
.admin-shell #editor:has(.ni-portal-v37) > .edit-panel.ni-portal-container {padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.admin-shell .ni-portal-container .item-toolbar {margin:16px 0 14px;justify-content:flex-end}
.admin-shell .ni-portal-container .item-toolbar p {display:none}
.admin-shell .ni-portal-container .item-toolbar [data-add="apps"] {background:#0c6349;color:white;border:1px solid #0c6349;min-height:42px;padding:11px 17px;border-radius:10px;box-shadow:0 5px 13px #0d513725}
.admin-shell .ni-portal-container .item-toolbar [data-add="apps"]:hover {background:#0b4e3b}
.admin-shell .ni-portal-v37 {overflow:hidden;border-radius:16px;border:1px solid #dce6df;background:#fffefa;box-shadow:0 12px 32px rgba(14,59,43,.045)}
.admin-shell .ni-portal-banner {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:160px;padding:28px clamp(19px,3vw,34px);background:linear-gradient(110deg,#0e4033 0%,#0d674d 86%);color:#fff;position:relative}
.admin-shell .ni-portal-banner:before {content:"";position:absolute;right:130px;top:-80px;width:280px;height:280px;border-radius:50%;border:1px solid #ffffff1c;pointer-events:none}
.admin-shell .ni-portal-banner:after {content:"";position:absolute;right:160px;top:-44px;width:210px;height:210px;border-radius:50%;border:1px solid #ffffff18;pointer-events:none}
.admin-shell .ni-portal-eyebrow {font-size:10px;letter-spacing:.15em;font-weight:800;color:#e7c88c}
.admin-shell .ni-portal-banner h2 {font-family:'Plus Jakarta Sans','Segoe UI',sans-serif;font-size:clamp(21px,2.2vw,28px);font-weight:800;letter-spacing:-.05em;line-height:1.24;margin:10px 0 8px;color:#fff}
.admin-shell .ni-portal-banner p {font-size:12px;line-height:1.7;color:#d7e8df;margin:0;max-width:550px}
.admin-shell .ni-portal-banner p b {color:#fff}
.admin-shell .ni-portal-total {position:relative;z-index:1;border:1px solid #ffffff30;background:#ffffff13;border-radius:12px;padding:13px 20px;min-width:96px;text-align:center;flex:none}
.admin-shell .ni-portal-total strong {display:block;color:#fff;font-size:28px;font-weight:800;letter-spacing:-.06em;line-height:1.1}
.admin-shell .ni-portal-total span {font-size:10px;color:#d5e8de}
.admin-shell .ni-portal-controls {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px 12px;background:#fffefa}
.admin-shell .ni-portal-search {border:1px solid #dce8df;border-radius:10px;background:#fafbf8;display:flex;align-items:center;gap:10px;padding:0 12px;flex:1;max-width:480px;color:#719583}
.admin-shell .ni-portal-search span {font-size:24px;line-height:1}
.admin-shell .ni-portal-search input {border:0;box-shadow:none!important;background:transparent;min-height:42px;outline:0;flex:1;min-width:0;font-size:12px;color:#123e32}
.admin-shell .ni-portal-tabs {display:flex;gap:4px;background:#f0f4ef;padding:4px;border-radius:11px;white-space:nowrap}
.admin-shell .ni-portal-tabs button {background:transparent;border:0;border-radius:8px;padding:9px 13px;font-size:11px;font-weight:750;color:#6e8478;cursor:pointer}
.admin-shell .ni-portal-tabs button[aria-pressed="true"] {background:#fff;color:#0e5941;box-shadow:0 2px 7px #1f46321c}
.admin-shell .ni-portal-summary {display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#799186;padding:0 22px 17px}
.admin-shell .ni-portal-hint {font-size:10px;color:#9b997e}
.admin-shell .ni-portal-container .repeat-cards {gap:11px}
.admin-shell .ni-portal-container .repeat-card.ni-portal-item {padding:0!important;border:1px solid #dfe7e1!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 14px rgba(12,56,38,.035);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.admin-shell .ni-portal-container .repeat-card.ni-portal-item.ni-portal-open {border-color:#a3c1ad!important;box-shadow:0 9px 25px #0d503011}
.admin-shell .ni-portal-container .repeat-card.ni-portal-item .repeat-card-head {padding:17px clamp(12px,2vw,20px);margin:0!important;gap:14px;align-items:center;min-width:0}
.admin-shell .ni-portal-container .repeat-card-index {background:transparent;color:#a4a891;font-size:11px;width:24px;height:29px;flex:none}
.admin-shell .ni-portal-logo {display:grid;place-items:center;width:49px;height:49px;flex:none;border-radius:12px;background:#e9f3ec;color:#1b7855}
.admin-shell .ni-portal-coming .ni-portal-logo {background:#f5efe2;color:#9b7b47}
.admin-shell .ni-portal-item .repeat-card-title {flex:1;min-width:0}
.admin-shell .ni-portal-item .repeat-card-title strong {font-family:'Plus Jakarta Sans','Segoe UI',sans-serif;font-size:13px;font-weight:800;color:#123d30;line-height:1.5}
.admin-shell .ni-portal-item .repeat-card-title > span {font-size:11px;line-height:1.5;margin-top:3px;color:#70877b}
.admin-shell .ni-portal-meta {display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:9px}
.admin-shell .ni-portal-meta span {display:inline-flex;align-items:center;width:auto;font-size:10px;font-weight:700;padding:4px 7px;margin:0;border-radius:6px}
.admin-shell .ni-portal-category {color:#376f56;background:#edf5ee}
.admin-shell .ni-portal-status {background:#f4eee1;color:#92723c}
.admin-shell .ni-portal-status.ni-is-active {background:#dff4e5;color:#147447}
.admin-shell .ni-portal-featured {background:#fff5d8;color:#947335}
.admin-shell .ni-portal-featured[hidden],.admin-shell .ni-portal-link[hidden] {display:none!important}
.admin-shell .ni-portal-item .ni-portal-link {font-size:10.5px;font-weight:650;color:#1c8260;word-break:break-word;display:inline-block;margin-top:7px;text-decoration:none}
.admin-shell .ni-portal-item .ni-portal-link:hover {text-decoration:underline}
.admin-shell .ni-portal-container .head-actions {flex-wrap:nowrap;align-items:center;gap:5px;flex:none}
.admin-shell .ni-portal-container .ni-portal-edit {background:#0b6347;color:#fff;border:0;border-radius:8px;min-width:67px;min-height:35px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}
.admin-shell .ni-portal-container .ni-portal-edit[aria-expanded="true"] {background:#e8f1e8;color:#176147}
.admin-shell .ni-portal-container .head-actions .icon-action {border-radius:8px;height:34px;width:34px;font-size:16px}
.admin-shell .ni-portal-container .head-actions .icon-action:disabled {opacity:.35}
.admin-shell .ni-portal-container .ni-portal-item > .form-grid {display:none!important;border-top:1px solid #e4eee6!important;background:#f8fbf8;padding:25px clamp(16px,2.5vw,25px) 26px;gap:17px}
.admin-shell .ni-portal-container .ni-portal-item.ni-portal-open > .form-grid {display:grid!important}
.admin-shell .ni-portal-container .ni-portal-item .form-field > label {font-size:11.5px;color:#385c49}
.admin-shell .ni-portal-container .ni-portal-item .form-field input,.admin-shell .ni-portal-container .ni-portal-item .form-field textarea,.admin-shell .ni-portal-container .ni-portal-item .form-field select {background:#fff!important;font-size:12px;border-radius:9px}
.admin-shell .ni-portal-container .ni-portal-hidden {display:none!important}
.admin-shell .ni-portal-empty-filter {text-align:center;padding:45px 14px;background:#fffdfa;border:1px dashed #cbd8ce;border-radius:12px;font-size:12px;color:#718879}
@media (max-width:1000px){
 .admin-shell .ni-portal-controls {flex-wrap:wrap}
 .admin-shell .ni-portal-search {max-width:none;min-width:100%}
 .admin-shell .ni-portal-tabs {width:100%;justify-content:flex-start}
 .admin-shell .ni-portal-summary {flex-wrap:wrap}
}
@media (max-width:670px){
 .admin-shell .ni-portal-banner {padding:23px 19px;min-height:0}
 .admin-shell .ni-portal-banner h2 {font-size:21px}
 .admin-shell .ni-portal-total {padding:11px;min-width:60px}
 .admin-shell .ni-portal-total strong {font-size:21px}
 .admin-shell .ni-portal-controls {padding:14px 13px 10px}
 .admin-shell .ni-portal-tabs {overflow-x:auto}
 .admin-shell .ni-portal-tabs button {padding:9px 10px}
 .admin-shell .ni-portal-summary {padding:0 14px 13px}
 .admin-shell .ni-portal-hint {display:none}
 .admin-shell .ni-portal-container .repeat-card.ni-portal-item .repeat-card-head {display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px 12px;padding:14px}
 .admin-shell .ni-portal-container .repeat-card-index {display:none}
 .admin-shell .ni-portal-logo {grid-row:1;grid-column:1;width:40px;height:40px}
 .admin-shell .ni-portal-item .repeat-card-title {grid-row:1;grid-column:2}
 .admin-shell .ni-portal-container .head-actions {grid-row:2;grid-column:1/-1;justify-content:flex-end;border-top:1px solid #edf1ec;padding-top:9px}
 .admin-shell .ni-portal-container .ni-portal-item > .form-grid {grid-template-columns:1fr;padding:18px 13px}
 .admin-shell .ni-portal-container .ni-portal-meta {gap:4px}
}
@media (prefers-reduced-motion:reduce){.admin-shell .ni-portal-item {transition:none!important}}
