/* admin-style.css */

:root {
      --primary-color: #0a7dda;
      --secondary-color: #2196F3;
      --gradient-primary: linear-gradient(90deg, #00356a 0%, #0059c6 100%);
      --gradient-secondary: linear-gradient(90deg, #0059c6 0%, #00356a 80%);
      --gradient-grey: linear-gradient(-135deg, #e6eaee 0%, #eef1f4 45%, #f8f9fb 100%);
      --danger-color: #c9363f;
      --gradient-danger: linear-gradient(90deg, #7b1a22 0%, #c9363f 100%);
      --default-card: linear-gradient(120deg, #fdfbfb 0%, #efefef 100%);
      --primary-card: linear-gradient(135deg, #eaf3ff 0%, #cfe3ff 55%, #b7d6ff 100%);
      --secondary-card: linear-gradient(135deg, #00356a 0%, #4330d8 100%);
}

/* Header */

.nnax-header {
      background: var(--gradient-primary);
      padding: 28px 20px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 20px;
      box-sizing: border-box;
      width: 100% !important;
}

.nnax-header-left {
      flex: 0 0 75%;
      min-width: 0;
      text-align: left;
}

.nnax-header-right {
      flex: 0 0 25%;
      display: flex;
      justify-content: flex-end;
      align-items: center;
}

.nnax-header-right img,
.nnax-header-logo {
      width: 100%;
      max-width: 120px;
      height: auto;
      box-sizing: border-box;
}

.nnax-header-right a {
      margin-right: 20px;
}

.adminlogo-base64 {
      width: 200px;
}

.nnax-header * {
      color: #fff;
}

.nnax-header h2 {
      font-size: 23px !important;
      font-weight: 400 !important;
}

.nnax-header .nnax-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
      .nnax-header {
            flex-direction: column;
            align-items: flex-start;
      }

      .nnax-header-left,
      .nnax-header-right {
            flex: 0 0 auto;
            width: 100%;
      }

      .nnax-header-right {
            justify-content: flex-start;
      }

      .nnax-header-right img,
      .nnax-header-logo {
            padding-right: 0;
      }
}

/* Grid */

.nnax-grid {
      display: grid;
      gap: 20px;
      margin-top: 20px;
      margin-bottom: 20px;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-readonly {
      margin-bottom: 0;
}

.nnax-grid>* {
      min-width: 0;
}

.nnax-grid-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnax-grid-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nnax-grid-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nnax-span-2 {
      grid-column: span 2;
}

.nnax-span-3 {
      grid-column: span 3;
}


@media (max-width: 768px) {

      .nnax-grid-2,
      .nnax-grid-3,
      .nnax-grid-4 {
            grid-template-columns: 1fr;
      }

      .nnax-span-2,
      .nnax-span-3 {
            grid-column: auto;
      }
}

/* Buttons */

.nnax-btn {
      padding: 10px 20px;
      border-radius: 30px !important;
      font-size: 16px;
      cursor: pointer;
      box-shadow: none;
      border: none;
      text-decoration: none;
      line-height: normal;
      text-transform: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: transform .12s ease, filter .18s ease, box-shadow .18s ease, background-position .25s ease, color .18s ease;
      will-change: transform, filter, box-shadow;
}

.nnax-btn--small {
      font-size: 13px;
      padding: 7px 14px;
}

.nnax-btn--icon {
      width: 34px;
      min-width: 34px;
      height: 34px;
      padding: 0;
      border-radius: 999px;
      line-height: 1;
}

.nnax-btn--large {
      font-size: 18px;
      padding: 12px 26px;
}

.nnax-btn--block {
      width: 100%;
}

.nnax-btn--primary {
      background: var(--gradient-primary);
      background-size: 160% 160%;
      background-position: 0% 50%;
      color: #fff;
}

.nnax-btn--primary:hover,
.nnax-btn--primary:focus,
.nnax-btn--primary:focus-visible {
      background-position: 100% 50%;
      filter: brightness(1.06) saturate(1.05);
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
      color: #fff;
}

.nnax-btn--primary:active {
      transform: translateY(0);
      filter: brightness(.98);
      box-shadow: 0 6px 14px rgba(0, 0, 0, .10);
}

.nnax-btn--default {
      background: var(--gradient-grey);
      background-size: 160% 160%;
      background-position: 0% 50%;
      border: 1px solid rgba(0, 0, 0, .08);
      color: #1d2327;
}

.nnax-btn--default:hover,
.nnax-btn--default:focus,
.nnax-btn--default:focus-visible {
      background-position: 100% 50%;
      filter: brightness(1.03);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
      color: #1d2327;
}

.nnax-btn--default:active {
      transform: translateY(0);
      filter: brightness(.99);
      box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
}

.nnax-btn--secondary {
      background: linear-gradient(90deg, #EAF2FF 0%, #D6E6FF 100%);
      color: #00356a;
      border: 1px solid #B9D2FF;
}

.nnax-btn--secondary:hover,
.nnax-btn--secondary:focus,
.nnax-btn--secondary:focus-visible {
      filter: brightness(1.02);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
      color: #00356a;
}

.nnax-btn--secondary:active {
      transform: translateY(0);
      filter: brightness(.99);
      box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
}

.nnax-btn--outline {
      border: 1px solid var(--primary-color);
      background: transparent;
      color: var(--primary-color);
}

.nnax-btn--outline:hover,
.nnax-btn--outline:focus,
.nnax-btn--outline:focus-visible {
      filter: brightness(1.03);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
      color: var(--primary-color);
}

.nnax-btn--outline:active {
      transform: translateY(0);
      filter: brightness(.99);
      box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
}

.nnax-btn--danger {
      background: var(--danger-color);
      color: #fff;
}

.nnax-btn--danger:hover,
.nnax-btn--danger:focus,
.nnax-btn--danger:focus-visible {
      filter: brightness(1.05);
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
      color: #fff;
}

.nnax-btn--danger:active {
      transform: translateY(0);
      filter: brightness(.98);
      box-shadow: 0 6px 14px rgba(0, 0, 0, .10);
}

.nnax-btn:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(10, 125, 218, .25), 0 10px 22px rgba(0, 0, 0, .10);
}

.nnax-btn:disabled,
.nnax-btn.is-disabled {
      opacity: .6;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
      filter: none;
}

.is-disabled {
      opacity: 0.55;
      pointer-events: none;
}

/* Checkbox */

label.nnax-check {
      position: relative;
      --nnax-control-size: 20px;
      --nnax-control-left: 0px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      padding-left: 28px;
}


label.nnax-check input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
      margin: 0;
}


label.nnax-check input[type="checkbox"]+span {
      user-select: none;
}

label.nnax-check input[type="checkbox"]+span::before {
      content: "";
      position: absolute;
      left: var(--nnax-control-left);
      top: 50%;
      transform: translateY(-50%);
      width: var(--nnax-control-size);
      height: var(--nnax-control-size);
      border: 1px solid #8c8f94;
      border-radius: 6px;
      background: #fff;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
      transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

label.nnax-check input[type="checkbox"]+span::after {
      content: "";
      position: absolute;
      left: calc((var(--nnax-control-left) + 1px) + (var(--nnax-control-size) / 2));
      top: 50%;
      width: calc(var(--nnax-control-size) * .24);
      height: calc(var(--nnax-control-size) * .46);
      border-right: 2px solid transparent;
      border-bottom: 2px solid transparent;
      transform: translate(-50%, -58%) rotate(45deg);
      transition: border-color .15s ease;
}

label.nnax-check input[type="checkbox"]:checked+span::before {
      background: var(--gradient-primary);
      border-color: var(--primary-color);
      box-shadow: none;
}

label.nnax-check input[type="checkbox"]:checked+span::after {
      border-right-color: #fff;
      border-bottom-color: #fff;
}

label.nnax-check input[type="checkbox"]:focus-visible+span::before {
      outline: none;
      box-shadow: 0 0 0 3px rgba(10, 125, 218, .25);
}

label.nnax-check input[type="checkbox"]:disabled+span {
      opacity: .6;
      cursor: not-allowed;
}

label.nnax-check input[type="checkbox"]:disabled+span::before {
      background: #f0f0f1;
}

.nnax-check--block {
      display: flex;
      width: 100%;
}

.nnax-check--compact {
      --nnax-control-size: 18px;
      gap: 8px;
      padding-left: 26px;
}

.nnax-check--compact input[type="checkbox"]+span::before {
      width: var(--nnax-control-size);
      height: var(--nnax-control-size);
}

.nnax-check--compact input[type="checkbox"]+span::after {
      left: calc(var(--nnax-control-left) + (var(--nnax-control-size) / 2));
      width: calc(var(--nnax-control-size) * .22);
      height: calc(var(--nnax-control-size) * .44);
}

label.nnax-check.list-bg {
      --nnax-control-left: 5px;
      padding-left: 33px;
}

label.nnax-check.list-bg input[type="checkbox"]+span::before {
      left: var(--nnax-control-left);
}

/* Radio */

label.nnax-radio {
      position: relative;
      --nnax-radio-size: 20px;
      --nnax-radio-left: 0px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding-left: 24px;
}

label.nnax-radio input[type="radio"] {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
      margin: 0;
}

label.nnax-radio input[type="radio"]+span {
      user-select: none;
}

label.nnax-radio input[type="radio"]+span::before {
      content: "";
      position: absolute;
      left: var(--nnax-radio-left);
      top: 50%;
      transform: translateY(-50%);
      width: var(--nnax-radio-size);
      height: var(--nnax-radio-size);
      border: 1px solid #8c8f94;
      border-radius: 50%;
      background: #fff;
}

label.nnax-radio input[type="radio"]+span::after {
      content: "";
      position: absolute;
      left: calc((var(--nnax-radio-left) + 1px) + (var(--nnax-radio-size) / 2));
      top: 50%;
      transform: translate(-50%, -50%);
      width: calc(var(--nnax-radio-size) * .4);
      height: calc(var(--nnax-radio-size) * .4);
      border-radius: 50%;
      background: transparent;
      transition: background .15s ease;
}

label.nnax-radio input[type="radio"]:checked+span::before {
      border-color: var(--primary-color);
      background: var(--gradient-primary);
}

label.nnax-radio input[type="radio"]:checked+span::after {
      background: #fff;
}

label.nnax-radio input[type="radio"]:focus-visible+span::before {
      box-shadow: 0 0 0 3px rgba(10, 125, 218, .25);
}

.nnax-radio--compact {
      --nnax-radio-size: 18px;
      margin: 0 auto;
}

/* Icon-only controls (table cells, no visible text) */
/* Toggle Switch */

.toggle-switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
      vertical-align: middle;
}

.toggle-switch input {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      border: 0;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      overflow: hidden;
      white-space: nowrap;
      opacity: 0;
      appearance: none;
      -webkit-appearance: none;
      pointer-events: none;
      left: 0;
      top: 0;
}

.toggle-switch .slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background: #ccc;
      transition: .25s ease;
      border-radius: 999px;
}

.toggle-switch .slider::before {
      content: "";
      position: absolute;
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background: #fff;
      transition: .25s ease;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.toggle-switch input:checked+.slider {
      background: var(--gradient-primary);
}

.toggle-switch input:checked+.slider::before {
      transform: translateX(26px);
}

.toggle-switch input:focus-visible+.slider {
      box-shadow: 0 0 0 3px rgba(10, 125, 218, .25);
}

.toggle-switch input:disabled+.slider {
      opacity: .6;
      cursor: not-allowed;
}

/* Cards */

/* .nnax-card {
      background: #fdfdfd;
      padding: 20px;
      border-radius: 8px;
      overflow: hidden;
} */

.nnax-card {
      position: relative;
      border-radius: 14px;
      padding: 20px;
      overflow: hidden;

      background: var(--default-card);
      border: 1px solid rgba(16, 24, 40, .14);
      /* box-shadow:
            0 14px 32px rgba(16, 24, 40, .10),
            0 1px 0 rgba(255, 255, 255, .60) inset,
            0 -1px 0 rgba(16, 24, 40, .06) inset; */
}

.nnax-card__muted {
      color: #5c6770;
}

/* .nnax-card:hover {
      transform: translateY(-1px);
      box-shadow:
            0 18px 40px rgba(16, 24, 40, .14),
            0 1px 0 rgba(255, 255, 255, .55) inset,
            0 -1px 0 rgba(16, 24, 40, .06) inset;
      transition: box-shadow .18s ease, transform .18s ease;
} */

.nnax-card:has(:focus-visible) {
      border-color: rgba(10, 125, 218, .28);
      /* box-shadow:
            0 18px 40px rgba(16, 24, 40, .14),
            0 0 0 3px rgba(10, 125, 218, .14),
            0 1px 0 rgba(255, 255, 255, .55) inset,
            0 -1px 0 rgba(16, 24, 40, .06) inset; */
}

.nnax-card--primary {
      background: var(--primary-card);
      border: 1px solid rgba(10, 125, 218, .22);
      box-shadow:
            0 14px 32px rgba(0, 53, 106, .10),
            0 1px 0 rgba(255, 255, 255, .60) inset,
            0 -1px 0 rgba(0, 53, 106, .06) inset;
}

.nnax-card--primary:has(:focus-visible) {
      border-color: rgba(10, 125, 218, .32);
      /* box-shadow:
            0 18px 40px rgba(0, 53, 106, .14),
            0 0 0 3px rgba(10, 125, 218, .14),
            0 1px 0 rgba(255, 255, 255, .60) inset,
            0 -1px 0 rgba(0, 53, 106, .06) inset; */
}

.nnax-card--secondary {
      background: var(--secondary-card);
      border: 1px solid rgba(67, 44, 18, .16);
      box-shadow:
            0 14px 32px rgba(67, 44, 18, .10),
            0 1px 0 rgba(255, 255, 255, .60) inset,
            0 -1px 0 rgba(67, 44, 18, .06) inset;
      color: #fff !important;
}

.nnax-card--secondary .nnax-label {
      color: #fff !important;
}

.nnax-card--secondary:has(:focus-visible) {
      border-color: rgba(10, 125, 218, .28);
      /* box-shadow:
            0 18px 40px rgba(67, 44, 18, .14),
            0 0 0 3px rgba(10, 125, 218, .14),
            0 1px 0 rgba(255, 255, 255, .60) inset,
            0 -1px 0 rgba(67, 44, 18, .06) inset; */
}

.nnax-card>h2:first-child,
.nnax-card>h3:first-child {
      margin-top: 0;
}

.nnax-card--split {
      display: flex;
      gap: 10px;
}

.nnax-card--split>* {
      flex: 1 1 0;
      min-width: 0;
}

@media (max-width: 768px) {
      .nnax-card--split {
            flex-direction: column;
      }
}

.nnax-row {
      display: flex;
      gap: .5rem;
      align-items: center;
      flex-wrap: wrap;
}

/* Dashboard */

.nnax-grid-1 {
      grid-template-columns: 1fr;
}

.nnax-role-card {
      background: #f8f9fa;
      padding: 15px;
      border: 1px solid #e5e5e5;
      border-radius: 8px;
      height: 100%;
}

.nnax-role-card__title {
      margin: 0 0 10px 0;
      border-bottom: 1px solid #ddd;
      padding-bottom: 6px;
}

.nnax-role-card__slug {
      opacity: .75;
      font-size: 12px;
}

.nnax-role-card__widgets {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
}

.nnax-role-card__check {
      font-size: 12px;
      display: flex;
      align-items: center;
      gap: 5px;
}

.nnax-role-card__field {
      margin-top: 20px;
}

.nnax-role-card__label {
      font-size: 11px;
      display: block;
      margin-bottom: 3px;
}

.nnax-role-card__label--bold {
      font-weight: 700;
}

.nnax-role-card__hint {
      font-size: 10px;
      color: #888;
}

.nnax-toggle-card {
      height: auto !important;
      min-height: 0 !important;
      overflow: hidden;
}

.nnax-toggle-card__summary {
      display: flex;
      align-items: center;
      cursor: pointer;
      list-style: none;
}

.nnax-toggle-card__summary::-webkit-details-marker {
      display: none;
}

.nnax-toggle-card__summary::before {
      content: "▸";
      margin-right: 8px;
      font-size: 14px;
      line-height: 1;
      transition: transform 0.2s ease;
}

.nnax-toggle-card[open] .nnax-toggle-card__summary::before {
      transform: rotate(90deg);
}

.nnax-toggle-card__title {
      margin: 0;
}

.nnax-toggle-card__content {
      margin-top: 12px;
}

.nnax-toggle-card:not([open]) .nnax-toggle-card__content {
      display: none;
}

.nnax-input {
      width: 100%;
}

.nnax-input--sm {
      font-size: 12px;
}

@media (max-width: 768px) {
      .nnax-role-card__widgets {
            grid-template-columns: 1fr;
      }
}

/* Menü Editor */

.nnax-sortable {
      list-style: none;
      margin: 0;
      padding: 0;
}

.nnax-sortable__item {
      padding: 8px 12px;
      margin: 6px 0;
      background: #f1f1f1;
      border: 1px solid #e2e4e7;
      border-radius: 6px;
      cursor: move;
}

/* Benutzerprofil */

.nnax-rolelist {
      max-height: 200px;
      padding: 15px;
      border-radius: 10px;
      display: grid;
      gap: 8px 16px;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      align-items: start;
      background: linear-gradient(135deg, #f7faff 0%, #eef3f9 45%, #e8eef6 100%);
      border: 1px solid rgba(10, 125, 218, .18);
}

.nnax-rolelist__item {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      line-height: 1.3;
}

.description {
      padding-top: 10px;
}

/* Toolbar */

.nnax-text-small {
      font-size: 12px;
      opacity: .85;
}

/* E-Mail Branding */

.nnax-email-preview {
      border: 1px solid #ccc;
      padding: 24px;
      background: #fff;
      font-family: sans-serif;
}

/* Formular
   Note: file inputs stay on .nnax-file; range/color keep native control styling. */

.nnax-admin .nnax-card input[type="text"],
.nnax-admin .nnax-card input[type="email"],
.nnax-admin .nnax-card input[type="tel"],
.nnax-admin .nnax-card input[type="search"],
.nnax-admin .nnax-card input[type="url"],
.nnax-admin .nnax-card input[type="password"],
.nnax-admin .nnax-card input[type="number"],
.nnax-admin .nnax-card input[type="date"],
.nnax-admin .nnax-card input[type="time"],
.nnax-admin .nnax-card input[type="datetime-local"],
.nnax-admin .nnax-card input[type="month"],
.nnax-admin .nnax-card input[type="week"],
.nnax-admin .nnax-card select,
.nnax-admin .nnax-card textarea {
      width: 100%;
      max-width: 100%;
      border: 1px solid #e2e4e7;
      border-radius: 10px;
      padding: 4px 8px;
      background: #fff;
      box-shadow: none;
}

.nnax-admin .nnax-card .nnax-label {
      display: block;
      margin-bottom: 6px;
      font-weight: 600;
}

.nnax-admin .nnax-card input[type="text"]:focus,
.nnax-admin .nnax-card input[type="email"]:focus,
.nnax-admin .nnax-card input[type="tel"]:focus,
.nnax-admin .nnax-card input[type="search"]:focus,
.nnax-admin .nnax-card input[type="url"]:focus,
.nnax-admin .nnax-card input[type="password"]:focus,
.nnax-admin .nnax-card input[type="number"]:focus,
.nnax-admin .nnax-card input[type="date"]:focus,
.nnax-admin .nnax-card input[type="time"]:focus,
.nnax-admin .nnax-card input[type="datetime-local"]:focus,
.nnax-admin .nnax-card input[type="month"]:focus,
.nnax-admin .nnax-card input[type="week"]:focus,
.nnax-admin .nnax-card select:focus,
.nnax-admin .nnax-card textarea:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(10, 125, 218, .18);
      outline: none;
}

/* Dropdown */

.nnax-dropdown {
      border: 1px solid rgba(0, 0, 0, .08);
      border-radius: 12px;
      background: #fff;
}

.nnax-dropdown__summary {
      list-style: none;
      cursor: pointer;
      padding: 12px 14px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
}

.nnax-dropdown__summary::-webkit-details-marker {
      display: none;
}

.nnax-dropdown__hint {
      font-weight: 400;
      font-size: 12px;
      opacity: .7;
}

.nnax-dropdown__panel {
      padding: 12px 14px 14px;
      border-top: 1px solid rgba(0, 0, 0, .06);
}

.nnax-dropdown__summary::after {
      content: "▾";
      opacity: .7;
      transition: transform .15s ease;
}

.nnax-dropdown[open] .nnax-dropdown__summary::after {
      transform: rotate(180deg);
}

.nnax-file::file-selector-button,
.nnax-file::-webkit-file-upload-button {
      background: var(--gradient-primary);
      color: #fff;
      padding: 10px 20px;
      border: none;
      border-radius: 30px;
      font-size: 16px;
      cursor: pointer;
      box-shadow: none !important;
      margin-top: 10px;
}

.nnax-file:hover::file-selector-button,
.nnax-file:hover::-webkit-file-upload-button {
      filter: brightness(0.95);
}

.nnax-file:focus-visible {
      outline: none;
}

/* Tabelle */

.nnax-defaulttable {
      border-radius: 10px;
      margin-top: 20px;
      margin-bottom: 20px;
}

.nnax-activity-table-wrap,
.nnax-table-wrap {
      border: 1px solid #d7dee8;
      border-radius: 10px;
      background: #fff;
      overflow: auto;
}

.nnax-activity-table-wrap .nnax-defaulttable,
.nnax-table-wrap .nnax-defaulttable {
      margin-top: 0;
      margin-bottom: 0;
      border: 0;
      border-radius: 0;
}

.nnax-activity-table-wrap .widefat,
.nnax-table-wrap .widefat {
      border: 0;
}

/* Pagination */
.nnax-pagination {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 0;
      margin: 8px 0 0;
}

.nnax-pagination li a {
      display: inline-block;
      min-width: 34px;
      padding: 5px 11px;
      border: 1px solid #b9d2ff;
      border-radius: 999px;
      background: linear-gradient(90deg, #eaf2ff 0%, #d6e6ff 100%);
      color: #00356a;
      font-weight: 600;
      text-decoration: none;
      text-align: center;
      transition: transform .12s ease, filter .18s ease, box-shadow .18s ease, background-position .25s ease;
}

.nnax-pagination li.is-active a {
      background: var(--gradient-primary);
      background-size: 160% 160%;
      background-position: 0% 50%;
      border-color: #0059c6;
      color: #fff;
}

.nnax-pagination li:not(.is-active) a:hover,
.nnax-pagination li:not(.is-active) a:focus-visible {
      filter: brightness(1.02);
      transform: translateY(-1px);
      box-shadow: 0 6px 14px rgba(0, 53, 106, .14);
}

.nnax-pagination li.is-active a:hover,
.nnax-pagination li.is-active a:focus-visible {
      background-position: 100% 50%;
      filter: brightness(1.06) saturate(1.05);
      transform: translateY(-1px);
      box-shadow: 0 8px 16px rgba(0, 53, 106, .18);
}

.nnax-readonly-banner {
      margin: 0 0 20px;
      margin-bottom: 0px;
}

/* Shared feedback cards (success/warning/error/info). */
.nnax-feedback {
      padding: 14px 16px;
}

.nnax-feedback>strong {
      display: block;
      margin-bottom: 4px;
}

.nnax-feedback .nnax-card__muted {
      margin: 0;
}

.nnax-feedback--success {
      background: linear-gradient(135deg, #ebfff1 0%, #d7fce6 60%, #c3f7da 100%);
      border-color: rgba(34, 161, 79, 0.35);
}

.nnax-feedback--success .nnax-card__muted,
.nnax-feedback--success>strong {
      color: #166534;
}

.nnax-feedback--warning {
      background: linear-gradient(135deg, #fff8eb 0%, #ffefcf 60%, #ffe5b3 100%);
      border-color: rgba(217, 119, 6, 0.35);
}

.nnax-feedback--warning .nnax-card__muted,
.nnax-feedback--warning>strong {
      color: #9a4d00;
}

.nnax-feedback--error {
      background: linear-gradient(135deg, #fff1f2 0%, #ffe3e6 60%, #ffd6dc 100%);
      border-color: rgba(201, 54, 63, 0.28);
}

.nnax-feedback--error .nnax-card__muted,
.nnax-feedback--error>strong {
      color: #7b1a22;
}

.nnax-feedback--info {
      background: linear-gradient(135deg, #f4f5f7 0%, #eceef2 60%, #e3e6eb 100%);
      border-color: rgba(75, 85, 99, 0.28);
}

.nnax-feedback--info .nnax-card__muted,
.nnax-feedback--info>strong {
      color: #374151;
}

.nnax-status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      border: 1px solid transparent;
      white-space: nowrap;
}

.nnax-status-badge--open {
      background: #e8f1ff;
      border-color: #bfd6ff;
      color: #0b4ea2;
}

.nnax-status-badge--in_progress {
      background: #fff5db;
      border-color: #ffd88a;
      color: #8b5a00;
}

.nnax-status-badge--completed {
      background: #e7f8ef;
      border-color: #b8e6cb;
      color: #11643a;
}

.nnax-status-badge--anonymized {
      background: #f1f1f3;
      border-color: #d5d8dd;
      color: #4b5563;
}

.nnax-readonly-banner__row {
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
}

.nnax-readonly-banner__copy {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
}

.nnax-readonly-banner__title {
      color: #00356a;
      font-size: 1rem;
}

.nnax-readonly-banner__copy .nnax-text-small {
      color: #35506f;
      max-width: 780px;
}

.nnax-readonly-banner__badge {
      pointer-events: none;
      white-space: nowrap;
}

.nnax-admin--readonly .nnax-card,
.nnax-admin--readonly details.nnax-card {
      position: relative;
      border-color: rgba(16, 24, 40, 0.12);
      box-shadow: none;
}

.nnax-admin--readonly .nnax-card::after,
.nnax-admin--readonly details.nnax-card::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      box-shadow: inset 0 0 0 1px rgba(47, 143, 223, 0.08);
}

.nnax-admin--readonly input:disabled,
.nnax-admin--readonly select:disabled,
.nnax-admin--readonly textarea:disabled,
.nnax-admin--readonly button:disabled {
      cursor: not-allowed;
}

.nnax-admin--readonly input:disabled,
.nnax-admin--readonly select:disabled,
.nnax-admin--readonly textarea:disabled {
      color: #5f6772;
      background: #eef2f6;
      border-color: #cfd7e1;
      box-shadow: none;
}

.nnax-admin--readonly .wp-picker-container,
.nnax-admin--readonly .wp-picker-input-wrap,
.nnax-admin--readonly .wp-picker-holder {
      opacity: 0.65;
}

.nnax-admin--readonly .nnax-btn:disabled,
.nnax-admin--readonly .button:disabled,
.nnax-admin--readonly button:disabled {
      opacity: 0.45;
      filter: saturate(0.7);
}

.nnax-admin--readonly .plugin-submit {
      display: none;
}

@media (max-width: 782px) {
      .nnax-readonly-banner__row {
            align-items: flex-start;
            flex-direction: column;
      }
}