  .cke_notification_warning {
    display: none !important;
  }

  .admin-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: none;
  }

  .admin-form label {
      font-weight: bold;
      margin-bottom: 5px;
      display: block;
      color: #014360;
  }

  .admin-form input[type="text"],
  .admin-form select,
  .admin-form textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 15px;
      font-size: 14px;
  }

  .admin-form input[type="text"],
  .admin-form select,
  .admin-form textarea,
  .cke {
      width: 100% !important;
  }

  .form-buttons {
      display: flex;
      gap: 10px;
      margin-top: 20px;
  }

  .btn {
      display: inline-block;
      padding: 10px 18px;
      border-radius: 5px;
      font-size: 14px;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .btn-primary {
      background: #2b627a;
      color: #fff;
      border: none;
  }

  .btn-primary:hover {
      background: #014360;
  }

  .btn-secondary {
      background: #e7f3fe;
      color: #014360;
      border: 1px solid #014360;
  }

  .btn-secondary:hover {
      background: #d0e7fb;
  }

  .btn-danger {
      background: #f47d26;
      color: #fff;
      border: none;
  }

  .btn-danger:hover {
      background: #d66a1f;
  }











  .administrator-page{
    width: 90%;
    margin: auto;
    min-height: calc(100vh - var(--menu-height));
  }

  .page-edit{
    height: 1000px;
  }

  .my-cashlib--wrapper {
        position: relative;
        width: 100%;
    }
  
  .administrator--id {
    color: var(--red);
  }
  .administrator--id-name {
    font-size: var(--text-2xl-m);
  }
  .administrator--id-profil {
    font-size: var(--text-l-m);
  }
  
  .my-cashlib--content {
    position: relative;
  }

  .admin-button {
    cursor: pointer;
    display: inline-block;
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 0.75em 3em;
    border-radius: 3em;
    transition: transform 0.2s ease;
  }

  .green-button {
    cursor: pointer;
    display: inline-block;
    background: green;
    color: #fff;
    text-align: center;
    padding: 0.30em 1em;
    border-radius: 1em;
    transition: transform 0.2s ease;
  }

  .orange-button {
    cursor: pointer;
    display: inline-block;
    background: var(--orange);
    color: #fff;
    text-align: center;
    padding: 0.30em 1em;
    border-radius: 1em;
    transition: transform 0.2s ease;
  }

  .red-button {
    cursor: pointer;
    display: inline-block;
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 0.30em 1em;
    border-radius: 1em;
    transition: transform 0.2s ease;
  }
  
  .admin-button[disabled] > * {
    background: var(--red-light);
    color: var(--red);
  }
  
  .my-cashlib--title-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--gap-2xl);
  }
  
  .my-cashlib--title {
    font-size: var(--text-4xl);
  }
  .my-cashlib--title--voucher-total {
    color: var(--orange);
    font-size: 0.6em;
    padding-left: 0.5em;
    font-weight: 500;
  }
  
  .my-cashlib--content-pad {
    box-sizing: border-box;
    border-radius: 2rem;
    padding: 4rem;
  }
  
  #my-cashlib-transactions table {
    font-size: 0.85em;
  }
  
  .my-cashlib--pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin: auto;
    margin-top: var(--gap-2xl);
    font-size: var(--text-s);
  }
  .my-cashlib--pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .my-cashlib--pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-width: 1em;
    min-height: 1em;
    padding: 0.35em;
    text-align: center;
    border-radius: 100%;
    margin: 0 0.25em;
    /* transition: 0.2s ease; */
    background-color: var(--orange-light);
  }
  html:not(.touch_screen) .my-cashlib--pagination-wrapper > a:hover,
  .my-cashlib--pagination a.active {
    background: var(--orange);
    color: #fff;
  }
  .my-cashlib--pagination a.active {
    pointer-events: none;
  }
  .my-cashlib--pagination--ui {
    display: flex;
    position: absolute;
  }
  .my-cashlib--pagination--ui a {
    display: block;
    background-color: var(--blue-light);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }
  .my-cashlib--pagination--ui.ui-prev {
    right: 100%;
  }
  .my-cashlib--pagination--ui.ui-next {
    left: 100%;
  }
  html:not(.touch_screen) .my-cashlib--pagination--ui > a:hover {
    background-color: var(--blue);
  }
  .my-cashlib--pagination--ui > a.pagination-first {
    background-image: url("../images/picto-first-blue.svg");
  }
  html:not(.touch_screen) .my-cashlib--pagination--ui > a.pagination-first:hover {
    background-image: url("../images/picto-first-white.svg");
  }
  .my-cashlib--pagination--ui > a.pagination-prev {
    background-image: url("../images/picto-prev-blue.svg");
  }
  html:not(.touch_screen) .my-cashlib--pagination--ui > a.pagination-prev:hover {
    background-image: url("../images/picto-prev-white.svg");
  }
  .my-cashlib--pagination--ui > a.pagination-next {
    background-image: url("../images/picto-next-blue.svg");
  }
  html:not(.touch_screen) .my-cashlib--pagination--ui > a.pagination-next:hover {
    background-image: url("../images/picto-next-white.svg");
  }
  .my-cashlib--pagination--ui > a.pagination-last {
    background-image: url("../images/picto-last-blue.svg");
  }
  html:not(.touch_screen) .my-cashlib--pagination--ui > a.pagination-last:hover {
    background-image: url("../images/picto-last-white.svg");
  }
  
  #my-cashlib-vouchers .my-cashlib--content-pad {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-m);
    padding: 2.75rem;
  }
  
  #my-cashlib-vouchers .voucher-circle:last-child {
    background: #fff !important;
    color: var(--blue) !important;
  }
  
  #my-cashlib-bar-code .my-cashlib--content-pad {
    display: flex;
    justify-content: space-between;
  }
  .my-cashlib-bar-code--texts-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: var(--text-m);
  }
  .my-cashlib-bar-code--texts-wrapper p {
    margin: 0;
    margin-bottom: 1.25rem;
  }
  .my-cashlib-bar-code--texts-wrapper p.small {
    font-size: 0.85em;
  }
  .my-cashlib-bar-code--pad {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-sizing: border-box;
    width: 100%;
    border-radius: 2rem;
  }
  .my-cashlib-bar-code--pad > span {
    font-size: var(--text-s-m);
  }
  #my-cashlib-bar-code
    .my-cashlib--content-pad
    .link-rotation
    > *:not(.html-anim) {
    padding: 0.75em 2em;
  }
  .my-cashlib-bar-code--phone-wrapper {
    position: relative;
    width: 50%;
    flex-shrink: 0;
    overflow: hidden;
    height: 20rem;
    width: 21rem;
    margin-top: -1rem;
    margin-bottom: -4rem;
  }
  .my-cashlib-bar-code--phone-wrapper > * {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .my-cashlib-bar-code--phone-wrapper svg {
    width: 100%;
    height: 100%;
  }
  .my-cashlib-bar-code--phone-container {
    width: 80%;
  }
  .my-cashlib-bar-code--bar-code-container {
    width: 60%;
    height: 40%;
    top: 20%;
  }
  .my-cashlib-bar-code--phone-wrapper:not(.vip)
    .my-cashlib-bar-code--bar-code-container,
  .my-cashlib-bar-code--phone-wrapper:not(.vip)
    .my-cashlib-bar-code--button-container {
    filter: blur(0.2rem);
  }
  .my-cashlib-bar-code--button-container {
    top: 80%;
    transform: translate(-50%, -50%);
    color: var(--orange);
  }
  
  .my-cashlib-exchange-currency--arrow {
    flex-shrink: 0;
    height: 3em;
    width: 3em;
    background-color: var(--blue);
    border-radius: 100%;
    background-image: url("../images/picto-exchange-arrow-white.svg");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 1em;
  }
  
  #my-cashlib-exchange-currency-confirmation {
    display: flex;
  }
  #my-cashlib-exchange-currency-confirmation .confirmation--texts {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }
  #my-cashlib-exchange-currency-confirmation .confirmation-text--big {
    font-size: 1.5em;
    font-weight: 600;
  }
  #my-cashlib-exchange-currency-confirmation h2.confirmation-text--big {
    margin-bottom: 1em;
  }
  #my-cashlib-exchange-currency-confirmation .confirmation-text--small {
    font-size: 0.9em;
    margin-top: 1.5em;
  }
  #my-cashlib-exchange-currency-confirmation .confirmation--voucher {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  #my-cashlib-exchange-currency-confirmation .confirmation--voucher a {
    margin-top: 1.5em;
  }
  #my-cashlib-exchange-currency-confirmation .confirmation--voucher a:hover {
    color: var(--orange);
  }
  
  #my-cashlib-become-vip .my-cashlib--content-pad {
    margin-top: 6rem;
  }
  
  .my-cashlib-become-vip--pad {
    transform: translateY(-8rem);
    margin-bottom: -4rem;
  }
  .my-cashlib-become-vip--pad .pad-image-overflow--text {
    width: 65%;
    padding: 1.5em;
  }
  .my-cashlib-become-vip--pad .pad-image-overflow--text a {
    text-decoration: underline;
  }
  .my-cashlib-become-vip--pad img {
    height: calc(100% + 5rem);
  }
  
  @media screen and (min-width: 1024px) {
    .my-cashlib--wrapper {
      display: flex;
      max-width: var(--main-max-width);
      margin: auto;
      padding: var(--gap-2xl) 0;
      justify-content: space-between;
    }
    .my-cashlib--sticky {
      position: sticky;
      top: calc(var(--menu-height) + var(--gap-2xl));
    }
    .my-cashlib--content {
      width: 55.8125rem;
    }
    .my-cashlib--content-pad {
      min-height: 19.2rem;
    }
    .my-cashlib--content-pad.content-pad--tightened {
      padding-left: 6rem;
      padding-right: 6rem;
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 1) {
      background: var(--orange);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 2) {
      background: var(--blue);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 3) {
      background: var(--orange);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 4) {
      background: var(--blue);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 5) {
      background: var(--blue);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 6) {
      background: var(--orange);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 7) {
      background: var(--blue);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(8n + 8) {
      background: var(--orange);
    }
    .my-cashlib-bar-code--texts-wrapper {
      width: 19.5rem;
    }
    .my-cashlib-bar-code--pad {
      width: 110%;
    }
  }
  
  @media screen and (max-width: 1023px) {
    .my-cashlib--wrapper {
      padding-top: 10vw;
    }
    .administrator--id {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 5vw 0;
    }
    .my-cashlib--content {
      box-sizing: border-box;
      padding: var(--gap-2xl) 0 20vw 0;
      filter: drop-shadow(0 -1.5vw 1vw var(--blue-light));
      background: #fff;
    }
    .my-cashlib--content > *:not(.swiper) {
      margin-left: 5vw;
      margin-right: 5vw;
    }
  
    .my-cashlib--content-pad {
      padding: 10vw 5vw;
      border-radius: 1rem;
    }
  
    .table-swiper .swiper-slide {
      padding: 0 5vw;
    }
    #my-cashlib-transactions .table-swiper .swiper-slide {
      width: 180vw;
    }
    #my-cashlib-transactions table {
      font-size: 1.1rem;
    }
    .my-cashlib--pagination {
      font-size: var(--text-2xl);
    }
  
    #my-cashlib-vouchers .my-cashlib--title {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      width: 100%;
    }
    .my-cashlib--title--voucher-total {
      font-size: 0.8em;
    }
    #my-cashlib-vouchers .my-cashlib--content-pad {
      justify-content: center;
      gap: var(--gap-m);
      padding: calc(var(--gap-m) + 0.5rem) var(--gap-m);
    }
    #my-cashlib-vouchers .voucher-circle {
      --size: 39vw;
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(4n + 1) {
      background: var(--orange);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(4n + 2) {
      background: var(--blue);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(4n + 3) {
      background: var(--blue);
    }
    #my-cashlib-vouchers .voucher-circle:nth-child(4n + 4) {
      background: var(--orange);
    }
  
    #my-cashlib-bar-code .my-cashlib--content-pad {
      flex-direction: column;
      justify-content: center;
    }
    .my-cashlib-bar-code--texts-wrapper {
      font-size: var(--text-2xl);
    }
    .my-cashlib-bar-code--texts-wrapper p {
      margin-bottom: 10vw;
    }
    .my-cashlib-bar-code--pad {
      margin-bottom: 10vw;
    }
    .my-cashlib-bar-code--pad > span {
      font-size: var(--text-xl);
    }
    .my-cashlib-bar-code--phone-wrapper {
      width: 100%;
      height: 80vw;
      margin: 0 auto -10vw auto;
    }
    .my-cashlib-bar-code--button-container {
      font-size: var(--text-2xl);
    }
    #my-cashlib-exchange-currency .form-pad--submit-row {
      flex-direction: column;
    }
    .my-cashlib-exchange-currency--rate {
      margin-bottom: 1em;
    }
    #my-cashlib-exchange-currency-confirmation {
      display: flex;
      flex-direction: column;
      gap: 2em;
    }
  
    .my-cashlib-become-vip--pad .pad-image-overflow--text {
      font-size: 1.4rem;
      width: 50.5%;
    }
    .my-cashlib-become-vip--pad img {
      height: 100%;
    }
  }
  
  input[type="file"] {
    visibility: visible;
    opacity: 0;
    width: 100%;
    height: 100%;
  }
  
  .loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* ============================================================
   2026 CHARTER OVERLAY — admin back-office (/admin/*)
   Scoped under .administrator-page (higher specificity than the
   legacy rules above, so it wins) to restyle every CRUD page to
   the house charter without touching page/show or other pages.
   ============================================================ */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Narrow"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/archivo-narrow-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

.administrator-page {
  --ad-ink: #082b3a; --ad-ink-soft: #516772; --ad-ink-faint: #8aa0ab;
  --ad-line: #e2ecf1; --ad-surface: #f5fafd; --ad-surface-2: #eef4f8;
  --ad-green: #2e9e6b; --ad-green-soft: #e9f7f0; --ad-red: #d32f2f; --ad-red-soft: #fdecea;
  --ad-r: 14px; --ad-r-lg: 20px; --ad-pill: 999px;
  --ad-sh-sm: 0 1px 2px rgba(1,36,47,.06), 0 4px 12px rgba(1,36,47,.05);
  --ad-sh-md: 0 12px 30px -12px rgba(1,36,47,.22), 0 4px 12px rgba(1,36,47,.06);
  --ad-display: "Archivo Narrow","Archivo",system-ui,sans-serif;
  --ad-sans: "Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
  --ad-ease: cubic-bezier(.2,.8,.2,1);

  width: 100%; max-width: 1100px; margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 32px) 64px;
  min-height: calc(100vh - var(--menu-height, 70px));
  font-family: var(--ad-sans); color: var(--ad-ink); -webkit-font-smoothing: antialiased;
}
.administrator-page * { box-sizing: border-box; }

/* header (title + New) */
.administrator-page .my-cashlib--title-wrapper {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: clamp(18px, 3vw, 28px);
}
.administrator-page .my-cashlib--title {
  font-family: var(--ad-display); font-weight: 800; font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.02em; color: var(--blue); margin: 0;
}
.administrator-page .admin-button {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff;
  text-decoration: none; font-family: var(--ad-sans); font-weight: 700; font-size: 14.5px;
  padding: 12px 22px; border-radius: var(--ad-pill); box-shadow: var(--ad-sh-md);
  transition: transform .18s var(--ad-ease), background .2s, box-shadow .25s;
}
.administrator-page .admin-button:hover { background: #0a5b79; transform: translateY(-2px); }

/* data table */
.administrator-page .table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid var(--ad-line); border-radius: var(--ad-r-lg); overflow: hidden;
  box-shadow: var(--ad-sh-sm); font-size: 14px;
}
.administrator-page .table thead th {
  text-align: left; padding: 14px 16px; background: var(--ad-surface-2); color: var(--ad-ink-soft);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--ad-line); white-space: nowrap;
}
.administrator-page .table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--ad-line); color: var(--ad-ink); vertical-align: middle; }
.administrator-page .table tbody tr:last-child td { border-bottom: 0; }
.administrator-page .table tbody tr { transition: background .15s; }
.administrator-page .table tbody tr:hover { background: var(--ad-surface); }

/* action icon buttons (view / edit / delete) */
.administrator-page .orange-button,
.administrator-page .green-button,
.administrator-page .red-button {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border-radius: 10px; text-decoration: none; font-size: 15px; margin-right: 6px;
  transition: transform .18s var(--ad-ease), background .2s, color .2s;
}
.administrator-page .orange-button { background: var(--blue-light, #e7f3fe); color: var(--blue); }
.administrator-page .orange-button:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.administrator-page .green-button { background: var(--ad-green-soft); color: var(--ad-green); }
.administrator-page .green-button:hover { background: var(--ad-green); color: #fff; transform: translateY(-2px); }
.administrator-page .red-button { background: var(--ad-red-soft); color: var(--ad-red); }
.administrator-page .red-button:hover { background: var(--ad-red); color: #fff; transform: translateY(-2px); }

/* forms */
.administrator-page .admin-form { max-width: 720px; margin: 0; background: transparent; padding: 0; box-shadow: none;
  display: flex; flex-direction: column; gap: 1rem; }
.administrator-page .admin-form > div { display: flex; flex-direction: column; gap: 7px; }
.administrator-page .admin-form label { font-size: 13px; font-weight: 700; color: var(--ad-ink); margin: 0; display: block; }
.administrator-page .admin-form input[type="text"],
.administrator-page .admin-form input[type="email"],
.administrator-page .admin-form input[type="number"],
.administrator-page .admin-form input:not([type]),
.administrator-page .admin-form select,
.administrator-page .admin-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 0; font-size: 15px; font-family: var(--ad-sans);
  border: 1.5px solid var(--ad-line); border-radius: var(--ad-r); background: var(--ad-surface);
  color: var(--ad-ink); outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.administrator-page .admin-form textarea { min-height: 160px; line-height: 1.5; resize: vertical; }
.administrator-page .admin-form input:focus,
.administrator-page .admin-form select:focus,
.administrator-page .admin-form textarea:focus {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(1,67,96,.10);
}
.administrator-page .admin-form input[type="checkbox"],
.administrator-page .admin-form input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue); }
.administrator-page .form-buttons { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 8px; align-items: center; }

/* form action buttons */
.administrator-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ad-sans); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 13px 26px; border: none; border-radius: var(--ad-pill); cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ad-ease), background .2s, box-shadow .25s, border-color .2s;
}
.administrator-page .btn-primary { background: var(--blue); color: #fff; box-shadow: var(--ad-sh-md); }
.administrator-page .btn-primary:hover { background: #0a5b79; transform: translateY(-2px); }
.administrator-page .btn-secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--ad-line); }
.administrator-page .btn-secondary:hover { border-color: var(--blue); background: var(--ad-surface); transform: translateY(-2px); }

/* alerts */
.administrator-page .alert { border-radius: var(--ad-r); padding: 1rem 1.25rem; margin-bottom: 1rem;
  border: 1px solid var(--ad-line); background: var(--ad-surface); color: var(--ad-ink); font-size: 14.5px; }
.administrator-page .alert-success { background: var(--ad-green-soft); border-color: #bfe3cf; color: #1f7a4d; }
.administrator-page .alert-danger,
.administrator-page .alert-error { background: var(--ad-red-soft); border-color: #f6cfc9; color: #a1281f; }

.administrator-page .region-flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(1,36,47,.08); vertical-align: middle; }

@media (max-width: 720px) {
  .administrator-page .table { display: block; overflow-x: auto; white-space: nowrap; }
}
