/* Shared GSE Club interface components */

.jq-toast-wrap {
  width: min(360px, calc(100vw - 32px));
  letter-spacing: 0;
}

.jq-toast-wrap.top-right {
  top: 16px;
  right: 16px;
}

.jq-toast-single {
  min-height: 72px;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 16px 44px 16px 48px;
  overflow: hidden;
  border: 1px solid #3B414A;
  border-left-width: 3px;
  border-radius: 8px;
  background-color: #292D33 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  color: #F5F7FA !important;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.jq-toast-single.jq-has-icon {
  padding: 16px 44px 16px 48px;
  background-image: none !important;
  background-position: initial;
  background-repeat: no-repeat;
}

.jq-toast-single.jq-has-icon::before {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 20px;
  height: 20px;
  font-family: FontAwesome;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
}

.jq-toast-single h2,
.jq-toast-single .jq-toast-heading {
  margin: 0 0 4px;
  color: #F5F7FA;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.jq-toast-single.jq-icon-success {
  border-left-color: #54D486;
}

.jq-toast-single.jq-icon-success::before {
  content: "\f00c";
  color: #54D486;
}

.jq-toast-single.jq-icon-error {
  border-left-color: #D34F5F;
}

.jq-toast-single.jq-icon-error::before {
  content: "\f071";
  color: #D34F5F;
}

.jq-toast-single.jq-icon-warning {
  border-left-color: #E6B84B;
}

.jq-toast-single.jq-icon-warning::before {
  content: "\f06a";
  color: #E6B84B;
}

.jq-toast-single.jq-icon-info {
  border-left-color: #2D7DD2;
}

.jq-toast-single.jq-icon-info::before {
  content: "\f05a";
  color: #2D7DD2;
}

.jq-toast-single.jq-icon-success .jq-toast-loader {
  background-color: #54D486 !important;
}

.jq-toast-single.jq-icon-error .jq-toast-loader {
  background-color: #D34F5F !important;
}

.jq-toast-single.jq-icon-warning .jq-toast-loader {
  background-color: #E6B84B !important;
}

.jq-toast-single.jq-icon-info .jq-toast-loader {
  background-color: #2D7DD2 !important;
}

.jq-toast-loader {
  top: 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
}

.close-jq-toast-single {
  top: 6px;
  right: 6px;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #B8C0CA;
  font-size: 20px;
  line-height: 1;
}

.close-jq-toast-single:hover,
.close-jq-toast-single:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #F5F7FA;
}

@media (max-width: 576px) {
  .jq-toast-wrap.top-right,
  .jq-toast-wrap.top-left {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jq-toast-single,
  .jq-toast-loader {
    transition: none !important;
  }
}

/* Administration Bootstrap modals */
body.page-header-fixed .modal-backdrop,
body.page-header-fixed .modal-backdrop.fade.in {
  background-color: #08090A !important;
}

body.page-header-fixed .modal-backdrop.in {
  opacity: 0.68;
}

body.page-header-fixed .modal .modal-dialog:not(.modal-full) {
  width: min(560px, calc(100vw - 32px));
  margin: 32px auto;
}

body.page-header-fixed .modal .modal-dialog.modal-sm {
  width: min(400px, calc(100vw - 32px));
}

body.page-header-fixed .modal .modal-dialog.modal-lg {
  width: min(900px, calc(100vw - 32px));
}

body.page-header-fixed .modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--gse-border);
  border-radius: 8px;
  background: var(--gse-surface-raised);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.48);
  color: var(--gse-text);
}

body.page-header-fixed .modal .modal-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gse-border);
  background: var(--gse-surface-raised);
}

body.page-header-fixed .modal .modal-title,
body.page-header-fixed .modal .modal-header h3,
body.page-header-fixed .modal .modal-header h4,
body.page-header-fixed .modal .modal-header h5 {
  margin: 0;
  color: var(--gse-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

body.page-header-fixed .modal .modal-header .close {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -6px -8px -6px auto !important;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--gse-text-secondary);
  font-size: 28px;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
}

body.page-header-fixed .modal .modal-header .close:hover,
body.page-header-fixed .modal .modal-header .close:focus {
  background: var(--gse-control-hover);
  color: var(--gse-text);
}

body.page-header-fixed .modal .modal-body {
  max-height: calc(100vh - 220px);
  padding: 20px;
  overflow-y: auto;
  color: var(--gse-text);
}

body.page-header-fixed .modal .modal-body label,
body.page-header-fixed .modal .modal-body p,
body.page-header-fixed .modal .modal-body .help-block {
  color: var(--gse-text-secondary);
}

body.page-header-fixed .modal .modal-body .form-control {
  min-height: 44px;
  border: 1px solid var(--gse-border);
  border-radius: 6px;
  background: var(--gse-surface-deep);
  color: var(--gse-text);
  box-shadow: none;
}

body.page-header-fixed .modal .modal-body .form-control:focus {
  border-color: #4CAF50;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.22);
}

body.page-header-fixed .modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--gse-border);
  background: var(--gse-surface);
}

body.page-header-fixed .modal .modal-footer .btn {
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0;
}

body.page-header-fixed .modal .modal-footer .btn-primary {
  border-color: var(--gse-button-primary);
  background: var(--gse-button-primary);
  color: #F5F7FA;
}

body.page-header-fixed .modal .modal-footer .btn-primary:hover,
body.page-header-fixed .modal .modal-footer .btn-primary:focus {
  border-color: var(--gse-button-primary-hover);
  background: var(--gse-button-primary-hover);
  color: #FFFFFF;
}

body.page-header-fixed .modal .modal-footer .btn-success {
  border-color: var(--gse-button-success);
  background: var(--gse-button-success);
  color: #F5F7FA;
}

body.page-header-fixed .modal .modal-footer .btn-success:hover,
body.page-header-fixed .modal .modal-footer .btn-success:focus {
  border-color: var(--gse-button-success-hover);
  background: var(--gse-button-success-hover);
  color: #FFFFFF;
}

body.page-header-fixed .modal .modal-footer .btn-danger {
  border-color: var(--gse-button-danger);
  background: var(--gse-button-danger);
  color: #FFFFFF;
}

body.page-header-fixed .modal .modal-footer .btn-default,
body.page-header-fixed .modal .modal-footer .btn-secondary {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text);
}

body.page-header-fixed .modal .modal-footer .btn-default:hover,
body.page-header-fixed .modal .modal-footer .btn-default:focus,
body.page-header-fixed .modal .modal-footer .btn-secondary:hover,
body.page-header-fixed .modal .modal-footer .btn-secondary:focus {
  border-color: var(--gse-text-muted);
  background: var(--gse-surface-hover);
  color: var(--gse-text);
}

body.page-header-fixed .modal .modal-header .close:focus-visible,
body.page-header-fixed .modal .modal-footer .btn:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
}

/* Administration SweetAlert confirmations */
body.page-header-fixed .swal2-container.swal2-backdrop-show,
body.page-header-fixed .swal2-container.swal2-noanimation {
  background: rgba(8, 9, 10, 0.72);
}

body.page-header-fixed .swal2-popup:not(.swal2-toast) {
  width: min(560px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--gse-border);
  border-radius: 8px;
  background: var(--gse-surface-raised);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.48);
  color: var(--gse-text);
}

body.page-header-fixed .swal2-title {
  margin: 0 0 8px;
  color: var(--gse-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

body.page-header-fixed .swal2-content,
body.page-header-fixed .swal2-html-container {
  color: var(--gse-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

body.page-header-fixed .swal2-actions {
  gap: 8px;
  margin: 24px 0 0;
}

body.page-header-fixed .swal2-styled {
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

body.page-header-fixed .swal2-styled.swal2-confirm {
  background-color: #4CAF50;
  color: #101512;
}

body.page-header-fixed .swal2-styled.swal2-cancel {
  border: 1px solid var(--gse-border);
  background-color: var(--gse-surface);
  color: var(--gse-text);
}

body.page-header-fixed .swal2-styled:focus-visible,
body.page-header-fixed .swal2-close:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
  box-shadow: none;
}

body.page-header-fixed .swal2-close {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  color: var(--gse-text-secondary);
}

body.page-header-fixed .swal2-close:hover {
  background: var(--gse-control-hover);
  color: var(--gse-text);
}

body.page-header-fixed .swal2-icon.swal2-warning {
  border-color: #E6B84B;
  color: #E6B84B;
}

body.page-header-fixed .swal2-icon.swal2-error {
  border-color: #D34F5F;
  color: #D34F5F;
}

body.page-header-fixed .swal2-icon.swal2-info,
body.page-header-fixed .swal2-icon.swal2-question {
  border-color: #2D7DD2;
  color: #2D7DD2;
}

body.page-header-fixed .swal2-icon.swal2-success {
  border-color: #54D486;
  color: #54D486;
}

@media (max-width: 576px) {
  body.page-header-fixed .modal .modal-dialog:not(.modal-full) {
    width: calc(100vw - 24px);
    margin: 12px auto;
  }

  body.page-header-fixed .modal .modal-body {
    max-height: calc(100vh - 196px);
    padding: 16px;
  }

  body.page-header-fixed .modal .modal-header,
  body.page-header-fixed .modal .modal-footer {
    padding: 14px 16px;
  }

  body.page-header-fixed .modal .modal-footer {
    flex-direction: column-reverse;
  }

  body.page-header-fixed .modal .modal-footer .btn {
    width: 100%;
  }

  body.page-header-fixed .swal2-popup:not(.swal2-toast) {
    width: calc(100vw - 24px);
    padding: 20px 16px;
  }

  body.page-header-fixed .swal2-actions {
    flex-direction: column-reverse;
  }

  body.page-header-fixed .swal2-styled {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-header-fixed .modal,
  body.page-header-fixed .modal .modal-dialog,
  body.page-header-fixed .swal2-popup {
    transition: none !important;
    animation: none !important;
  }
}

/* Administration shared views */
body.page-header-fixed {
  --gse-admin-header-height: 60px;
  --gse-bg: #181A1E;
  --gse-surface: #22252A;
  --gse-surface-raised: #292D33;
  --gse-surface-deep: #111316;
  --gse-surface-subtle: #25292E;
  --gse-surface-hover: #30353C;
  --gse-surface-active: #343940;
  --gse-border: #3B414A;
  --gse-border-strong: #59616C;
  --gse-table-divider: #343A42;
  --gse-text: #F5F7FA;
  --gse-text-secondary: #B8C0CA;
  --gse-text-muted: #8E98A5;
  --gse-control-hover: rgba(255, 255, 255, 0.08);
  --gse-primary: #4CAF50;
  --gse-primary-hover: #45A049;
  --gse-info: #2D7DD2;
  --gse-info-soft: rgba(71, 118, 149, 0.18);
  --gse-warning: #E6B84B;
  --gse-danger: #D34F5F;
  --gse-success: #54D486;
  --gse-button-primary: #477695;
  --gse-button-primary-hover: #5685A4;
  --gse-button-success: #3F7653;
  --gse-button-success-hover: #4C8661;
  --gse-button-warning: #876D3B;
  --gse-button-warning-hover: #987C48;
  --gse-button-danger: #994B57;
  --gse-button-danger-hover: #AA5864;
  --gse-status-success: #78C99A;
  --gse-status-info: #79A8D8;
  --gse-status-warning: #D0AE64;
  --gse-status-danger: #D8828D;
  color-scheme: dark;
  background: var(--gse-bg);
  color: var(--gse-text);
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

html[data-gse-admin-theme="light"] body.page-header-fixed {
  --gse-bg: #F4F6F8;
  --gse-surface: #FFFFFF;
  --gse-surface-raised: #F7F9FB;
  --gse-surface-deep: #EEF1F5;
  --gse-surface-subtle: #F8FAFC;
  --gse-surface-hover: #E9EEF3;
  --gse-surface-active: #DDE5EC;
  --gse-border: #D5DDE5;
  --gse-border-strong: #AAB6C2;
  --gse-table-divider: #E2E7EC;
  --gse-text: #1F2933;
  --gse-text-secondary: #52616F;
  --gse-text-muted: #73808C;
  --gse-control-hover: rgba(31, 41, 51, 0.08);
  --gse-button-primary: #3F6F91;
  --gse-info-soft: rgba(63, 111, 145, 0.12);
  --gse-button-primary-hover: #345F7F;
  --gse-button-success: #356C49;
  --gse-button-success-hover: #2C5E3F;
  --gse-button-warning: #806227;
  --gse-button-warning-hover: #6F541F;
  --gse-button-danger: #A34451;
  --gse-button-danger-hover: #913945;
  --gse-status-success: #2C7A57;
  --gse-status-info: #356FA8;
  --gse-status-warning: #8A6820;
  --gse-status-danger: #B34250;
  color-scheme: light;
}

body.page-header-fixed .page-wrapper,
body.page-header-fixed .page-container,
body.page-header-fixed .page-content-wrapper,
body.page-header-fixed .page-content {
  background-color: var(--gse-bg);
}

body.page-header-fixed .page-header.navbar {
  height: var(--gse-admin-header-height);
  min-height: var(--gse-admin-header-height);
}

body.page-header-fixed .page-container {
  margin-top: 0 !important;
}

body.page-header-fixed .page-content-wrapper {
  padding-top: var(--gse-admin-header-height);
}

body.page-header-fixed .page-content {
  min-width: 0;
  padding: 24px;
  color: var(--gse-text);
}

body.page-header-fixed .page-content > :not(script):not(style):not(.modal):not(.modal-backdrop) {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

body.page-header-fixed .page-content a {
  color: var(--gse-info);
}

body.page-header-fixed .page-content a:hover,
body.page-header-fixed .page-content a:focus {
  color: #5B9EE4;
  text-decoration: none;
}

body.page-header-fixed .page-content h1,
body.page-header-fixed .page-content h2,
body.page-header-fixed .page-content h3,
body.page-header-fixed .page-content h4,
body.page-header-fixed .page-content h5,
body.page-header-fixed .page-content h6 {
  color: var(--gse-text);
  letter-spacing: 0;
}

/* Page title and breadcrumb */
body.page-header-fixed .page-bar {
  min-height: 56px;
  margin: 0 auto 24px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--gse-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-header-fixed .page-title-breadcrumb {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.page-header-fixed .page-title-breadcrumb::before,
body.page-header-fixed .page-title-breadcrumb::after {
  display: none;
}

body.page-header-fixed .page-title,
body.page-header-fixed .page-content-white .page-title {
  margin: 0;
  padding: 0;
  color: var(--gse-text) !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

body.page-header-fixed .page-title small,
body.page-header-fixed .page-content-white .page-title small {
  display: block;
  margin-top: 4px;
  color: var(--gse-text-secondary);
  font-size: 13px;
  font-weight: 500;
}

body.page-header-fixed .page-bar .page-breadcrumb,
body.page-header-fixed .page-content-white .page-bar .page-breadcrumb {
  min-height: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.page-header-fixed .page-bar .page-breadcrumb > li,
body.page-header-fixed .page-bar .page-breadcrumb > li > a,
body.page-header-fixed .page-bar .page-breadcrumb > li > span,
body.page-header-fixed .page-bar .page-breadcrumb > li > i,
body.page-header-fixed .page-content-white .page-bar .page-breadcrumb > li > a,
body.page-header-fixed .page-content-white .page-bar .page-breadcrumb > li > span,
body.page-header-fixed .page-content-white .page-bar .page-breadcrumb > li > i {
  color: var(--gse-text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

body.page-header-fixed .page-bar .page-breadcrumb > li.active,
body.page-header-fixed .page-bar .page-breadcrumb > li:last-child > span {
  color: var(--gse-text);
}

/* Cards and panels */
body.page-header-fixed .page-content .card,
body.page-header-fixed .page-content .card-box,
body.page-header-fixed .page-content .panel,
body.page-header-fixed .page-content .portlet,
body.page-header-fixed .page-content .well {
  border: 1px solid var(--gse-border);
  border-radius: 8px;
  background: var(--gse-surface);
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed .page-content .card-box:hover,
body.page-header-fixed .page-content .panel:hover {
  transform: none;
  box-shadow: none;
}

body.page-header-fixed .page-content .card-head,
body.page-header-fixed .page-content .panel-heading,
body.page-header-fixed .page-content .portlet-title {
  position: relative;
  min-height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  padding: 10px 14px !important;
  border: 0;
  border-bottom: 1px solid var(--gse-border) !important;
  border-radius: 8px 8px 0 0;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
  line-height: 1.4;
}

body.page-header-fixed .page-content .card-head::before,
body.page-header-fixed .page-content .card-head::after {
  display: none !important;
  content: none !important;
}

body.page-header-fixed .page-content .card-head header {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
  line-height: 1.4;
}

body.page-header-fixed .page-content .card-head header,
body.page-header-fixed .page-content .panel-heading .caption,
body.page-header-fixed .page-content .panel-title,
body.page-header-fixed .page-content .portlet-title .caption {
  color: var(--gse-text) !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

body.page-header-fixed .page-content .card-head .tools,
body.page-header-fixed .page-content .panel-heading .tools {
  width: auto !important;
  min-height: 32px;
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  float: none !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.page-header-fixed .page-content .card-head .tools .btn-color,
body.page-header-fixed .page-content .card-head .tools .btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gse-text-muted) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.page-header-fixed .page-content .card-head .tools .btn-color:hover,
body.page-header-fixed .page-content .card-head .tools .btn-color:focus,
body.page-header-fixed .page-content .card-head .tools .btn:hover,
body.page-header-fixed .page-content .card-head .tools .btn:focus {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-active) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-content .card-head .tools .box-refresh:hover,
body.page-header-fixed .page-content .card-head .tools .box-refresh:focus {
  color: var(--gse-button-primary-hover) !important;
}

body.page-header-fixed .page-content .card-head .tools .t-close:hover,
body.page-header-fixed .page-content .card-head .tools .t-close:focus {
  border-color: rgba(153, 75, 87, 0.42) !important;
  background: rgba(153, 75, 87, 0.12) !important;
  color: var(--gse-button-danger-hover) !important;
}

body.page-header-fixed .page-content .card-body,
body.page-header-fixed .page-content .panel-body,
body.page-header-fixed .page-content .portlet-body,
body.page-header-fixed .page-content .well {
  padding: 16px;
  color: var(--gse-text);
}

body.page-header-fixed .page-content .card-body.no-padding,
body.page-header-fixed .page-content .panel-body.no-padding {
  padding: 0;
}

body.page-header-fixed .page-content .card-footer,
body.page-header-fixed .page-content .panel-footer,
body.page-header-fixed .page-content .card-actionbar {
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid var(--gse-border);
  border-radius: 0 0 8px 8px;
  background: var(--gse-surface-raised);
}

/* Buttons and actions */
body.page-header-fixed .page-content .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: normal;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.page-header-fixed .page-content .btn-sm,
body.page-header-fixed .page-content .btn-xs,
body.page-header-fixed .page-content .table .btn,
body.page-header-fixed .page-content .dataTable .btn {
  min-height: 36px;
  padding: 7px 11px;
}

body.page-header-fixed .page-content .btn-primary {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #F5F7FA !important;
}

body.page-header-fixed .page-content .btn-primary:hover,
body.page-header-fixed .page-content .btn-primary:focus {
  border-color: var(--gse-button-primary-hover) !important;
  background: var(--gse-button-primary-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-success {
  border-color: var(--gse-button-success) !important;
  background: var(--gse-button-success) !important;
  color: #F5F7FA !important;
}

body.page-header-fixed .page-content .btn-success:hover,
body.page-header-fixed .page-content .btn-success:focus {
  border-color: var(--gse-button-success-hover) !important;
  background: var(--gse-button-success-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-info {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #F5F7FA !important;
}

body.page-header-fixed .page-content .btn-warning {
  border-color: var(--gse-button-warning) !important;
  background: var(--gse-button-warning) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-danger {
  border-color: var(--gse-button-danger) !important;
  background: var(--gse-button-danger) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-info:hover,
body.page-header-fixed .page-content .btn-info:focus {
  border-color: var(--gse-button-primary-hover) !important;
  background: var(--gse-button-primary-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-warning:hover,
body.page-header-fixed .page-content .btn-warning:focus {
  border-color: var(--gse-button-warning-hover) !important;
  background: var(--gse-button-warning-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-danger:hover,
body.page-header-fixed .page-content .btn-danger:focus {
  border-color: var(--gse-button-danger-hover) !important;
  background: var(--gse-button-danger-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn.blue {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #F5F7FA !important;
}

body.page-header-fixed .page-content .btn.blue:hover,
body.page-header-fixed .page-content .btn.blue:focus {
  border-color: var(--gse-button-primary-hover) !important;
  background: var(--gse-button-primary-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn.green {
  border-color: var(--gse-button-success) !important;
  background: var(--gse-button-success) !important;
  color: #F5F7FA !important;
}

body.page-header-fixed .page-content .btn.green:hover,
body.page-header-fixed .page-content .btn.green:focus {
  border-color: var(--gse-button-success-hover) !important;
  background: var(--gse-button-success-hover) !important;
  color: #FFFFFF !important;
}

body.page-header-fixed .page-content .btn-default,
body.page-header-fixed .page-content .btn-secondary,
body.page-header-fixed .page-content .btn.default,
body.page-header-fixed .page-content .btn.deepPink-bgcolor {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-content .btn-default:hover,
body.page-header-fixed .page-content .btn-default:focus,
body.page-header-fixed .page-content .btn-secondary:hover,
body.page-header-fixed .page-content .btn-secondary:focus,
body.page-header-fixed .page-content .btn.default:hover,
body.page-header-fixed .page-content .btn.default:focus,
body.page-header-fixed .page-content .btn.deepPink-bgcolor:hover,
body.page-header-fixed .page-content .btn.deepPink-bgcolor:focus {
  border-color: var(--gse-text-muted);
  background: var(--gse-surface-active);
  color: var(--gse-text);
}

body.page-header-fixed .page-content .btn:disabled,
body.page-header-fixed .page-content .btn.disabled,
body.page-header-fixed .page-content .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

body.page-header-fixed .page-content .btn:focus-visible,
body.page-header-fixed .page-content a:focus-visible,
body.page-header-fixed .page-content button:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
}

body.page-header-fixed .page-content .btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.page-header-fixed .page-content .btn-group > .btn {
  margin: 0;
  border-radius: 6px !important;
}

/* Forms */
body.page-header-fixed .page-content .form-group {
  margin-bottom: 16px;
}

body.page-header-fixed .page-content label,
body.page-header-fixed .page-content .control-label {
  margin-bottom: 6px;
  color: var(--gse-text-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

body.page-header-fixed .page-content .form-control,
body.page-header-fixed .page-content input[type="text"],
body.page-header-fixed .page-content input[type="email"],
body.page-header-fixed .page-content input[type="password"],
body.page-header-fixed .page-content input[type="number"],
body.page-header-fixed .page-content input[type="date"],
body.page-header-fixed .page-content input[type="time"],
body.page-header-fixed .page-content select,
body.page-header-fixed .page-content textarea {
  min-height: 44px;
  border: 1px solid var(--gse-border);
  border-radius: 6px;
  background-color: var(--gse-surface-deep);
  color: var(--gse-text);
  box-shadow: none;
  font-size: 14px;
  letter-spacing: 0;
}

body.page-header-fixed .page-content textarea.form-control,
body.page-header-fixed .page-content textarea {
  min-height: 104px;
  resize: vertical;
}

body.page-header-fixed .page-content .form-control::placeholder,
body.page-header-fixed .page-content input::placeholder,
body.page-header-fixed .page-content textarea::placeholder {
  color: var(--gse-text-muted);
  opacity: 1;
}

body.page-header-fixed .page-content .form-control:focus,
body.page-header-fixed .page-content input:focus,
body.page-header-fixed .page-content select:focus,
body.page-header-fixed .page-content textarea:focus {
  border-color: var(--gse-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.22);
}

body.page-header-fixed .page-content .form-control[disabled],
body.page-header-fixed .page-content .form-control[readonly],
body.page-header-fixed .page-content fieldset[disabled] .form-control {
  background: #202328;
  color: var(--gse-text-muted);
  opacity: 1;
}

body.page-header-fixed .page-content .input-group-addon,
body.page-header-fixed .page-content .input-group-text {
  min-width: 44px;
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text-secondary);
}

body.page-header-fixed .page-content .help-block,
body.page-header-fixed .page-content .form-text,
body.page-header-fixed .page-content .text-muted {
  color: var(--gse-text-muted) !important;
  font-size: 12px;
  line-height: 1.5;
}

body.page-header-fixed .page-content .form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--gse-border);
  background: transparent;
}

body.page-header-fixed .page-content .select2-container .select2-selection--single,
body.page-header-fixed .page-content .select2-container .select2-selection--multiple {
  min-height: 44px;
  border: 1px solid var(--gse-border);
  border-radius: 6px;
  background: var(--gse-surface-deep);
  color: var(--gse-text);
}

body.page-header-fixed .page-content .select2-container--default .select2-selection--single .select2-selection__rendered {
  min-height: 42px;
  padding: 10px 36px 10px 12px;
  color: var(--gse-text);
  line-height: 22px;
}

body.page-header-fixed .page-content .select2-container--default .select2-selection--single .select2-selection__arrow {
  min-height: 42px;
}

/* Tables and data lists */
body.page-header-fixed .page-content .table-responsive,
body.page-header-fixed .page-content .table-scrollable,
body.page-header-fixed .page-content .dataTables_scrollBody {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--gse-border) !important;
  border-radius: 8px;
  background: var(--gse-surface) !important;
  -webkit-overflow-scrolling: touch;
}

body.page-header-fixed .page-content .table-scrollable > .table,
body.page-header-fixed .page-content .table-responsive > .table {
  margin-bottom: 0;
}

body.page-header-fixed .page-content .table,
body.page-header-fixed .page-content .dataTable {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: separate;
  border-spacing: 0;
  border: 0 !important;
  background: transparent;
  color: var(--gse-text);
  font-size: 13px;
}

body.page-header-fixed .page-content .table > thead > tr > th,
body.page-header-fixed .page-content .dataTable > thead > tr > th {
  min-height: 44px;
  padding: 12px;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--gse-table-divider) !important;
  border-left: 0 !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
}

body.page-header-fixed .page-content .table > tbody > tr > td,
body.page-header-fixed .page-content .table > tbody > tr > th,
body.page-header-fixed .page-content .table > tfoot > tr > td,
body.page-header-fixed .page-content .dataTable > tbody > tr > td {
  padding: 12px;
  border-top: 1px solid var(--gse-table-divider) !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  line-height: 1.5;
  vertical-align: middle;
}

body.page-header-fixed .page-content .table-striped > tbody > tr:nth-of-type(odd) > td,
body.page-header-fixed .page-content .table-striped > tbody > tr:nth-of-type(odd) > th,
body.page-header-fixed .page-content table.dataTable.stripe > tbody > tr.odd > td,
body.page-header-fixed .page-content table.dataTable.display > tbody > tr.odd > td {
  background: var(--gse-surface-subtle) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-content .table-striped > tbody > tr:nth-of-type(even) > td,
body.page-header-fixed .page-content .table-striped > tbody > tr:nth-of-type(even) > th,
body.page-header-fixed .page-content table.dataTable.stripe > tbody > tr.even > td,
body.page-header-fixed .page-content table.dataTable.display > tbody > tr.even > td,
body.page-header-fixed .page-content table.dataTable > tbody > tr > td.sorting_1 {
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-content .table-hover > tbody > tr:hover > td,
body.page-header-fixed .page-content .table-hover > tbody > tr:hover > th {
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-content .table a,
body.page-header-fixed .page-content .dataTable a {
  font-weight: 600;
}

body.page-header-fixed .page-content .dataTables_wrapper .dataTables_length,
body.page-header-fixed .page-content .dataTables_wrapper .dataTables_filter,
body.page-header-fixed .page-content .dataTables_wrapper .dataTables_info,
body.page-header-fixed .page-content .dataTables_wrapper .dataTables_processing,
body.page-header-fixed .page-content .dataTables_wrapper .dataTables_paginate {
  margin: 0 0 12px;
  color: var(--gse-text-secondary) !important;
  font-size: 13px;
}

body.page-header-fixed .page-content .dataTables_wrapper .dataTables_filter input,
body.page-header-fixed .page-content .dataTables_wrapper .dataTables_length select {
  min-height: 40px;
  margin-left: 8px;
}

/* Legacy administration tables mapped to the active theme */
body.page-header-fixed.action-admin_index .card.card-topline-red {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  box-shadow: none !important;
}

body.page-header-fixed.action-admin_index .dataTables_wrapper .dataTables_length label,
body.page-header-fixed.action-admin_index .dataTables_wrapper .dataTables_filter label,
body.page-header-fixed.action-admin_index .dataTables_wrapper .dataTables_info {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.action-admin_index .dataTables_wrapper .dataTables_length select,
body.page-header-fixed.action-admin_index .dataTables_wrapper .dataTables_filter input,
body.page-header-fixed.action-admin_index .table-manager-select .form-control {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.action-admin_index .table-id-pill,
body.page-header-fixed.action-admin_index .table-name-pill,
body.page-header-fixed.action-admin_index .table-game-pill,
body.page-header-fixed.action-admin_index .billing-badge,
body.page-header-fixed.action-admin_index .table-status-badge,
body.page-header-fixed.action-admin_index .table-status-action {
  border: 1px solid var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
  box-shadow: none !important;
}

body.page-header-fixed.action-admin_index .table-name-pill {
  color: var(--gse-text) !important;
}

body.page-header-fixed.action-admin_index .table-game-pill,
body.page-header-fixed.action-admin_index .billing-badge--frame {
  border-color: rgba(45, 125, 210, 0.3) !important;
  background: rgba(45, 125, 210, 0.1) !important;
  color: var(--gse-status-info) !important;
}

body.page-header-fixed.action-admin_index .billing-badge--time,
body.page-header-fixed.action-admin_index .table-status-badge--active {
  border-color: rgba(84, 212, 134, 0.3) !important;
  background: rgba(84, 212, 134, 0.1) !important;
  color: var(--gse-status-success) !important;
}

body.page-header-fixed.action-admin_index .billing-badge--both {
  border-color: rgba(208, 174, 100, 0.34) !important;
  background: rgba(208, 174, 100, 0.1) !important;
  color: var(--gse-status-warning) !important;
}

body.page-header-fixed.action-admin_index .table-status-badge--inactive {
  border-color: rgba(216, 130, 141, 0.32) !important;
  background: rgba(216, 130, 141, 0.1) !important;
  color: var(--gse-status-danger) !important;
}

body.page-header-fixed.action-admin_index .table-status-action:hover,
body.page-header-fixed.action-admin_index .table-status-action:focus {
  border-color: var(--gse-button-primary-hover) !important;
  background: var(--gse-surface-active) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.action-admin_index .tables-action-list .btn {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  box-shadow: none !important;
}

body.page-header-fixed.action-admin_index .tables-action-list .btn-primary {
  border-color: rgba(121, 168, 216, 0.34) !important;
  color: var(--gse-status-info) !important;
}

body.page-header-fixed.action-admin_index .tables-action-list .btn-danger {
  border-color: rgba(216, 130, 141, 0.34) !important;
  color: var(--gse-status-danger) !important;
}

body.page-header-fixed.action-admin_index .tables-action-list .btn:hover,
body.page-header-fixed.action-admin_index .tables-action-list .btn:focus {
  background: var(--gse-surface-active) !important;
}

body.page-header-fixed.action-admin_index .dash-device-actions .btn {
  box-shadow: none !important;
}

body.page-header-fixed.action-admin_index .billing-explain,
body.page-header-fixed.action-admin_index .dash-device-cell small,
body.page-header-fixed.action-admin_index .dash-device-state--off {
  color: var(--gse-text-muted) !important;
}

body.page-header-fixed.action-admin_index .dash-device-state--online {
  color: var(--gse-status-success) !important;
}

body.page-header-fixed.action-admin_index .dash-device-state--idle {
  color: var(--gse-status-warning) !important;
}

/* Status, navigation and feedback */
body.page-header-fixed .page-content .label,
body.page-header-fixed .page-content .badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

body.page-header-fixed .page-content .label-success,
body.page-header-fixed .page-content .badge-success {
  background: rgba(84, 212, 134, 0.12) !important;
  color: var(--gse-status-success) !important;
}

body.page-header-fixed .page-content .label-danger,
body.page-header-fixed .page-content .badge-danger {
  background: rgba(211, 79, 95, 0.12) !important;
  color: var(--gse-status-danger) !important;
}

body.page-header-fixed .page-content .label-warning,
body.page-header-fixed .page-content .badge-warning {
  background: rgba(230, 184, 75, 0.12) !important;
  color: var(--gse-status-warning) !important;
}

body.page-header-fixed .page-content .label-info,
body.page-header-fixed .page-content .badge-info,
body.page-header-fixed .page-content .label-primary,
body.page-header-fixed .page-content .badge-primary {
  background: rgba(45, 125, 210, 0.12) !important;
  color: var(--gse-status-info) !important;
}

body.page-header-fixed .page-content .label-default,
body.page-header-fixed .page-content .badge-default {
  background: var(--gse-surface-active) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .page-content .nav-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gse-border);
}

body.page-header-fixed .page-content .nav-tabs > li {
  flex: 0 0 auto;
  margin: 0;
}

body.page-header-fixed .page-content .nav-tabs > li > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--gse-text-secondary);
  font-weight: 700;
}

body.page-header-fixed .page-content .nav-tabs > li.active > a,
body.page-header-fixed .page-content .nav-tabs > li.active > a:hover,
body.page-header-fixed .page-content .nav-tabs > li.active > a:focus,
body.page-header-fixed .page-content .nav-tabs > li > a:hover,
body.page-header-fixed .page-content .nav-tabs > li > a:focus {
  border: 0;
  border-bottom: 3px solid var(--gse-primary);
  background: var(--gse-surface);
  color: var(--gse-text);
}

body.page-header-fixed .page-content .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0;
}

body.page-header-fixed .page-content .pagination > li > a,
body.page-header-fixed .page-content .pagination > li > span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid var(--gse-border);
  border-radius: 6px;
  background: var(--gse-surface);
  color: var(--gse-text-secondary);
}

body.page-header-fixed .page-content .pagination > .active > a,
body.page-header-fixed .page-content .pagination > .active > span,
body.page-header-fixed .page-content .pagination > li > a:hover,
body.page-header-fixed .page-content .pagination > li > a:focus {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #F5F7FA !important;
  box-shadow: none !important;
}

body.page-header-fixed .page-content .pagination > .disabled > a,
body.page-header-fixed .page-content .pagination > .disabled > span {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text-muted) !important;
  opacity: 0.58;
}

body.page-header-fixed .page-content .dropdown-menu {
  padding: 6px;
  border: 1px solid var(--gse-border);
  border-radius: 8px;
  background: var(--gse-surface-raised);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

body.page-header-fixed .page-content .dropdown-menu > li > a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--gse-text-secondary);
}

body.page-header-fixed .page-content .dropdown-menu > li > a:hover,
body.page-header-fixed .page-content .dropdown-menu > li > a:focus {
  background: var(--gse-surface-active);
  color: var(--gse-text);
}

body.page-header-fixed .page-content .alert {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--gse-border);
  border-left-width: 3px;
  border-radius: 8px;
  background: var(--gse-surface);
  color: var(--gse-text);
}

body.page-header-fixed .page-content .alert-success {
  border-left-color: var(--gse-success);
}

body.page-header-fixed .page-content .alert-info {
  border-left-color: var(--gse-info);
}

body.page-header-fixed .page-content .alert-warning {
  border-left-color: var(--gse-warning);
}

body.page-header-fixed .page-content .alert-danger {
  border-left-color: var(--gse-danger);
}

body.page-header-fixed .page-content hr {
  border-color: var(--gse-border);
}

@media (max-width: 991px) {
  body.page-header-fixed .page-content {
    padding: 20px;
  }

  body.page-header-fixed .page-title-breadcrumb {
    align-items: flex-start;
  }

  body.page-header-fixed .page-content .control-label[class*="col-"] {
    padding-top: 0;
    text-align: left;
  }
}

@media (max-width: 767px) {
  body.page-header-fixed .page-content {
    padding: 16px;
  }

  body.page-header-fixed .page-bar {
    min-height: 0;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  body.page-header-fixed .page-title-breadcrumb {
    display: block;
  }

  body.page-header-fixed .page-title-breadcrumb .pull-left,
  body.page-header-fixed .page-title-breadcrumb .pull-right {
    width: 100%;
    float: none !important;
  }

  body.page-header-fixed .page-title {
    font-size: 22px;
  }

  body.page-header-fixed .page-bar .page-breadcrumb {
    margin-top: 8px;
  }

  body.page-header-fixed .page-content .card-head,
  body.page-header-fixed .page-content .panel-heading,
  body.page-header-fixed .page-content .portlet-title {
    min-height: 52px;
    padding: 12px 14px;
  }

  body.page-header-fixed .page-content .card-body,
  body.page-header-fixed .page-content .panel-body,
  body.page-header-fixed .page-content .portlet-body,
  body.page-header-fixed .page-content .well {
    padding: 14px;
  }

  body.page-header-fixed .page-content .form-group.row {
    margin-right: 0;
    margin-left: 0;
  }

  body.page-header-fixed .page-content .form-group.row > [class*="col-"] {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  body.page-header-fixed .page-content .form-actions {
    justify-content: stretch;
  }

  body.page-header-fixed .page-content .form-actions .btn {
    flex: 1 1 180px;
  }

  body.page-header-fixed .page-content .dataTables_wrapper .dataTables_length,
  body.page-header-fixed .page-content .dataTables_wrapper .dataTables_filter,
  body.page-header-fixed .page-content .dataTables_wrapper .dataTables_info,
  body.page-header-fixed .page-content .dataTables_wrapper .dataTables_paginate {
    width: 100%;
    float: none;
    text-align: left;
  }
}

/* Header notifications */
body.page-header-fixed #header_notification_bar > .dropdown-toggle,
body.page-header-fixed #header_notification_bar.open > .dropdown-toggle {
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed #header_notification_bar > .dropdown-toggle > i {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed #header_notification_bar .headerBadgeColor1 {
  border: 2px solid var(--gse-surface-raised) !important;
  background: var(--gse-button-warning) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.page-header-fixed #header_notification_bar > .dropdown-menu {
  width: 420px;
  max-width: calc(100vw - 24px);
  padding: 0 !important;
  border: 1px solid var(--gse-border) !important;
  border-radius: 6px !important;
  background: var(--gse-surface) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
}

body.page-header-fixed #header_notification_bar > .dropdown-menu::before,
body.page-header-fixed #header_notification_bar > .dropdown-menu::after {
  border-bottom-color: var(--gse-surface-raised) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu > li.external {
  min-height: 58px;
  padding: 0 18px !important;
  border-bottom: 1px solid var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu > li.external h3,
body.page-header-fixed #header_notification_bar .dropdown-menu > li.external h3 .bold {
  color: var(--gse-text) !important;
}

body.page-header-fixed #header_notification_bar .notification-label {
  border: 1px solid rgba(121, 168, 216, 0.35) !important;
  background: var(--gse-info-soft) !important;
  color: var(--gse-status-info) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-list {
  max-height: 360px !important;
  background: var(--gse-surface) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-list > li,
body.page-header-fixed #header_notification_bar .dropdown-menu-list > li[style] {
  border: 0 !important;
  background: var(--gse-surface) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-list > li[style] {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-list > li > a {
  min-height: 72px;
  padding: 12px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--gse-table-divider) !important;
  background: transparent !important;
  color: var(--gse-text-secondary) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-list > li > a:hover,
body.page-header-fixed #header_notification_bar .dropdown-menu-list > li > a:focus {
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed #header_notification_bar .notification-icon {
  width: 36px;
  height: 36px;
  margin-right: 10px !important;
  background: var(--gse-button-primary) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-list .time {
  max-width: 105px !important;
  margin: 2px 0 6px 10px !important;
  padding: 3px 7px !important;
  border-radius: 4px;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text-muted) !important;
  opacity: 1 !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-footer {
  border-top: 1px solid var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-footer a {
  display: block;
  padding: 13px 16px !important;
  background: transparent !important;
  color: var(--gse-text-secondary) !important;
  font-weight: 600;
  text-align: center;
}

body.page-header-fixed #header_notification_bar .dropdown-menu-footer a:hover,
body.page-header-fixed #header_notification_bar .dropdown-menu-footer a:focus {
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

@media (max-width: 575px) {
  body.page-header-fixed #header_notification_bar > .dropdown-menu {
    position: fixed !important;
    top: var(--gse-admin-header-height) !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none;
  }
}

/* Core club modules: lists and add/edit forms */
body.page-header-fixed.controller-subscriptions .card,
body.page-header-fixed.controller-games .card,
body.page-header-fixed.controller-players .card,
body.page-header-fixed.controller-matchs.action-admin_index .card,
body.page-header-fixed.controller-matchs.action-admin_add .card,
body.page-header-fixed.controller-matchs.action-admin_edit .card,
body.page-header-fixed.controller-cashregisterdays .card,
body.page-header-fixed.controller-userworkschedules .card,
body.page-header-fixed.controller-userworkschedules .schedule-form-card {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-subscriptions .card-head,
body.page-header-fixed.controller-games .card-head,
body.page-header-fixed.controller-players .card-head,
body.page-header-fixed.controller-matchs.action-admin_index .card-head,
body.page-header-fixed.controller-matchs.action-admin_add .card-head,
body.page-header-fixed.controller-matchs.action-admin_edit .card-head,
body.page-header-fixed.controller-cashregisterdays .card-head,
body.page-header-fixed.controller-userworkschedules .card-head {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-subscriptions .card-head header,
body.page-header-fixed.controller-games .card-head header,
body.page-header-fixed.controller-players .card-head header,
body.page-header-fixed.controller-matchs.action-admin_index .card-head header,
body.page-header-fixed.controller-matchs.action-admin_add .card-head header,
body.page-header-fixed.controller-matchs.action-admin_edit .card-head header,
body.page-header-fixed.controller-cashregisterdays .card-head header,
body.page-header-fixed.controller-userworkschedules .card-head header {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-subscriptions .card-body,
body.page-header-fixed.controller-games .card-body,
body.page-header-fixed.controller-players .card-body,
body.page-header-fixed.controller-matchs.action-admin_index .card-body,
body.page-header-fixed.controller-matchs.action-admin_add .card-body,
body.page-header-fixed.controller-matchs.action-admin_edit .card-body,
body.page-header-fixed.controller-cashregisterdays .card-body,
body.page-header-fixed.controller-userworkschedules .card-body,
body.page-header-fixed.controller-subscriptions .form-body,
body.page-header-fixed.controller-games .form-body,
body.page-header-fixed.controller-players .form-body,
body.page-header-fixed.controller-matchs.action-admin_add .form-body,
body.page-header-fixed.controller-matchs.action-admin_edit .form-body,
body.page-header-fixed.controller-userworkschedules .form-body {
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-subscriptions .card-topline-red,
body.page-header-fixed.controller-games .card-topline-red,
body.page-header-fixed.controller-players .card-topline-red,
body.page-header-fixed.controller-matchs.action-admin_index .card-topline-red,
body.page-header-fixed.controller-cashregisterdays .card-topline-red,
body.page-header-fixed.controller-userworkschedules .card-topline-red {
  border-top-color: var(--gse-button-primary) !important;
}

body.page-header-fixed.controller-subscriptions label,
body.page-header-fixed.controller-games label,
body.page-header-fixed.controller-players label,
body.page-header-fixed.controller-matchs.action-admin_add label,
body.page-header-fixed.controller-matchs.action-admin_edit label,
body.page-header-fixed.controller-cashregisterdays label,
body.page-header-fixed.controller-userworkschedules label,
body.page-header-fixed.controller-subscriptions .dataTables_info,
body.page-header-fixed.controller-games .dataTables_info,
body.page-header-fixed.controller-matchs.action-admin_index .dataTables_info {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-subscriptions .form-control,
body.page-header-fixed.controller-games .form-control,
body.page-header-fixed.controller-players .form-control,
body.page-header-fixed.controller-matchs.action-admin_add .form-control,
body.page-header-fixed.controller-matchs.action-admin_edit .form-control,
body.page-header-fixed.controller-matchs.action-admin_add input,
body.page-header-fixed.controller-matchs.action-admin_edit input,
body.page-header-fixed.controller-cashregisterdays .form-control,
body.page-header-fixed.controller-userworkschedules .form-control {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-subscriptions .form-control:focus,
body.page-header-fixed.controller-games .form-control:focus,
body.page-header-fixed.controller-players .form-control:focus,
body.page-header-fixed.controller-matchs.action-admin_add .form-control:focus,
body.page-header-fixed.controller-matchs.action-admin_edit .form-control:focus,
body.page-header-fixed.controller-cashregisterdays .form-control:focus,
body.page-header-fixed.controller-userworkschedules .form-control:focus {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-surface) !important;
}

body.page-header-fixed.controller-subscriptions .form-actions,
body.page-header-fixed.controller-games .form-actions,
body.page-header-fixed.controller-players .form-actions,
body.page-header-fixed.controller-matchs.action-admin_add .form-actions,
body.page-header-fixed.controller-matchs.action-admin_edit .form-actions,
body.page-header-fixed.controller-userworkschedules .form-actions {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-subscriptions .table-scrollable,
body.page-header-fixed.controller-games .table-scrollable,
body.page-header-fixed.controller-players .table-scrollable,
body.page-header-fixed.controller-matchs.action-admin_index .table-scrollable,
body.page-header-fixed.controller-cashregisterdays .table-scrollable,
body.page-header-fixed.controller-userworkschedules .table-scrollable {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-subscriptions table thead th,
body.page-header-fixed.controller-games table thead th,
body.page-header-fixed.controller-players table thead th,
body.page-header-fixed.controller-matchs.action-admin_index table thead th,
body.page-header-fixed.controller-cashregisterdays table thead th,
body.page-header-fixed.controller-userworkschedules table thead th {
  border-color: var(--gse-table-divider) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-subscriptions table tbody td,
body.page-header-fixed.controller-games table tbody td,
body.page-header-fixed.controller-players table tbody td,
body.page-header-fixed.controller-matchs.action-admin_index table tbody td,
body.page-header-fixed.controller-cashregisterdays table tbody td,
body.page-header-fixed.controller-userworkschedules table tbody td {
  border-color: var(--gse-table-divider) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-subscriptions table.table-striped tbody tr:nth-of-type(even) td,
body.page-header-fixed.controller-games table.table-striped tbody tr:nth-of-type(even) td,
body.page-header-fixed.controller-players table.table-striped tbody tr:nth-of-type(even) td,
body.page-header-fixed.controller-matchs.action-admin_index table.table-striped tbody tr:nth-of-type(even) td,
body.page-header-fixed.controller-cashregisterdays table.table-striped tbody tr:nth-of-type(even) td,
body.page-header-fixed.controller-userworkschedules table.table-striped tbody tr:nth-of-type(even) td {
  background: var(--gse-surface-subtle) !important;
}

/* Player profile and forms */
body.page-header-fixed.controller-players .player-form-shell,
body.page-header-fixed.controller-players .player-form-head,
body.page-header-fixed.controller-players .player-form-body,
body.page-header-fixed.controller-players .player-form-section,
body.page-header-fixed.controller-players .profile-card,
body.page-header-fixed.controller-players .kpi-box,
body.page-header-fixed.controller-players .info-item {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-players .player-form-head,
body.page-header-fixed.controller-players .player-form-section,
body.page-header-fixed.controller-players .kpi-box,
body.page-header-fixed.controller-players .info-item {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-players .profile-title h2,
body.page-header-fixed.controller-players .kpi-value,
body.page-header-fixed.controller-players .info-value,
body.page-header-fixed.controller-players .player-field label {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-players .profile-meta,
body.page-header-fixed.controller-players .kpi-label,
body.page-header-fixed.controller-players .info-label {
  color: var(--gse-text-secondary) !important;
}

/* Cash register close/reopen and work schedule forms */
body.page-header-fixed.controller-cashregisterdays .cash-form-card,
body.page-header-fixed.controller-cashregisterdays .cash-reopen-card,
body.page-header-fixed.controller-cashregisterdays .cash-context-item,
body.page-header-fixed.controller-userworkschedules .schedule-form-card {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-cashregisterdays .cash-context-item {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-cashregisterdays .cash-context-item strong,
body.page-header-fixed.controller-cashregisterdays .cash-context-value,
body.page-header-fixed.controller-userworkschedules .schedule-form-grid label {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-cashregisterdays .cash-warning {
  border-color: var(--gse-status-danger) !important;
  background: rgba(153, 75, 87, 0.16) !important;
  color: var(--gse-status-danger) !important;
}

body.page-header-fixed.controller-cashregisterdays .cash-reopen-note {
  border-color: var(--gse-status-warning) !important;
  background: rgba(135, 109, 59, 0.16) !important;
  color: var(--gse-status-warning) !important;
}

body.page-header-fixed.controller-userworkschedules .schedule-form-actions {
  border-color: var(--gse-border) !important;
}

@media (max-width: 767px) {
  body.page-header-fixed.controller-subscriptions .form-actions .btn,
  body.page-header-fixed.controller-games .form-actions .btn,
  body.page-header-fixed.controller-players .form-actions .btn,
  body.page-header-fixed.controller-matchs.action-admin_add .form-actions .btn,
  body.page-header-fixed.controller-matchs.action-admin_edit .form-actions .btn,
  body.page-header-fixed.controller-userworkschedules .form-actions .btn {
    width: 100%;
    margin: 4px 0 !important;
  }
}

@media (max-width: 390px) {
  body.page-header-fixed .page-content {
    padding: 12px;
  }

  body.page-header-fixed .page-content .btn:not(.btn-sm):not(.btn-xs) {
    width: 100%;
  }

  body.page-header-fixed .page-content .btn-group {
    width: 100%;
  }

  body.page-header-fixed .page-content .btn-group > .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-header-fixed .page-content *,
  body.page-header-fixed .page-content *::before,
  body.page-header-fixed .page-content *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Phase 4B: priority administration views */

/* Administration shell */
body.page-header-fixed .page-header.navbar,
body.page-header-fixed .page-header.navbar .page-header-inner,
body.page-header-fixed .page-header.navbar .page-logo {
  border-bottom: 1px solid var(--gse-border);
  background: var(--gse-surface-raised) !important;
  box-shadow: none;
}

html[data-gse-admin-theme="light"] body.page-header-fixed .page-header.navbar .page-logo {
  background: #292D33 !important;
}

body.page-header-fixed .page-header.navbar .gse-theme-switch-item {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-header-fixed .page-header.navbar .gse-theme-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--gse-text-secondary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

body.page-header-fixed .page-header.navbar .gse-theme-toggle:hover,
body.page-header-fixed .page-header.navbar .gse-theme-toggle:focus {
  border-color: var(--gse-border);
  background: var(--gse-surface-active);
  color: var(--gse-text);
}

body.page-header-fixed .page-header.navbar .gse-theme-toggle:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
}

@media (max-width: 576px) {
  body.page-header-fixed .page-header.navbar .gse-fullscreen-item {
    display: none;
  }
}

body.page-header-fixed .page-header.navbar .menu-toggler,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li > a,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle > .username,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle > i,
body.page-header-fixed .page-header.navbar .language-switch > a {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .page-header.navbar .menu-toggler:hover,
body.page-header-fixed .page-header.navbar .menu-toggler:focus,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li > a:hover,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li > a:focus,
body.page-header-fixed .page-header.navbar .top-menu .navbar-nav > li.dropdown.open > .dropdown-toggle {
  background: var(--gse-surface-active) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu {
  border: 1px solid var(--gse-border);
  border-radius: 8px;
  background: var(--gse-surface-raised);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu > li > a,
body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu .dropdown-menu-list > li > a,
body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu .dropdown-menu-footer > a {
  border-color: var(--gse-border) !important;
  background: transparent;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu > li > a:hover,
body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu .dropdown-menu-list > li > a:hover {
  background: var(--gse-surface-active) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu > li.external {
  border-bottom: 1px solid var(--gse-border);
  background: var(--gse-surface) !important;
}

body.page-header-fixed .page-header.navbar .top-menu .dropdown-menu > li.external h3 {
  color: var(--gse-text) !important;
}

body.page-header-fixed .sidebar-container,
body.page-header-fixed .sidemenu-container,
body.page-header-fixed .left-sidemenu,
body.page-header-fixed .sidemenu-container .sidemenu,
body.page-header-fixed .sidemenu-container .sidemenu > li,
body.page-header-fixed .sidemenu-container .sidemenu > li > a,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li > a {
  background: var(--gse-surface) !important;
}

body.page-header-fixed .sidemenu-container {
  border-right: 1px solid var(--gse-border);
}

body.page-header-fixed .sidemenu-container .sidebar-user-panel {
  border-bottom: 1px solid var(--gse-border);
}

body.page-header-fixed .sidemenu-container .sidebar-user-panel .info p,
body.page-header-fixed .sidemenu-container .sidebar-user-panel .info a,
body.page-header-fixed .sidemenu-container .sidebar-user-panel .txtonline {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu > li > a,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li > a,
body.page-header-fixed .sidemenu-container .sidemenu > li > a > i,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li > a > i,
body.page-header-fixed .sidemenu-container .sidemenu li > a > .arrow::before {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu > li > a {
  min-height: 44px;
  border-left: 3px solid transparent;
}

body.page-header-fixed .sidemenu-container .sidemenu > li.open > a,
body.page-header-fixed .sidemenu-container .sidemenu > li:hover > a,
body.page-header-fixed .sidemenu-container .sidemenu > li.active > a,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li:hover > a,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li.active > a {
  border-left-color: var(--gse-primary);
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu > li.open > a > i,
body.page-header-fixed .sidemenu-container .sidemenu > li:hover > a > i,
body.page-header-fixed .sidemenu-container .sidemenu > li.active > a > i,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li:hover > a,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li.active > a {
  color: var(--gse-text) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu .sub-menu {
  background: var(--gse-surface-deep) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li,
body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li > a {
  background: transparent !important;
}

body.page-header-fixed .page-footer {
  border-top: 1px solid var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text-muted);
}

/* Main dashboard */
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern {
  padding-top: 0;
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-hero {
  border: 1px solid var(--gse-border);
  background: var(--gse-surface-raised);
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-kicker,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-subtitle {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-title {
  color: var(--gse-text);
  font-size: 24px;
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-action {
  min-height: 44px;
  border-color: var(--gse-border);
  background: var(--gse-surface);
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-action:hover,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-action:focus {
  border-color: var(--gse-primary);
  background: var(--gse-surface-hover);
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-card,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-context-band,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-finance-item,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-item,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-card,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-pagination-row {
  border-color: var(--gse-border);
  background: var(--gse-surface);
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-title,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-context-title,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-context-chip strong,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi-value,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-finance-value,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-value,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-card .card-head header {
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-field label,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-check,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi-label,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi-unit,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-finance-label,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-label,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-note,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-card-note,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-pagination-info {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-field input,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-field select {
  height: 44px;
  border-color: var(--gse-border);
  background: var(--gse-surface-deep);
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-button {
  min-height: 44px;
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-button.primary {
  background: var(--gse-primary);
  color: #101512;
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-filter-button.secondary {
  border: 1px solid var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-empty-state {
  border-color: var(--gse-border);
  background: var(--gse-surface-deep);
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-context-chip {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-context-chip i {
  color: var(--gse-primary);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi.players::before {
  background: var(--gse-success);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi.new-players::before {
  background: var(--gse-warning);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi.frames::before {
  background: var(--gse-info);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-kpi.subscriptions::before {
  background: var(--gse-danger);
}

body.page-header-fixed.controller-dashboards.action-admin_index .players .dashboard-kpi-icon,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-icon.success {
  background: rgba(84, 212, 134, 0.14);
  color: var(--gse-success);
}

body.page-header-fixed.controller-dashboards.action-admin_index .new-players .dashboard-kpi-icon,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-icon.warning {
  background: rgba(230, 184, 75, 0.14);
  color: var(--gse-warning);
}

body.page-header-fixed.controller-dashboards.action-admin_index .frames .dashboard-kpi-icon,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-icon.info {
  background: rgba(45, 125, 210, 0.16);
  color: #70AAE8;
}

body.page-header-fixed.controller-dashboards.action-admin_index .subscriptions .dashboard-kpi-icon,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-help-icon.danger {
  background: rgba(211, 79, 95, 0.16);
  color: #F0828F;
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-finance-value.success {
  color: var(--gse-success);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-finance-value.danger {
  color: #F0828F;
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-card .card-head,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-table thead th {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised);
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-table tbody td {
  border-color: var(--gse-border);
  background: var(--gse-surface);
  color: var(--gse-text);
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-pagination li a,
body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-pagination li span {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text-secondary);
  box-shadow: none;
}

body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-pagination li.active span {
  border-color: var(--gse-primary);
  background: var(--gse-primary);
  color: #101512;
}

/* Club settings */
body.page-header-fixed.controller-societies.action-admin_club .club-profile-page {
  color: var(--gse-text);
}

body.page-header-fixed.controller-societies.action-admin_club .club-hero-title,
body.page-header-fixed.controller-societies.action-admin_club .club-name,
body.page-header-fixed.controller-societies.action-admin_club .club-section-title,
body.page-header-fixed.controller-societies.action-admin_club .club-form-head h3,
body.page-header-fixed.controller-societies.action-admin_club .club-toggle-label {
  color: var(--gse-text);
}

body.page-header-fixed.controller-societies.action-admin_club .club-hero-subtitle,
body.page-header-fixed.controller-societies.action-admin_club .club-prefix,
body.page-header-fixed.controller-societies.action-admin_club .club-summary-list,
body.page-header-fixed.controller-societies.action-admin_club .club-snapshot-label,
body.page-header-fixed.controller-societies.action-admin_club .club-field-help,
body.page-header-fixed.controller-societies.action-admin_club .club-file-help {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-societies.action-admin_club .club-card,
body.page-header-fixed.controller-societies.action-admin_club .club-selector-card,
body.page-header-fixed.controller-societies.action-admin_club .club-form-card,
body.page-header-fixed.controller-societies.action-admin_club .club-setting-snapshot,
body.page-header-fixed.controller-societies.action-admin_club .club-toggle-item,
body.page-header-fixed.controller-societies.action-admin_club .club-snapshot-item {
  border-color: var(--gse-border);
  background: var(--gse-surface);
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-societies.action-admin_club .club-form-head,
body.page-header-fixed.controller-societies.action-admin_club .club-section,
body.page-header-fixed.controller-societies.action-admin_club .club-summary-list li,
body.page-header-fixed.controller-societies.action-admin_club .club-actions {
  border-color: var(--gse-border);
}

body.page-header-fixed.controller-societies.action-admin_club .club-pill {
  background: rgba(45, 125, 210, 0.18);
  color: #70AAE8;
}

body.page-header-fixed.controller-societies.action-admin_club .club-hero .btn-info {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text);
}

/* Player list and forms */
body.page-header-fixed.controller-players .players-toolbar,
body.page-header-fixed.controller-players .players-filter-box,
body.page-header-fixed.controller-players .players-table-wrap,
body.page-header-fixed.controller-players .players-pagination-row,
body.page-header-fixed.controller-players .player-form-shell,
body.page-header-fixed.controller-players .player-file-field {
  border-color: var(--gse-border);
  background: var(--gse-surface);
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-players .players-toolbar-title,
body.page-header-fixed.controller-players .player-name,
body.page-header-fixed.controller-players .player-form-head h3,
body.page-header-fixed.controller-players .player-section-title {
  color: var(--gse-text);
}

body.page-header-fixed.controller-players .player-contact-muted,
body.page-header-fixed.controller-players .player-site-note,
body.page-header-fixed.controller-players .player-photo-help,
body.page-header-fixed.controller-players .player-form-head p,
body.page-header-fixed.controller-players .player-field-help {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-players .players-index-table thead th,
body.page-header-fixed.controller-players .players-pagination-row,
body.page-header-fixed.controller-players .player-form-head,
body.page-header-fixed.controller-players .player-form-section,
body.page-header-fixed.controller-players .player-form-actions {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
}

body.page-header-fixed.controller-players.action-admin_index .card-head {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-players.action-admin_index .card-head header {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-players .players-index-table tbody td {
  border-color: var(--gse-border);
  background: var(--gse-surface);
  color: var(--gse-text);
}

body.page-header-fixed.controller-players .player-avatar-frame {
  border-color: var(--gse-border);
  background: var(--gse-surface-deep);
  box-shadow: none;
}

body.page-header-fixed.controller-players .player-source-badge {
  background: rgba(45, 125, 210, 0.18);
  color: #70AAE8;
}

body.page-header-fixed.controller-players.action-admin_index .players-toolbar-action .btn-info {
  border-color: var(--gse-primary) !important;
  background: var(--gse-primary) !important;
  color: #101512 !important;
}

body.page-header-fixed.controller-players .player-form-actions {
  box-shadow: none;
}

body.page-header-fixed.controller-players .player-section-title i {
  background: rgba(45, 125, 210, 0.18);
  color: #70AAE8;
}

/* Cash register */
body.page-header-fixed.controller-cashregisterdays .cash-admin-page {
  color: var(--gse-text);
}

body.page-header-fixed.controller-cashregisterdays .cash-hero,
body.page-header-fixed.controller-cashregisterdays .cash-panel,
body.page-header-fixed.controller-cashregisterdays .cash-kpi,
body.page-header-fixed.controller-cashregisterdays .cash-open-item,
body.page-header-fixed.controller-cashregisterdays .cash-table-card {
  border-color: var(--gse-border);
  background: var(--gse-surface);
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-cashregisterdays .cash-panel-title,
body.page-header-fixed.controller-cashregisterdays .cash-kpi strong,
body.page-header-fixed.controller-cashregisterdays .cash-open-item strong {
  color: var(--gse-text);
}

body.page-header-fixed.controller-cashregisterdays .cash-help,
body.page-header-fixed.controller-cashregisterdays .cash-field-label,
body.page-header-fixed.controller-cashregisterdays .cash-kpi span,
body.page-header-fixed.controller-cashregisterdays .cash-open-meta {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-cashregisterdays .cash-badge-open {
  background: rgba(84, 212, 134, 0.16);
  color: var(--gse-success);
}

body.page-header-fixed.controller-cashregisterdays .cash-badge-muted {
  background: var(--gse-surface-raised);
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-cashregisterdays .card-head {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-cashregisterdays .card-head header {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-cashregisterdays .cash-hero .btn-info {
  border-color: var(--gse-primary);
  background: var(--gse-primary);
  color: #101512;
}

/* Club finance */
body.page-header-fixed.controller-clubfinances .club-finance-page {
  padding-top: 0;
  color: var(--gse-text);
}

body.page-header-fixed.controller-clubfinances .club-finance-head,
body.page-header-fixed.controller-clubfinances .club-finance-filters,
body.page-header-fixed.controller-clubfinances .club-finance-kpi,
body.page-header-fixed.controller-clubfinances .club-finance-panel {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-clubfinances .club-finance-title,
body.page-header-fixed.controller-clubfinances .club-finance-kpi-value,
body.page-header-fixed.controller-clubfinances .club-finance-panel h3,
body.page-header-fixed.controller-clubfinances .club-finance-source strong {
  color: var(--gse-text);
}

body.page-header-fixed.controller-clubfinances .club-finance-kicker,
body.page-header-fixed.controller-clubfinances .club-finance-subtitle,
body.page-header-fixed.controller-clubfinances .club-finance-field label,
body.page-header-fixed.controller-clubfinances .club-finance-kpi-label,
body.page-header-fixed.controller-clubfinances .club-finance-kpi-note,
body.page-header-fixed.controller-clubfinances .club-finance-source span,
body.page-header-fixed.controller-clubfinances .club-finance-empty,
body.page-header-fixed.controller-clubfinances .club-finance-table th {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-clubfinances .club-finance-field input,
body.page-header-fixed.controller-clubfinances .club-finance-field select {
  height: 44px;
  border-color: var(--gse-border);
  background: var(--gse-surface-deep);
  color: var(--gse-text);
}

body.page-header-fixed.controller-clubfinances .club-finance-refresh,
body.page-header-fixed.controller-clubfinances .club-finance-button.primary {
  min-height: 44px;
  background: var(--gse-primary);
  color: #101512;
}

body.page-header-fixed.controller-clubfinances .club-finance-button.secondary {
  min-height: 44px;
  border: 1px solid var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text);
}

body.page-header-fixed.controller-clubfinances .club-finance-source,
body.page-header-fixed.controller-clubfinances .club-finance-table td,
body.page-header-fixed.controller-clubfinances .club-finance-table th {
  border-color: var(--gse-border);
}

/* Targeted legacy surfaces: competitions, schedules and waiting-list screens */
body.page-header-fixed.controller-competitions .competition-workflow-tabs .mdl-tabs__tab-bar {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
}

body.page-header-fixed.controller-competitions .competition-workflow-tabs .mdl-tabs__tab {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-competitions .competition-workflow-tabs .mdl-tabs__tab:hover,
body.page-header-fixed.controller-competitions .competition-workflow-tabs .mdl-tabs__tab.is-active {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-competitions .competition-player-slot .form-group,
body.page-header-fixed.controller-competitions .competition-player-slot .competition-player-chip,
body.page-header-fixed.controller-competitions .match-preparation-list li,
body.page-header-fixed.controller-competitions .competition-responsive-table tr {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-competitions .competition-player-slot .form-group label,
body.page-header-fixed.controller-competitions .competition-player-summary-item span,
body.page-header-fixed.controller-competitions .competition-player-action-note,
body.page-header-fixed.controller-competitions .competition-responsive-table td::before {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-competitions .competition-player-summary-item strong,
body.page-header-fixed.controller-competitions .competition-player-chip,
body.page-header-fixed.controller-competitions .competition-player-chip strong {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-competitions .competition-progress-strip,
body.page-header-fixed.controller-competitions .competition-player-summary,
body.page-header-fixed.controller-competitions .competition-player-summary-item,
body.page-header-fixed.controller-competitions .competition-table-wrap {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-competitions .competition-player-summary-item,
body.page-header-fixed.controller-competitions .competition-progress-strip {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-competitions .note-editor.note-frame {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-competitions .note-editor .note-toolbar,
body.page-header-fixed.controller-competitions .note-editor .note-statusbar {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-competitions .note-editor .note-editing-area,
body.page-header-fixed.controller-competitions .note-editor .note-editable,
body.page-header-fixed.controller-competitions .note-editor .note-codable {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  caret-color: var(--gse-text);
}

body.page-header-fixed.controller-competitions .note-editor .note-btn {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-competitions .note-editor .note-btn:hover,
body.page-header-fixed.controller-competitions .note-editor .note-btn:focus {
  background: var(--gse-surface-hover) !important;
}

body.page-header-fixed.controller-userworkschedules .schedule-admin-page,
body.page-header-fixed.controller-userworkschedules .schedule-hero h2 {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-userworkschedules .schedule-hero p {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-userworkschedules .schedule-notice {
  border-color: var(--gse-info) !important;
  background: var(--gse-info-soft) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-userworkschedules .schedule-table-card {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  box-shadow: none !important;
}

/* Frames list */
body.page-header-fixed.controller-frames .card,
body.page-header-fixed.controller-frames .card-head,
body.page-header-fixed.controller-frames .card-body,
body.page-header-fixed.controller-frames .table-scrollable {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-frames .card-topline-red {
  border-top-color: var(--gse-button-primary) !important;
}

body.page-header-fixed.controller-frames .card-head header {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-frames .card-head .badge-info {
  border: 1px solid rgba(121, 168, 216, 0.35);
  background: var(--gse-info-soft) !important;
  color: var(--gse-status-info) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-frames .card-body > form > .row {
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

body.page-header-fixed.controller-frames .card-body > form > .row > .form-group {
  margin: 0;
}

body.page-header-fixed.controller-frames .card-body > form .form-control {
  min-height: 44px;
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-frames .card-body > form .input-group-btn {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-header-fixed.controller-frames .card-body > form .input-group-btn .btn-danger {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-frames .card-body > form .input-group-btn .btn-danger:last-child {
  border-color: rgba(121, 168, 216, 0.35) !important;
  background: var(--gse-info-soft) !important;
  color: var(--gse-status-info) !important;
}

body.page-header-fixed.controller-frames .pagination {
  display: flex !important;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.page-header-fixed.controller-frames .pagination > li,
body.page-header-fixed.controller-frames .pagination > li > a,
body.page-header-fixed.controller-frames .pagination > li > span {
  border: 0 !important;
  background: transparent !important;
}

body.page-header-fixed.controller-frames .pagination > li > a,
body.page-header-fixed.controller-frames .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px !important;
  border: 1px solid var(--gse-border) !important;
  border-radius: 5px !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-frames .pagination > .active > a,
body.page-header-fixed.controller-frames .pagination > .active > span,
body.page-header-fixed.controller-frames .pagination > li > a:hover {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #fff !important;
}

body.page-header-fixed.controller-frames .pagination > .disabled > a,
body.page-header-fixed.controller-frames .pagination > .disabled > span {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text-muted) !important;
  opacity: 0.62;
}

body.page-header-fixed.controller-frames .dropdown-menu {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
}

body.page-header-fixed.controller-frames .dropdown-menu a {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-frames .dropdown-menu a:hover,
body.page-header-fixed.controller-frames .dropdown-menu a:focus {
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

@media (max-width: 767px) {
  body.page-header-fixed.controller-frames .card-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  body.page-header-fixed.controller-frames .card-body > form > .row > .form-group,
  body.page-header-fixed.controller-frames .card-body > form .input-group,
  body.page-header-fixed.controller-frames .card-body > form .form-control {
    width: 100% !important;
  }
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-screen-page,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-screen-title,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-panel-title,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-stat-value,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-name,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .screen-name-cell {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-screen-subtitle,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-panel-subtitle,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-stat-label,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-form-label,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-form-hint,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-game,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .screen-table-list,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-screen-table th {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-screen-tabs,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-stat,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-panel,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-panel-head,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-grid,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-option {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-panel-head,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-grid,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-screen-table th {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-option:hover,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-option.is-selected {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-info-soft) !important;
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-table-counter,
body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .screen-count-badge {
  background: var(--gse-info-soft) !important;
  color: var(--gse-info) !important;
}

body.page-header-fixed.controller-tables.action-admin_waiting_list_screens .wait-actions {
  border-color: var(--gse-border) !important;
}

/* Sidebar: calm hierarchy for open groups and the current child page */
body.page-header-fixed .sidemenu-container .sidemenu > li.open > a {
  border-left-color: var(--gse-button-primary) !important;
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li > a {
  border-left: 3px solid transparent !important;
}

body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li:hover > a {
  border-left-color: var(--gse-border-strong) !important;
  background: var(--gse-surface-hover) !important;
}

body.page-header-fixed .sidemenu-container .sidemenu .sub-menu > li.active > a {
  border-left-color: var(--gse-button-primary) !important;
  background: var(--gse-info-soft) !important;
  color: var(--gse-text) !important;
}

@media (max-width: 575px) {
  body.page-header-fixed.controller-dashboards.action-admin_index .dashboard-modern-hero,
  body.page-header-fixed.controller-societies.action-admin_club .club-card,
  body.page-header-fixed.controller-societies.action-admin_club .club-form-card,
  body.page-header-fixed.controller-players .player-form-shell,
  body.page-header-fixed.controller-cashregisterdays .cash-panel,
  body.page-header-fixed.controller-clubfinances .club-finance-head,
  body.page-header-fixed.controller-clubfinances .club-finance-filters,
  body.page-header-fixed.controller-clubfinances .club-finance-kpi,
  body.page-header-fixed.controller-clubfinances .club-finance-panel {
    border-radius: 8px;
  }
}

/* Phase 4C: Leagues, Competitions and Games */

/* Leagues */
body.page-header-fixed.controller-leagues {
  --league-bg: var(--gse-bg);
  --league-surface: var(--gse-surface);
  --league-surface-soft: var(--gse-surface-raised);
  --league-border: var(--gse-border);
  --league-border-strong: var(--gse-text-muted);
  --league-text: var(--gse-text);
  --league-muted: var(--gse-text-secondary);
  --league-primary: var(--gse-primary);
  --league-info: var(--gse-info);
  --league-success: var(--gse-success);
  --league-warning: var(--gse-warning);
  --league-danger: var(--gse-danger);
  --league-radius: 8px;
  --league-shadow: none;
  --league-action-info: #79A8D8;
  --league-action-cyan: #74B8C2;
  --league-action-success: #78C99A;
  --league-action-warning: #D0AE64;
  --league-action-danger: #D8828D;
  --league-action-neutral: #B8C0CA;
}

html[data-gse-admin-theme="light"] body.page-header-fixed.controller-leagues {
  --league-action-info: #356FA8;
  --league-action-cyan: #277782;
  --league-action-success: #2C7A57;
  --league-action-warning: #8A6820;
  --league-action-danger: #B34250;
  --league-action-neutral: #52616F;
}

body.page-header-fixed.controller-leagues .league-page,
body.page-header-fixed.controller-leagues .main-content-modern {
  background: transparent;
  color: var(--gse-text);
}

body.page-header-fixed.controller-leagues .league-dashboard-header,
body.page-header-fixed.controller-leagues .page-header-modern,
body.page-header-fixed.controller-leagues .league-header {
  border: 1px solid var(--gse-border);
  border-radius: 8px;
  background: var(--gse-surface-raised) !important;
  box-shadow: none;
  color: var(--gse-text);
}

body.page-header-fixed.controller-leagues .league-dashboard-title,
body.page-header-fixed.controller-leagues .page-title-modern,
body.page-header-fixed.controller-leagues .league-name,
body.page-header-fixed.controller-leagues .section-title,
body.page-header-fixed.controller-leagues .stage-title,
body.page-header-fixed.controller-leagues .group-header h3,
body.page-header-fixed.controller-leagues .group-title-section,
body.page-header-fixed.controller-leagues .match-header,
body.page-header-fixed.controller-leagues .match-players,
body.page-header-fixed.controller-leagues .player-name,
body.page-header-fixed.controller-leagues .info-value,
body.page-header-fixed.controller-leagues .stats-number {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-dashboard-kicker,
body.page-header-fixed.controller-leagues .league-dashboard-subtitle,
body.page-header-fixed.controller-leagues .subtitle,
body.page-header-fixed.controller-leagues .section-description,
body.page-header-fixed.controller-leagues .league-description,
body.page-header-fixed.controller-leagues .info-label,
body.page-header-fixed.controller-leagues .search-help,
body.page-header-fixed.controller-leagues .player-stats,
body.page-header-fixed.controller-leagues .match-time,
body.page-header-fixed.controller-leagues .performance-label {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-leagues .league-stat-card,
body.page-header-fixed.controller-leagues .league-card,
body.page-header-fixed.controller-leagues .info-card,
body.page-header-fixed.controller-leagues .search-section,
body.page-header-fixed.controller-leagues .players-section,
body.page-header-fixed.controller-leagues .new-player-section,
body.page-header-fixed.controller-leagues .group-card,
body.page-header-fixed.controller-leagues .tool-card,
body.page-header-fixed.controller-leagues .generate-groups-card,
body.page-header-fixed.controller-leagues .match-card,
body.page-header-fixed.controller-leagues .standings-container,
body.page-header-fixed.controller-leagues .league-config-section,
body.page-header-fixed.controller-leagues .matches-section,
body.page-header-fixed.controller-leagues .frames-section,
body.page-header-fixed.controller-leagues .config-item,
body.page-header-fixed.controller-leagues .criteria-item {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  box-shadow: none !important;
  color: var(--gse-text);
}

body.page-header-fixed.controller-leagues .league-stat-strip,
body.page-header-fixed.controller-leagues .info-card-header,
body.page-header-fixed.controller-leagues .section-header,
body.page-header-fixed.controller-leagues .group-header,
body.page-header-fixed.controller-leagues .tool-header,
body.page-header-fixed.controller-leagues .stage-header,
body.page-header-fixed.controller-leagues .match-header,
body.page-header-fixed.controller-leagues .frames-header,
body.page-header-fixed.controller-leagues .config-header,
body.page-header-fixed.controller-leagues .match-filter-bar {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text);
}

body.page-header-fixed.controller-leagues .player-row,
body.page-header-fixed.controller-leagues .player-item,
body.page-header-fixed.controller-leagues .group-body,
body.page-header-fixed.controller-leagues .tool-body,
body.page-header-fixed.controller-leagues .info-card-body,
body.page-header-fixed.controller-leagues .match-details,
body.page-header-fixed.controller-leagues .frame-item,
body.page-header-fixed.controller-leagues .toggle-item,
body.page-header-fixed.controller-leagues .search-container,
body.page-header-fixed.controller-leagues .stats-display {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text);
}

body.page-header-fixed.controller-leagues .league-page .card-head,
body.page-header-fixed.controller-leagues .league-page .panel-heading {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-page .card-head header,
body.page-header-fixed.controller-leagues .league-page .panel-heading .panel-title {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-page .card-body,
body.page-header-fixed.controller-leagues .league-page .panel-body,
body.page-header-fixed.controller-leagues .league-page .table-responsive {
  border-color: var(--gse-border);
  background: var(--gse-surface) !important;
  color: var(--gse-text);
}

body.page-header-fixed.controller-leagues .league-page .table thead th,
body.page-header-fixed.controller-leagues .standings-table thead th,
body.page-header-fixed.controller-leagues .league-compact-match-table thead th {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-leagues .league-page .table tbody td,
body.page-header-fixed.controller-leagues .standings-table tbody td,
body.page-header-fixed.controller-leagues .league-compact-match-table tbody td {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-section-help,
body.page-header-fixed.controller-leagues .alert-info {
  border-color: var(--gse-info);
  background: rgba(45, 125, 210, 0.12) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-form-nav,
body.page-header-fixed.controller-leagues .league-tabs-scroll,
body.page-header-fixed.controller-leagues .breadcrumb-modern {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-leagues .league-form-nav-item,
body.page-header-fixed.controller-leagues .nav-tabs > li > a,
body.page-header-fixed.controller-leagues .breadcrumb-modern a,
body.page-header-fixed.controller-leagues .breadcrumb-modern li {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-leagues .league-form-nav-item.active,
body.page-header-fixed.controller-leagues .nav-tabs > li.active > a {
  border-color: var(--gse-primary) !important;
  background: var(--gse-surface-hover) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-page .form-control,
body.page-header-fixed.controller-leagues .search-input-wrapper,
body.page-header-fixed.controller-leagues .search-box {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .btn-new-player,
body.page-header-fixed.controller-leagues .btn-add-available-players,
body.page-header-fixed.controller-leagues .generate-matches-btn {
  border-color: var(--gse-primary) !important;
  background: var(--gse-primary) !important;
  color: #101512 !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-leagues .date-card,
body.page-header-fixed.controller-leagues .league-phase2-status-item,
body.page-header-fixed.controller-leagues .league-empty-state {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-leagues .date-card.inscription {
  border-left-color: var(--gse-info);
}

body.page-header-fixed.controller-leagues .date-card.league {
  border-left-color: var(--gse-warning);
}

body.page-header-fixed.controller-leagues .league-workflow-step,
body.page-header-fixed.controller-leagues .league-compact-match-list,
body.page-header-fixed.controller-leagues .league-compact-match-row,
body.page-header-fixed.controller-leagues .league-compact-match-table,
body.page-header-fixed.controller-leagues .league-phase2-panel {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-title,
body.page-header-fixed.controller-leagues .league-workflow-step-title a,
body.page-header-fixed.controller-leagues .league-compact-match-title,
body.page-header-fixed.controller-leagues .league-compact-match-player {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-progress,
body.page-header-fixed.controller-leagues .league-compact-match-meta {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-completed {
  border-color: rgba(84, 212, 134, 0.28) !important;
  background: rgba(84, 212, 134, 0.055) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-in_progress {
  border-color: rgba(86, 145, 205, 0.34) !important;
  background: rgba(45, 125, 210, 0.065) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-blocked,
body.page-header-fixed.controller-leagues .league-workflow-blocked {
  border-color: rgba(205, 168, 87, 0.3) !important;
  background: rgba(205, 168, 87, 0.055) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-icon,
body.page-header-fixed.controller-leagues .league-workflow-status {
  border: 1px solid var(--gse-border);
  background: var(--gse-surface-hover) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-reason {
  color: var(--league-action-warning) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-completed .league-workflow-step-icon,
body.page-header-fixed.controller-leagues .league-workflow-step-completed .league-workflow-status {
  color: var(--league-action-success) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-in_progress .league-workflow-step-icon,
body.page-header-fixed.controller-leagues .league-workflow-step-in_progress .league-workflow-status {
  color: var(--league-action-info) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step-blocked .league-workflow-step-icon,
body.page-header-fixed.controller-leagues .league-workflow-step-blocked .league-workflow-status {
  color: var(--league-action-warning) !important;
}

body.page-header-fixed.controller-leagues .league-workflow-step:not(.league-workflow-step-completed):not(.league-workflow-step-in_progress):not(.league-workflow-step-blocked) .league-workflow-step-icon,
body.page-header-fixed.controller-leagues .league-workflow-step:not(.league-workflow-step-completed):not(.league-workflow-step-in_progress):not(.league-workflow-step-blocked) .league-workflow-status {
  color: var(--gse-text-muted) !important;
}

body.page-header-fixed.controller-leagues .league-primary-workflow-action {
  border-color: #477695 !important;
  background: #477695 !important;
  color: #F5F7FA !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-leagues .league-primary-workflow-action:hover,
body.page-header-fixed.controller-leagues .league-primary-workflow-action:focus {
  border-color: #5685A4 !important;
  background: #5685A4 !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-group,
body.page-header-fixed.controller-leagues .action-buttons-container .btn-group[aria-label="Actions dangereuses"],
body.page-header-fixed.controller-leagues .league-index-next-action {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-primary {
  color: var(--league-action-info) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-info {
  color: var(--league-action-cyan) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-success {
  color: var(--league-action-success) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-warning {
  color: var(--league-action-warning) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-danger {
  color: var(--league-action-danger) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn-secondary,
body.page-header-fixed.controller-leagues .action-buttons-container .btn-default {
  color: var(--league-action-neutral) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .btn:hover,
body.page-header-fixed.controller-leagues .action-buttons-container .btn:focus {
  border-color: currentColor !important;
  background: var(--gse-surface-active) !important;
}

body.page-header-fixed.controller-leagues .action-buttons-container .league-index-next-action .btn-primary {
  border-color: #477695 !important;
  background: #477695 !important;
  color: #F5F7FA !important;
}

/* Competitions */
body.page-header-fixed.controller-competitions .card-head {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-competitions .card-head header,
body.page-header-fixed.controller-competitions .competition-toolbar-title h4,
body.page-header-fixed.controller-competitions .competition-index-name,
body.page-header-fixed.controller-competitions .competition-progress-label strong,
body.page-header-fixed.controller-competitions .compact-title,
body.page-header-fixed.controller-competitions .phase2-kpi-value,
body.page-header-fixed.controller-competitions .match-preparation-head {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-competitions .competition-toolbar-title p,
body.page-header-fixed.controller-competitions .competition-index-meta,
body.page-header-fixed.controller-competitions .competition-progress-label,
body.page-header-fixed.controller-competitions .competition-empty-state,
body.page-header-fixed.controller-competitions .compact-muted,
body.page-header-fixed.controller-competitions .phase2-muted,
body.page-header-fixed.controller-competitions .match-preparation-help,
body.page-header-fixed.controller-competitions .match-action-help {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-competitions .competition-filter-box,
body.page-header-fixed.controller-competitions .competition-table-wrap,
body.page-header-fixed.controller-competitions .competition-player-summary,
body.page-header-fixed.controller-competitions .competition-player-summary-item,
body.page-header-fixed.controller-competitions .competition-player-filter,
body.page-header-fixed.controller-competitions .competition-responsive-wrap,
body.page-header-fixed.controller-competitions .competition-tournament-grid,
body.page-header-fixed.controller-competitions .match-filter-bar,
body.page-header-fixed.controller-competitions .match-preparation-panel,
body.page-header-fixed.controller-competitions .league-phase2-panel,
body.page-header-fixed.controller-competitions .phase2-kpi,
body.page-header-fixed.controller-competitions .phase2-group-pill,
body.page-header-fixed.controller-competitions .list-group-item {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  box-shadow: none !important;
  color: var(--gse-text);
}

body.page-header-fixed.controller-competitions .competition-filter-box,
body.page-header-fixed.controller-competitions .match-filter-bar,
body.page-header-fixed.controller-competitions .match-preparation-head,
body.page-header-fixed.controller-competitions .phase2-panel-head {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed.controller-competitions .competition-index-table thead th,
body.page-header-fixed.controller-competitions .competition-player-table thead th,
body.page-header-fixed.controller-competitions .competition-compact-table thead th {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-competitions .competition-index-table tbody td,
body.page-header-fixed.controller-competitions .competition-player-table tbody td,
body.page-header-fixed.controller-competitions .competition-compact-table tbody td {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-competitions .competition-code {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text);
}

body.page-header-fixed.controller-competitions .competition-index-table .progress,
body.page-header-fixed.controller-competitions .competition-progress-strip {
  background: var(--gse-surface-deep);
}

body.page-header-fixed.controller-competitions .competition-toolbar-action .btn-info,
body.page-header-fixed.controller-competitions .competition-actions-empty .btn-info {
  border-color: var(--gse-primary) !important;
  background: var(--gse-primary) !important;
  color: #101512 !important;
}

body.page-header-fixed.controller-competitions .form-control,
body.page-header-fixed.controller-competitions select.form-control,
body.page-header-fixed.controller-competitions textarea.form-control,
body.page-header-fixed.controller-games .form-control,
body.page-header-fixed.controller-games select.form-control,
body.page-header-fixed.controller-games textarea.form-control {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed.controller-competitions .form-control::placeholder,
body.page-header-fixed.controller-games .form-control::placeholder {
  color: var(--gse-text-muted) !important;
}

body.page-header-fixed.controller-competitions label,
body.page-header-fixed.controller-games label,
body.page-header-fixed.controller-games .dataTables_info,
body.page-header-fixed.controller-games .dataTables_length,
body.page-header-fixed.controller-games .dataTables_filter {
  color: var(--gse-text-secondary) !important;
}

/* Games */
body.page-header-fixed.controller-games .card-head {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-games .card-head header {
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-games .game-price-pill,
body.page-header-fixed.controller-games .game-period-card,
body.page-header-fixed.controller-games .game-pricing-section {
  border-color: var(--gse-border);
  background: var(--gse-surface-raised);
  color: var(--gse-text);
}

body.page-header-fixed.controller-games .game-price-pill--frame {
  border-color: rgba(45, 125, 210, 0.34);
  background: rgba(45, 125, 210, 0.14);
  color: var(--gse-info);
}

body.page-header-fixed.controller-games .game-price-pill--hour {
  border-color: rgba(84, 212, 134, 0.34);
  background: rgba(84, 212, 134, 0.14);
  color: var(--gse-success);
}

body.page-header-fixed.controller-games .game-period-card strong,
body.page-header-fixed.controller-games .game-pricing-section {
  color: var(--gse-text);
}

body.page-header-fixed.controller-games .game-period-card small,
body.page-header-fixed.controller-games .game-pricing-help,
body.page-header-fixed.controller-games .game-pricing-section small {
  color: var(--gse-text-secondary);
}

body.page-header-fixed.controller-games .game-pricing-section {
  border-left-color: var(--gse-info);
}

body.page-header-fixed.controller-games .card-body .btn-info {
  border-color: var(--gse-primary) !important;
  background: var(--gse-primary) !important;
  color: #101512 !important;
}

body.page-header-fixed.controller-games .table tbody td.sorting_1,
body.page-header-fixed.controller-games .table-striped tbody tr:nth-of-type(odd) td.sorting_1 {
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed.controller-games .dataTables_wrapper .dataTables_paginate .paginate_button,
body.page-header-fixed.controller-games .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed.controller-games .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border-color: var(--gse-primary) !important;
  background: var(--gse-primary) !important;
  color: #101512 !important;
}

/* Calm pagination across all administration views */
body.page-header-fixed .page-content .dataTables_wrapper .pagination,
body.page-header-fixed .page-content .dataTables_paginate .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

body.page-header-fixed .page-content .dataTables_wrapper .pagination > li,
body.page-header-fixed .page-content .dataTables_paginate .pagination > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.page-header-fixed .page-content .dataTables_wrapper .pagination > li > a,
body.page-header-fixed .page-content .dataTables_wrapper .pagination > li > span,
body.page-header-fixed .page-content .dataTables_paginate .pagination > li > a,
body.page-header-fixed .page-content .dataTables_paginate .pagination > li > span,
body.page-header-fixed .page-content .dataTables_paginate .paginate_button {
  display: inline-flex !important;
  min-width: 38px !important;
  width: auto !important;
  height: 38px !important;
  min-height: 38px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid var(--gse-border) !important;
  border-radius: 6px !important;
  background: var(--gse-surface-raised) !important;
  box-shadow: none !important;
  color: var(--gse-text-secondary) !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1 !important;
}

body.page-header-fixed .page-content .dataTables_wrapper .pagination > .active > a,
body.page-header-fixed .page-content .dataTables_wrapper .pagination > .active > span,
body.page-header-fixed .page-content .dataTables_paginate .pagination > .active > a,
body.page-header-fixed .page-content .dataTables_paginate .pagination > .active > span,
body.page-header-fixed .page-content .dataTables_paginate .paginate_button.current {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #F5F7FA !important;
}

body.page-header-fixed .page-content .dataTables_wrapper .pagination > li > a:hover,
body.page-header-fixed .page-content .dataTables_paginate .paginate_button:hover {
  border-color: var(--gse-button-primary-hover) !important;
  background: var(--gse-surface-active) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .page-content .dataTables_wrapper .pagination > .disabled > a,
body.page-header-fixed .page-content .dataTables_wrapper .pagination > .disabled > span,
body.page-header-fixed .page-content .dataTables_paginate .paginate_button.disabled {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text-muted) !important;
  opacity: 0.58;
}

@media (max-width: 767px) {
  body.page-header-fixed.controller-leagues .league-dashboard-header-row,
  body.page-header-fixed.controller-leagues .page-header-modern,
  body.page-header-fixed.controller-leagues .section-header,
  body.page-header-fixed.controller-competitions .competition-toolbar {
    align-items: stretch;
  }

  body.page-header-fixed.controller-leagues .league-dashboard-actions .btn,
  body.page-header-fixed.controller-leagues .header-actions .btn,
  body.page-header-fixed.controller-competitions .competition-toolbar-action .btn {
    width: 100%;
  }
}

/* Final global modal normalization */
body.page-header-fixed .modal .modal-content,
body.page-header-fixed .modal .modal-header,
body.page-header-fixed .modal .modal-body,
body.page-header-fixed .modal .modal-footer,
body.page-header-fixed .modal .form-body,
body.page-header-fixed .modal .form-actions,
body.page-header-fixed .modal .card,
body.page-header-fixed .modal .card-body {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed .modal .modal-header,
body.page-header-fixed .modal .form-actions {
  background: var(--gse-surface-raised) !important;
}

body.page-header-fixed .modal .modal-title,
body.page-header-fixed .modal .modal-header h1,
body.page-header-fixed .modal .modal-header h2,
body.page-header-fixed .modal .modal-header h3,
body.page-header-fixed .modal .modal-header h4,
body.page-header-fixed .modal .modal-header h5,
body.page-header-fixed .modal legend,
body.page-header-fixed .modal strong {
  color: var(--gse-text) !important;
}

body.page-header-fixed .modal label,
body.page-header-fixed .modal p,
body.page-header-fixed .modal small,
body.page-header-fixed .modal .help-block,
body.page-header-fixed .modal .text-muted {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .modal input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
body.page-header-fixed .modal select,
body.page-header-fixed .modal textarea,
body.page-header-fixed .modal .form-control,
body.page-header-fixed .modal .select2-selection {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed .modal input:focus,
body.page-header-fixed .modal select:focus,
body.page-header-fixed .modal textarea:focus,
body.page-header-fixed .modal .form-control:focus,
body.page-header-fixed .modal .select2-container--focus .select2-selection {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-surface) !important;
  outline: 0;
  box-shadow: 0 0 0 3px var(--gse-info-soft) !important;
}

body.page-header-fixed .modal table,
body.page-header-fixed .modal .table-scrollable,
body.page-header-fixed .modal .list-group,
body.page-header-fixed .modal .list-group-item {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .modal table thead th {
  border-color: var(--gse-table-divider) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .modal table tbody td {
  border-color: var(--gse-table-divider) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .modal .btn {
  min-height: 40px;
  margin: 2px;
  padding: 8px 14px;
  border-radius: 6px !important;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none !important;
}

body.page-header-fixed .modal .modal-footer .btn,
body.page-header-fixed .modal .form-actions .btn {
  min-height: 44px;
  margin: 0 0 0 8px;
}

body.page-header-fixed .modal .btn-primary,
body.page-header-fixed .modal .btn-info {
  border-color: var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #fff !important;
}

body.page-header-fixed .modal .btn-primary:hover,
body.page-header-fixed .modal .btn-primary:focus,
body.page-header-fixed .modal .btn-info:hover,
body.page-header-fixed .modal .btn-info:focus {
  border-color: var(--gse-button-primary-hover) !important;
  background: var(--gse-button-primary-hover) !important;
  color: #fff !important;
}

body.page-header-fixed .modal .btn-success {
  border-color: var(--gse-button-success) !important;
  background: var(--gse-button-success) !important;
  color: #fff !important;
}

body.page-header-fixed .modal .btn-warning {
  border-color: var(--gse-button-warning) !important;
  background: var(--gse-button-warning) !important;
  color: #fff !important;
}

body.page-header-fixed .modal .btn-danger {
  border-color: var(--gse-button-danger) !important;
  background: var(--gse-button-danger) !important;
  color: #fff !important;
}

body.page-header-fixed .modal .btn-default,
body.page-header-fixed .modal .btn-secondary {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .modal .btn-default:hover,
body.page-header-fixed .modal .btn-default:focus,
body.page-header-fixed .modal .btn-secondary:hover,
body.page-header-fixed .modal .btn-secondary:focus {
  border-color: var(--gse-border-strong) !important;
  background: var(--gse-surface-hover) !important;
}

body.page-header-fixed .modal .close {
  border: 0 !important;
  background: transparent !important;
  color: var(--gse-text-secondary) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.page-header-fixed .modal .close:hover,
body.page-header-fixed .modal .close:focus {
  background: var(--gse-control-hover) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .swal2-popup:not(.swal2-toast),
body.page-header-fixed .swal2-header,
body.page-header-fixed .swal2-content,
body.page-header-fixed .swal2-actions,
body.page-header-fixed .swal2-footer {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-raised) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed .swal2-title {
  color: var(--gse-text) !important;
}

body.page-header-fixed .swal2-html-container,
body.page-header-fixed .swal2-content {
  color: var(--gse-text-secondary) !important;
}

body.page-header-fixed .swal2-input,
body.page-header-fixed .swal2-textarea,
body.page-header-fixed .swal2-select {
  border-color: var(--gse-border) !important;
  background: var(--gse-surface-deep) !important;
  color: var(--gse-text) !important;
  box-shadow: none !important;
}

body.page-header-fixed .swal2-styled {
  min-height: 44px;
  border-radius: 6px !important;
  box-shadow: none !important;
}

body.page-header-fixed .swal2-styled.swal2-confirm {
  border: 1px solid var(--gse-button-primary) !important;
  background: var(--gse-button-primary) !important;
  color: #fff !important;
}

body.page-header-fixed .swal2-styled.swal2-cancel {
  border: 1px solid var(--gse-border) !important;
  background: var(--gse-surface) !important;
  color: var(--gse-text) !important;
}

body.page-header-fixed .swal2-styled.swal2-deny {
  border: 1px solid var(--gse-button-danger) !important;
  background: var(--gse-button-danger) !important;
  color: #fff !important;
}

@media (max-width: 575px) {
  body.page-header-fixed .modal .modal-footer,
  body.page-header-fixed .modal .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.page-header-fixed .modal .modal-footer .btn,
  body.page-header-fixed .modal .form-actions .btn {
    width: 100%;
    margin: 4px 0 !important;
  }
}

/* Global responsive form actions */
body.page-header-fixed .page-content .form-actions,
body.page-header-fixed .page-content .player-form-actions,
body.page-header-fixed .page-content .schedule-form-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-flow: row wrap !important;
  gap: 10px !important;
}

body.page-header-fixed .page-content .form-actions > .row {
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.page-header-fixed .page-content .form-actions > .row > [class*="col-"],
body.page-header-fixed .page-content .form-actions .btn-set {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-flow: row wrap !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.page-header-fixed .page-content .form-actions .btn,
body.page-header-fixed .page-content .player-form-actions .btn,
body.page-header-fixed .page-content .schedule-form-actions .btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 112px;
  margin: 0 !important;
}

@media (max-width: 390px) {
  body.page-header-fixed .page-content .form-actions .btn,
  body.page-header-fixed .page-content .player-form-actions .btn,
  body.page-header-fixed .page-content .schedule-form-actions .btn {
    flex: 1 1 calc(50% - 5px) !important;
    min-width: 0;
  }
}

/* Owner dashboard */
.owner-dashboard-page {
  max-width: 1360px;
  margin: 0 auto;
  color: var(--gse-text, #F5F7FA);
}

.owner-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface, #22252A);
}

.owner-dashboard-header h1 {
  margin: 2px 0 4px;
  color: var(--gse-text, #F5F7FA);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.owner-dashboard-kicker,
.owner-dashboard-header p,
.owner-dashboard-profile {
  color: var(--gse-text-secondary, #B8C0CA);
}

.owner-dashboard-header p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
}

.owner-dashboard-header p .material-icons {
  font-size: 16px;
}

.owner-dashboard-kicker {
  font-size: 13px;
  font-weight: 700;
}

.owner-dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-dashboard-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text, #F5F7FA);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.owner-dashboard-action:hover,
.owner-dashboard-action:focus {
  border-color: var(--gse-border-strong, #59616C);
  color: var(--gse-text, #F5F7FA);
  text-decoration: none;
}

.owner-dashboard-action--primary {
  border-color: var(--gse-button-primary, #477695);
  background: var(--gse-button-primary, #477695);
  color: #fff;
}

.owner-dashboard-action--primary:hover,
.owner-dashboard-action--primary:focus {
  border-color: var(--gse-button-primary-hover, #5685A4);
  background: var(--gse-button-primary-hover, #5685A4);
  color: #fff;
}

.owner-dashboard-action--primary .material-icons,
.owner-dashboard-action--primary span {
  color: #fff !important;
}

.owner-dashboard-action .material-icons,
.owner-dashboard-profile .material-icons {
  font-size: 20px;
}

.owner-dashboard-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface, #22252A);
  font-weight: 700;
}

.owner-panel {
  padding: 18px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface, #22252A);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.owner-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gse-text, #F5F7FA);
  font-size: 22px;
  font-weight: 800;
}

.owner-panel h2 .material-icons {
  font-size: 20px;
}

.owner-date-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.owner-date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.owner-date-field label {
  margin: 0;
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.owner-date-field input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-field-bg, #101418) !important;
  color: var(--gse-field-text, #F5F7FA) !important;
  font-size: 14px;
  font-weight: 700;
}

.owner-date-field input:focus {
  border-color: var(--gse-button-primary, #477695);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(71, 118, 149, 0.22);
}

.owner-date-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.owner-summary {
  margin-bottom: 16px;
}

.owner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
}

.owner-kpi {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
}

.owner-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(45, 125, 210, 0.18);
}

.owner-kpi-icon .material-icons {
  font-size: 26px;
}

.owner-kpi strong {
  display: block;
  grid-column: 2;
  color: var(--gse-text, #F5F7FA);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.owner-kpi small {
  display: block;
  grid-column: 2;
  margin-top: 6px;
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 13px;
  font-weight: 600;
}

.owner-kpi--success strong,
.owner-kpi--success .owner-kpi-icon { color: #54D486; }
.owner-kpi--info strong,
.owner-kpi--info .owner-kpi-icon { color: #2D7DD2; }
.owner-kpi--warning strong,
.owner-kpi--warning .owner-kpi-icon { color: #FFC107; }
.owner-kpi--danger strong,
.owner-kpi--danger .owner-kpi-icon { color: #D34F5F; }

.owner-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(340px, 1fr);
  gap: 16px;
}

.owner-alerts {
  grid-column: span 1;
}

.owner-shortcuts {
  grid-column: span 2;
}

.owner-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.owner-status {
  min-height: 112px;
  padding: 14px 10px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  text-align: center;
}

.owner-status strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  font-weight: 800;
}

.owner-status span {
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 13px;
  font-weight: 700;
}

.owner-status--success { border-color: rgba(84, 212, 134, 0.65); }
.owner-status--info { border-color: rgba(45, 125, 210, 0.65); }
.owner-status--warning { border-color: rgba(255, 193, 7, 0.65); }
.owner-status--danger { border-color: rgba(211, 79, 95, 0.65); }

.owner-revenue dl {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
}

.owner-revenue dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gse-border, #3B414A);
  background: var(--gse-surface-raised, #292D33);
}

.owner-revenue dl div:last-child {
  border-bottom: 0;
}

.owner-revenue dt,
.owner-revenue dd {
  margin: 0;
  font-size: 14px;
}

.owner-revenue dt {
  color: var(--gse-text-secondary, #B8C0CA);
  font-weight: 700;
}

.owner-revenue dd {
  color: #54D486;
  font-weight: 800;
}

.owner-revenue .is-danger dd {
  color: #D34F5F;
}

.owner-list-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text, #F5F7FA);
  text-decoration: none;
}

.owner-list-row:hover,
.owner-list-row:focus {
  border-color: var(--gse-border-strong, #52616F);
  color: var(--gse-text, #F5F7FA);
  text-decoration: none;
}

.owner-list-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(45, 125, 210, 0.18);
}

.owner-list-row p {
  margin: 0;
  overflow: hidden;
  color: var(--gse-text, #F5F7FA);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-list-row time {
  color: var(--gse-text-discreet, #8E98A5);
  font-size: 12px;
  font-weight: 700;
}

.owner-list-row--success span { color: #54D486; }
.owner-list-row--warning span { color: #FFC107; }
.owner-list-row--danger span { color: #D34F5F; }
.owner-list-row--info span { color: #2D7DD2; }

.owner-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}

.owner-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text, #F5F7FA);
  text-align: center;
  text-decoration: none;
}

.owner-shortcut:hover,
.owner-shortcut:focus {
  border-color: var(--gse-border-strong, #52616F);
  color: var(--gse-text, #F5F7FA);
  text-decoration: none;
}

.owner-shortcut .material-icons {
  color: #2D7DD2;
  font-size: 34px;
}

.owner-shortcut span {
  min-height: 34px;
  color: var(--gse-text, #F5F7FA);
  font-size: 13px;
  font-weight: 700;
}

.owner-shortcut strong {
  font-size: 22px;
  line-height: 1;
}

.owner-kpi-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.owner-unpaid-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
}

.owner-unpaid-detail {
  grid-column: 1 / -1;
}

.owner-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
}

.owner-data-table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
  color: var(--gse-text, #F5F7FA);
}

.owner-data-table th,
.owner-data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gse-border, #3B414A);
  color: var(--gse-text, #F5F7FA);
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

.owner-data-table th {
  background: rgba(255, 255, 255, 0.025);
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 12px;
  text-transform: uppercase;
}

.owner-data-table tr:last-child td {
  border-bottom: 0;
}

.owner-data-table td span {
  display: block;
  margin-top: 3px;
  color: var(--gse-text-discreet, #8E98A5);
  font-size: 12px;
}

.owner-data-table .is-danger {
  color: #D34F5F;
  font-weight: 800;
}

.owner-empty-state {
  min-height: 76px;
  padding: 22px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 14px;
  font-weight: 700;
}

.owner-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.owner-section-title-row h2 {
  margin-bottom: 0;
}

.owner-section-title-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 12px;
  font-weight: 800;
}

.owner-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.owner-pagination a,
.owner-pagination span,
.owner-pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text, #F5F7FA);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.owner-pagination a:hover,
.owner-pagination a:focus {
  border-color: var(--gse-button-primary, #477695);
  color: var(--gse-text, #F5F7FA);
  text-decoration: none;
}

.owner-pagination strong {
  border-color: var(--gse-button-primary, #477695);
  background: var(--gse-button-primary, #477695);
  color: #fff;
}

.owner-pagination span {
  opacity: 0.55;
}

/* Manager dashboard */
.manager-dashboard-page {
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manager-dashboard-header {
  background:
    linear-gradient(135deg, rgba(45, 125, 210, 0.14), rgba(14, 165, 164, 0.08)),
    var(--gse-surface, #22252A);
}

.manager-dashboard-profile .material-icons {
  color: #54D486;
}

.manager-dashboard-page .owner-dashboard-header {
  margin-bottom: 0;
  padding: 24px;
}

.manager-dashboard-page .owner-dashboard-header h1 {
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
}

.manager-dashboard-page .owner-dashboard-kicker {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.manager-dashboard-page .owner-dashboard-header p {
  font-size: 16px;
  font-weight: 800;
}

.manager-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--gse-surface, #22252A);
}

.manager-dashboard-page > .manager-quickbar,
.manager-dashboard-page > .manager-summary {
  margin-bottom: 2px;
}

.manager-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.manager-section-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
}

.manager-section-title h2 span {
  color: var(--gse-text-secondary, #B8C0CA);
}

.manager-section-title small {
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 12px;
  font-weight: 800;
}

.manager-kpi-grid {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
}

.manager-dashboard-page .owner-kpi {
  min-height: 132px;
  grid-template-columns: 62px minmax(0, 1fr);
  padding: 18px;
}

.manager-dashboard-page .owner-kpi-icon {
  width: 62px;
  height: 62px;
}

.manager-dashboard-page .owner-kpi-icon .material-icons {
  font-size: 32px;
}

.manager-dashboard-page .owner-kpi strong {
  font-size: 34px;
  font-weight: 900;
}

.manager-dashboard-page .owner-kpi small {
  font-size: 15px;
  font-weight: 800;
}

.manager-dashboard-grid {
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr) minmax(400px, 1.2fr);
  align-items: start;
  column-gap: 20px;
  row-gap: 24px;
  margin-top: 2px;
}

.manager-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.manager-status-grid .owner-status {
  min-height: 138px;
}

.manager-status-grid .owner-status strong {
  font-size: 34px;
  font-weight: 900;
}

.manager-status-grid .owner-status span {
  font-size: 15px;
  font-weight: 800;
}

.manager-status-grid em {
  display: block;
  margin-top: 8px;
  color: var(--gse-text-discreet, #8E98A5);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.manager-cash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
}

.manager-cash-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 132px;
  padding: 16px 12px;
  border-right: 1px solid var(--gse-border, #3B414A);
  background: var(--gse-surface-raised, #292D33);
  text-align: center;
}

.manager-cash-item:last-child {
  border-right: 0;
}

.manager-cash-item .material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(45, 125, 210, 0.18);
  font-size: 26px;
}

.manager-cash-item span {
  min-height: 34px;
  color: var(--gse-text-secondary, #B8C0CA);
  font-size: 13px;
  font-weight: 800;
}

.manager-cash-item strong {
  color: var(--gse-text, #F5F7FA);
  font-size: 21px;
  font-weight: 900;
}

.manager-cash-item--success .material-icons,
.manager-cash-item--success strong {
  color: #54D486;
}

.manager-cash-item--info .material-icons,
.manager-cash-item--info strong {
  color: #2D7DD2;
}

.manager-cash-item--danger .material-icons,
.manager-cash-item--danger strong {
  color: #D34F5F;
}

.manager-alerts {
  grid-column: span 1;
  align-self: start;
}

.manager-assignments {
  grid-column: span 2;
  align-self: start;
}

.manager-shortcuts {
  grid-column: 1 / -1;
}

.manager-quickbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 125, 210, 0.08), rgba(84, 212, 134, 0.04)),
    var(--gse-surface, #22252A);
}

.manager-quickbar-title {
  color: var(--gse-text, #F5F7FA);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.manager-quickbar-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
}

.manager-quickbar-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-surface-raised, #292D33);
  color: var(--gse-text, #F5F7FA);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.manager-quickbar-item:hover,
.manager-quickbar-item:focus {
  border-color: var(--gse-button-primary, #477695);
  background: rgba(71, 118, 149, 0.16);
  color: var(--gse-text, #F5F7FA);
  text-decoration: none;
}

.manager-quickbar-item .material-icons {
  font-size: 19px;
  color: #2D7DD2;
}

.manager-quickbar-item.manager-shortcut--success .material-icons {
  color: #54D486;
}

.manager-quickbar-item.manager-shortcut--warning .material-icons {
  color: #FFC107;
}

.manager-quickbar-item.manager-shortcut--danger .material-icons {
  color: #D34F5F;
}

.manager-quickbar-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-assignment-table {
  min-width: 760px;
}

.manager-server-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--gse-border, #3B414A);
  border-radius: 8px;
  background: var(--gse-field-bg, #101418);
  color: var(--gse-field-text, #F5F7FA);
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.manager-server-select:focus {
  border-color: var(--gse-button-primary, #477695);
  box-shadow: 0 0 0 3px rgba(71, 118, 149, 0.22);
}

.manager-server-select:disabled {
  cursor: wait;
  opacity: 0.72;
}

.manager-assign-feedback {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  color: var(--gse-text-discreet, #8E98A5);
  font-size: 11px;
  font-weight: 800;
}

.manager-assign-feedback.is-success {
  color: #54D486;
}

.manager-assign-feedback.is-error {
  color: #FF7E8B;
}

.manager-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.manager-badge--success {
  background: rgba(84, 212, 134, 0.16);
  color: #54D486;
}

.manager-badge--info {
  background: rgba(45, 125, 210, 0.16);
  color: #76B7FF;
}

.manager-badge--warning {
  background: rgba(255, 193, 7, 0.16);
  color: #FFC107;
}

.manager-badge--danger {
  background: rgba(211, 79, 95, 0.16);
  color: #FF7E8B;
}

.manager-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--gse-button-primary, #477695);
  border-radius: 8px;
  background: var(--gse-button-primary, #477695);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.manager-action-link:hover,
.manager-action-link:focus {
  background: var(--gse-button-primary-hover, #5685A4);
  color: #fff;
  text-decoration: none;
}

.manager-shortcut-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.manager-shortcut .material-icons {
  color: #2D7DD2;
}

.manager-shortcut--success .material-icons {
  color: #54D486;
}

.manager-shortcut--warning .material-icons {
  color: #FFC107;
}

.manager-shortcut--danger .material-icons {
  color: #D34F5F;
}

@media (max-width: 1199px) {
  .owner-kpi-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .owner-date-filter {
    grid-template-columns: 1fr 1fr;
  }

  .owner-date-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .owner-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .manager-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .manager-quickbar {
    grid-template-columns: 1fr;
  }

  .manager-quickbar-list {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .manager-assignments,
  .manager-shortcuts {
    grid-column: 1 / -1;
  }

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

  .manager-cash-item:nth-child(2) {
    border-right: 0;
  }

  .owner-unpaid-grid {
    grid-template-columns: 1fr;
  }

  .owner-shortcuts {
    grid-column: span 2;
  }

  .owner-shortcut-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 767px) {
  .owner-dashboard-header,
  .owner-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .owner-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-dashboard-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .owner-kpi-grid,
  .owner-date-filter,
  .owner-status-grid,
  .manager-status-grid,
  .manager-cash-grid,
  .owner-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .manager-dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .manager-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .manager-cash-item {
    border-right: 0;
    border-bottom: 1px solid var(--gse-border, #3B414A);
  }

  .manager-cash-item:last-child {
    border-bottom: 0;
  }

  .owner-shortcuts {
    grid-column: span 1;
  }
}

@media (max-width: 575px) {
  body.page-header-fixed .modal .modal-footer,
  body.page-header-fixed .modal .form-actions {
    align-items: stretch !important;
    flex-direction: column-reverse !important;
  }

  body.page-header-fixed .modal .modal-footer .btn,
  body.page-header-fixed .modal .form-actions .btn {
    width: 100% !important;
    margin: 4px 0 !important;
  }
}
