.jdb-admin-wrap,
.jdb-admin-wrap *,
.jdb-stand-wrap,
.jdb-stand-wrap * {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif !important;
}

.jdb-admin-wrap,
.jdb-stand-wrap {
    color: #0f172a;
}

.jdb-admin-title {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 16px 0;
}

.jdb-admin-title h1 {
    margin-bottom: 4px;
}

.jdb-admin-title-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.jdb-plugin-meta {
    align-items: center;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px;
}

.jdb-plugin-meta span {
    background: #f1f5f9;
    border: 1px solid #d7dde6;
    border-radius: 999px;
    padding: 3px 9px;
}

.jdb-selector-form select {
    min-width: 240px;
}

.jdb-stand-wrap,
.jdb-panel {
    background: #fff;
    border: 1px solid #d7dde6;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    margin: 18px 0;
}

.jdb-stand-wrap {
    overflow: hidden;
}

.jdb-public-stand {
    background: var(--jdb-public-panel-bg, #fff);
    border-color: var(--jdb-public-panel-border, #d7dde6);
    left: 50% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: min(1850px, calc(100vw - 48px)) !important;
    position: relative;
    transform: translateX(-50%) !important;
    width: min(1850px, calc(100vw - 48px)) !important;
}

.entry-content:has(.jdb-public-stand),
.wp-block-post-content:has(.jdb-public-stand),
.site-main:has(.jdb-public-stand),
.content-area:has(.jdb-public-stand) {
    overflow: visible;
}

.jdb-panel {
    padding: 20px 24px;
}

.jdb-panel h2,
.jdb-stand-header h2 {
    margin: 0 0 6px;
}

.jdb-stand-header h2 {
    color: #0f172a;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.jdb-stand-header p {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.jdb-stand-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 22px 24px;
}

.jdb-header-actions,
.jdb-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jdb-button {
    align-items: center;
    border: 0;
    border-radius: 6px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    padding: 0 15px;
    text-decoration: none;
}

.jdb-button:hover,
.jdb-button:focus {
    color: #fff !important;
    text-decoration: none;
}

.jdb-button-primary {
    background: #00a651;
    color: #fff !important;
}

.jdb-button-primary:hover,
.jdb-button-primary:focus {
    background: #008a43;
}

.jdb-button-secondary {
    background: #64748b;
    color: #fff !important;
}

.jdb-button-secondary:hover,
.jdb-button-secondary:focus {
    background: #334155;
}

.jdb-button-dark {
    background: #475569;
    color: #fff !important;
}

.jdb-button-dark:hover,
.jdb-button-dark:focus {
    background: #1f2937;
}

.jdb-table-scroll {
    overflow-x: auto;
    width: 100%;
}

.jdb-public-stand .jdb-table-scroll {
    overflow-x: hidden !important;
}

.jdb-stand-table {
    border-collapse: collapse;
    min-width: var(--jdb-table-min-width, 1180px);
    table-layout: fixed;
    width: 100%;
}

.jdb-public-stand .jdb-stand-table {
    min-width: 0 !important;
    width: 100% !important;
}

.jdb-admin-wrap .jdb-main-standings-scroll {
    overflow-x: visible;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table {
    min-width: 0 !important;
    width: 100%;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-col-number {
    width: 2.5%;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-col-name {
    width: 14%;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-col-stat {
    width: 3.2%;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-col-round {
    width: auto;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-col-tally {
    width: 3.5%;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table th,
.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table td {
    font-size: 11px;
    padding: 4px 2px;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table .jdb-name-col {
    min-width: 0;
    overflow-wrap: anywhere;
    padding-left: 7px;
    padding-right: 5px;
}

.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table .jdb-head-green,
.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table .jdb-head-yellow,
.jdb-admin-wrap .jdb-main-standings-scroll .jdb-stand-table .jdb-head-lime {
    font-size: 12px;
}

.jdb-col-number {
    width: 42px;
}

.jdb-col-name {
    width: 230px;
}

.jdb-col-stat {
    width: 52px;
}

.jdb-col-round {
    width: 45px;
}

.jdb-col-tally {
    width: 62px;
}

.jdb-stand-table th,
.jdb-stand-table td {
    border: 1px solid #cbd5e1;
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    padding: 5px 4px;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
}

.jdb-stand-table th {
    background: #f8fafc;
    color: #020617;
    font-weight: 800;
}

.jdb-stand-table .jdb-name-col {
    min-width: 230px;
    overflow: visible;
    padding-left: 8px;
    text-align: left;
    white-space: normal;
}

.jdb-team-members {
    color: #334155;
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    margin-top: 2px;
    white-space: normal;
}

.jdb-stand-table .jdb-head-green {
    background: #00a651;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.jdb-stand-table .jdb-head-yellow {
    background: #fff200;
    color: #020617;
    font-size: 13px;
    text-transform: uppercase;
}

.jdb-stand-table .jdb-head-lime {
    background: #b9f6a5;
    color: #020617;
    font-size: 13px;
    text-transform: uppercase;
}

.jdb-poule-heading-row td,
.jdb-stand-table .jdb-poule-heading-row td,
.jdb-draw-table .jdb-poule-heading-row td {
    background: #e8f7ff !important;
    color: #071727 !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    padding: 8px 10px;
    text-align: left !important;
    text-transform: uppercase;
}

.jdb-poule-qualified-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #a7f500;
    color: #071727;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.jdb-poule-finals-block {
    margin-top: 18px;
}

.jdb-poule-finals-block h3 {
    color: #071727;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 10px;
}

.jdb-poule-finals-table th,
.jdb-poule-finals-table td {
    text-align: left;
}

.jdb-poule-final-winner {
    background: #ecfff0;
    border: 1px solid #bfe9cb;
    border-radius: 8px;
    color: #071727;
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    margin: 12px 0 0;
    padding: 10px 14px;
}

.jdb-played-cell {
    background: #ecfff0;
}

.jdb-empty-cell {
    background: #fff;
}

.jdb-future-cell {
    background: #d6d6d6;
}

.jdb-negative {
    color: #e00000;
}

.jdb-positive {
    color: #008a36;
}

.jdb-public-stand .jdb-stand-header h2 {
    color: var(--jdb-public-title-color, #0f172a);
}

.jdb-public-stand .jdb-stand-header p {
    color: var(--jdb-public-subtitle-color, #0f172a);
}

.jdb-public-stand .jdb-button-primary {
    background: var(--jdb-public-button-bg, #00a651);
    color: var(--jdb-public-button-text, #fff) !important;
}

.jdb-public-stand .jdb-button-primary:hover,
.jdb-public-stand .jdb-button-primary:focus {
    background: var(--jdb-public-button-hover, #008a43);
    color: var(--jdb-public-button-text, #fff) !important;
}

.jdb-public-stand .jdb-stand-table th,
.jdb-public-stand .jdb-stand-table td {
    border-color: var(--jdb-public-table-border, #cbd5e1);
}

.jdb-public-stand .jdb-stand-table th {
    background: var(--jdb-public-table-head-bg, #f8fafc);
    color: var(--jdb-public-table-head-text, #020617);
}

.jdb-public-stand .jdb-stand-table .jdb-head-green {
    background: var(--jdb-public-meta-bg, #00a651);
    color: var(--jdb-public-meta-text, #fff);
}

.jdb-public-stand .jdb-stand-table .jdb-head-yellow {
    background: var(--jdb-public-round-bg, #fff200);
    color: var(--jdb-public-round-text, #020617);
}

.jdb-public-stand .jdb-stand-table .jdb-head-lime {
    background: var(--jdb-public-best-bg, #b9f6a5);
    color: var(--jdb-public-best-text, #020617);
}

.jdb-public-stand .jdb-played-cell {
    background: var(--jdb-public-played-bg, #ecfff0);
}

.jdb-public-stand .jdb-empty-cell {
    background: var(--jdb-public-empty-bg, #fff);
}

.jdb-public-stand .jdb-future-cell {
    background: var(--jdb-public-future-bg, #d6d6d6);
}

.jdb-stand-table td.jdb-best-counted-cell,
.jdb-public-stand .jdb-stand-table td.jdb-best-counted-cell {
    background: #e5f7eb;
}

.jdb-stand-table td.jdb-best-remaining-cell,
.jdb-public-stand .jdb-stand-table td.jdb-best-remaining-cell {
    background: #edf1f6;
}

.jdb-stand-table th.jdb-best-counted-cell,
.jdb-public-stand .jdb-stand-table th.jdb-best-counted-cell {
    background: #ccefd8;
}

.jdb-stand-table th.jdb-best-remaining-cell,
.jdb-public-stand .jdb-stand-table th.jdb-best-remaining-cell {
    background: #dde4ed;
}

.jdb-stand-table .jdb-best-cutoff-cell {
    border-right: 3px solid #4f739f;
}

.jdb-public-stand .jdb-positive {
    color: var(--jdb-public-positive-text, #008a43);
}

.jdb-public-stand .jdb-negative {
    color: var(--jdb-public-negative-text, #e00000);
}

[data-jdb-club-field][hidden],
[data-jdb-club-active] [data-jdb-poule-qualifiers-field][hidden] {
    display: none !important;
}

.jdb-club-standings-scroll,
.jdb-public-stand .jdb-club-standings-scroll {
    overflow-x: auto !important;
}

.jdb-club-standings-scroll .jdb-stand-table,
.jdb-public-stand .jdb-club-standings-scroll .jdb-stand-table {
    min-width: 920px !important;
}

.jdb-club-standings-scroll .jdb-name-col {
    width: 240px;
}

.jdb-form-grid {
    display: grid;
    gap: 18px 16px;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.jdb-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.jdb-form-grid label > span {
    font-weight: 700;
}

.jdb-form-grid input[type="number"],
.jdb-form-grid input[type="file"],
.jdb-form-grid input[type="text"],
.jdb-form-grid select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 42px;
    padding: 8px 10px;
    width: 100%;
}

.jdb-round-advice {
    background: #eef7ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #0f3d66;
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    padding: 8px 10px;
}

.jdb-round-advice:empty {
    display: none;
}

.jdb-round-advice.is-ok {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.jdb-round-advice.is-warning {
    background: #fffbeb;
    border-color: #facc15;
    color: #854d0e;
}

.jdb-round-advice.is-info {
    background: #eef7ff;
    border-color: #bfdbfe;
    color: #0f3d66;
}

.jdb-inline-player-import {
    border-top: 1px solid #e2e8f0;
    margin-top: 18px;
    padding-top: 16px;
}

.jdb-inline-player-import h3 {
    margin: 0 0 6px;
}

.jdb-inline-player-import-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(280px, 1fr) minmax(240px, 360px);
    margin: 12px 0;
}

.jdb-player-textarea-label,
.jdb-player-file-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.jdb-player-textarea-label > span,
.jdb-player-file-label > span {
    font-weight: 700;
}

.jdb-player-file-label {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    padding: 12px;
}

.jdb-player-file-label input[type="file"] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px;
}

.jdb-player-file-label small {
    color: #64748b;
    line-height: 1.35;
}

.jdb-player-textarea-label textarea,
.jdb-draw-player-import textarea {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 120px;
    padding: 8px 10px;
    width: 100%;
}

.jdb-system-help {
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.jdb-system-help-item {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
    padding: 8px 10px;
}

.jdb-system-help-item.is-active {
    border-color: #3858e9;
    box-shadow: 0 0 0 1px #3858e9 inset;
}

.jdb-panel p.description,
.jdb-import-panel p.description,
.jdb-draw-card p {
    color: #475569;
    margin: 6px 0 0;
}

.jdb-import-form {
    margin-top: 14px;
}

.jdb-import-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 520px;
}

.jdb-import-form label > span {
    font-weight: 700;
}

.jdb-import-form input[type="file"] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 42px;
    padding: 8px 10px;
}

.jdb-panel-heading {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.jdb-panel-heading p {
    color: #475569;
    margin: 4px 0 0;
}

.jdb-quick-round-picker {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jdb-quick-round-picker label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
    margin: 0;
}

.jdb-quick-round-picker select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 38px;
    min-width: 160px;
    padding: 6px 10px;
}

.jdb-quick-table-wrap {
    margin-top: 10px;
}

.jdb-quick-table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}

.jdb-match-score-table {
    min-width: 980px;
}

.jdb-quick-table th,
.jdb-quick-table td {
    border: 1px solid #cbd5e1;
    padding: 7px 8px;
    vertical-align: middle;
}

.jdb-quick-table th {
    background: #f8fafc;
    color: #020617;
    font-size: 12px;
    text-align: left;
    text-transform: uppercase;
}

.jdb-quick-table td:first-child {
    text-align: center;
    width: 64px;
}

.jdb-quick-player {
    min-width: 220px;
}

.jdb-match-score-table .jdb-quick-player {
    line-height: 1.45;
    min-width: 260px;
}

.jdb-quick-table input[type="number"] {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 36px;
    padding: 6px 8px;
    width: 100%;
}

.jdb-quick-table input[type="number"][data-jdb-quick-input] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.jdb-quick-table input[type="number"][data-jdb-quick-input]::-webkit-inner-spin-button,
.jdb-quick-table input[type="number"][data-jdb-quick-input]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.jdb-quick-table output {
    display: inline-flex;
    font-weight: 800;
    min-width: 46px;
}

.jdb-round-status {
    color: #0f172a;
    font-size: 13px;
    margin: 0 0 12px;
}

.jdb-draw-card-header .jdb-round-status {
    margin: 8px 0 0;
}

.jdb-match-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 4px 7px;
    text-transform: uppercase;
}

.jdb-match-status-played {
    background: #dbeafe;
    color: #1d4ed8;
}

.jdb-match-status-niveau {
    background: #ecfccb;
    color: #365314;
}

.jdb-niveau-extra-match-row td {
    background: #fbfff1;
}

.jdb-niveau-extra-note {
    color: #365314;
    display: block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 3px;
}

.jdb-played-match-row td {
    background: #f8fafc;
}

.jdb-manual-stand-wrap {
    margin-top: 12px;
}

.jdb-manual-stand-table {
    border-collapse: collapse;
    min-width: var(--jdb-manual-min-width, 1468px);
    table-layout: fixed;
    width: 100%;
}

.jdb-manual-col-number {
    width: 48px;
}

.jdb-manual-col-name {
    width: var(--jdb-manual-name-width, 260px);
}

.jdb-manual-col-round {
    width: 58px;
}

.jdb-manual-stand-table th,
.jdb-manual-stand-table td {
    border: 1px solid #cbd5e1;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
}

.jdb-manual-stand-table th {
    background: #f8fafc;
    color: #020617;
    font-size: 12px;
    font-weight: 800;
}

.jdb-manual-stand-name {
    overflow: hidden;
    text-align: left !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdb-manual-stand-name.is-team {
    white-space: normal;
}

.jdb-manual-team-members {
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 3px;
}

.jdb-manual-stand-table input[type="text"] {
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    min-height: 32px;
    padding: 4px 5px;
    text-align: center;
    width: 48px;
}

.jdb-checkbox {
    align-items: center;
    flex-direction: row !important;
    gap: 10px !important;
    padding-top: 28px;
}

.jdb-admin-table {
    margin-top: 8px;
}

.jdb-meta-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    margin: 14px 0 0;
}

.jdb-meta-list div,
.jdb-stat-grid div {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    padding: 10px 12px;
}

.jdb-meta-list dt,
.jdb-stat-grid span {
    color: #475569;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.jdb-meta-list dd {
    font-weight: 700;
    margin: 0;
}

.jdb-stat-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    margin-top: 14px;
}

.jdb-stat-grid strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
}

.jdb-stat-table td,
.jdb-history-table td {
    vertical-align: top;
}

.jdb-select-col {
    text-align: center !important;
    width: 42px;
}

.jdb-bulk-actions {
    margin: 10px 0;
}

.jdb-bulk-actions-bottom {
    margin-bottom: 0;
}

.jdb-results-matrix {
    border-collapse: collapse;
    table-layout: fixed;
}

.jdb-results-matrix th,
.jdb-results-matrix td {
    border: 1px solid #cbd5e1;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 4px;
    text-align: center;
    vertical-align: middle;
    width: 52px;
}

.jdb-results-matrix thead th {
    background: #f8fafc;
    font-weight: 800;
    position: sticky;
    top: 0;
    z-index: 2;
}

.jdb-results-matrix .jdb-results-player-col {
    background: #fff;
    left: 0;
    min-width: 230px;
    position: sticky;
    text-align: left;
    width: 230px;
    z-index: 3;
}

.jdb-results-player-number {
    color: #64748b;
    display: inline-block;
    font-weight: 400;
    margin-right: 8px;
    min-width: 24px;
    text-align: right;
}

.jdb-result-empty {
    background: #f8fafc;
}

.jdb-result-cell {
    background: #ecfff0;
    font-weight: 800;
    position: relative;
}

.jdb-result-cell.jdb-negative {
    background: #fff5f5;
}

.jdb-result-score {
    color: inherit;
    display: block;
    text-decoration: none;
}

.jdb-result-score:hover,
.jdb-result-score:focus {
    color: inherit;
    text-decoration: underline;
}

.jdb-result-delete {
    align-items: center;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 999px;
    color: #dc2626;
    display: inline-flex;
    font-size: 10px;
    height: 16px;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    position: absolute;
    right: 2px;
    text-decoration: none;
    top: 2px;
    width: 16px;
}

.jdb-result-cell:hover .jdb-result-delete,
.jdb-result-cell:focus-within .jdb-result-delete {
    opacity: 1;
}

.jdb-shortcode-note {
    color: #475569;
    font-size: 13px;
    margin: -8px 0 16px;
}

.jdb-inline-form {
    display: inline;
    margin: 0;
}

.jdb-danger-link {
    border-color: #dc2626 !important;
    color: #b91c1c !important;
}

.jdb-draw-list {
    display: grid;
    gap: 16px;
}

.jdb-draw-create-panel .jdb-form-grid {
    align-items: end;
}

.jdb-draw-context {
    background: #f8fafc;
    border: 1px solid #d7dde6;
    border-radius: 6px;
    color: #0f172a;
    margin: 0 0 16px;
    padding: 10px 12px;
}

.jdb-draw-context a {
    margin-left: 8px;
}

.jdb-niveau-draw-context {
    background: #ecfeff;
    border-color: #67e8f9;
}

.jdb-attendance-box {
    background: #f6f9fc;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    margin-top: 14px;
    padding: 14px;
}

.jdb-attendance-heading h3 {
    color: #071727;
    font-size: 15px;
    font-weight: 900;
    margin: 0 0 4px;
}

.jdb-attendance-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 12px;
}

.jdb-attendance-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    display: flex;
    gap: 9px;
    min-height: 44px;
    padding: 9px 10px;
}

.jdb-attendance-item input {
    margin-top: 2px;
}

.jdb-attendance-item strong {
    color: #071727;
    display: block;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.jdb-attendance-item small {
    color: #52667b;
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 3px;
}

.jdb-niveau-lottery-panel {
    background: #f6f9fc;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    margin-top: 14px;
    padding: 14px;
}

.jdb-niveau-lottery-head {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.jdb-niveau-lottery-head h3 {
    color: #071727;
    font-size: 15px;
    font-weight: 900;
    margin: 0 0 4px;
}

.jdb-switch-row {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    display: flex;
    font-weight: 900;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    white-space: nowrap;
}

.jdb-niveau-group-table th,
.jdb-niveau-group-table td {
    vertical-align: middle;
}

.jdb-niveau-group-table select {
    min-height: 34px;
    width: 140px;
}

.jdb-draw-player-import {
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
    padding-top: 16px;
}

.jdb-draw-player-import h3 {
    margin: 0 0 6px;
}

.jdb-draw-player-import textarea {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 150px;
    padding: 10px 12px;
    width: 100%;
}

.jdb-draw-card {
    border: 1px solid #d7dde6;
    border-radius: 8px;
    overflow: hidden;
}

.jdb-draw-card-header {
    align-items: flex-start;
    background: #f8fafc;
    border-bottom: 1px solid #d7dde6;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 16px;
}

.jdb-draw-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.jdb-draw-card h3 {
    margin: 0;
}

.jdb-draw-table {
    table-layout: fixed;
    width: 100%;
}

.jdb-draw-col-match {
    width: 72px;
}

.jdb-draw-col-side {
    width: calc((100% - 72px) / 2);
}

.jdb-draw-table th,
.jdb-draw-table td {
    vertical-align: top;
}

.jdb-draw-table th:first-child,
.jdb-draw-table td:first-child {
    text-align: center;
    width: 72px;
}

html.wp-toolbar {
    padding-top: 0 !important;
}

body.wp-admin {
    background: #eef3f7;
}

body.wp-admin #wpadminbar,
body.wp-admin #adminmenumain,
body.wp-admin #wpfooter,
body.wp-admin #screen-meta,
body.wp-admin #screen-meta-links {
    display: none !important;
}

body.wp-admin #wpcontent,
body.wp-admin.folded #wpcontent,
body.wp-admin.auto-fold #wpcontent {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body.wp-admin #wpbody-content {
    padding-bottom: 0;
}

body.wp-admin #wpbody-content > .notice,
body.wp-admin #wpbody-content > .updated,
body.wp-admin #wpbody-content > .error,
body.wp-admin #wpbody-content > .update-nag {
    border-radius: 8px;
    margin: 16px 28px 0 276px;
}

.jdb-admin-wrap.wrap {
    background: #eef3f7;
    color: #071727;
    margin: 0 !important;
    max-width: none;
    min-height: 100vh;
    padding: 0 0 0 242px;
}

.jdb-admin-sidebar {
    background: #0f1d26;
    bottom: 0;
    color: #d8e7f5;
    display: flex;
    flex-direction: column;
    left: 0;
    max-height: 100vh;
    min-height: 0;
    overflow: hidden;
    padding: 24px 14px;
    position: fixed;
    top: 0;
    width: 242px;
    z-index: 20;
}

.jdb-admin-sidebar-logo {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    flex: 0 0 auto;
    margin: 0 0 24px;
    padding: 4px 4px 22px;
}

.jdb-admin-sidebar-logo img {
    display: block;
    height: auto;
    max-width: 210px;
    width: 100%;
}

.jdb-admin-nav {
    display: grid;
    flex: 1 1 auto;
    gap: 20px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-gutter: stable;
}

.jdb-admin-nav::-webkit-scrollbar {
    width: 8px;
}

.jdb-admin-nav::-webkit-scrollbar-thumb {
    background: rgba(216, 231, 245, 0.24);
    border-radius: 999px;
}

.jdb-admin-nav-section {
    display: grid;
    gap: 8px;
}

.jdb-admin-nav-label {
    background: rgba(255, 255, 255, 0.07);
    border-left: 3px solid #b4f20a;
    border-radius: 7px;
    color: #f4f8fb;
    display: block;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    padding: 9px 10px;
    text-transform: uppercase;
}

.jdb-admin-nav-item {
    align-items: center;
    border-radius: 8px;
    color: #d8e7f5;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 11px;
    min-height: 40px;
    padding: 0 10px;
    text-decoration: none;
}

.jdb-admin-nav-item:hover,
.jdb-admin-nav-item:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    text-decoration: none;
}

.jdb-admin-nav-item.is-active {
    background: #b4f20a;
    color: #071727;
}

.jdb-admin-nav-item .dashicons {
    font-size: 18px;
    height: 18px;
    line-height: 18px;
    width: 18px;
}

.jdb-admin-nav-item .dashicons,
.jdb-admin-nav-item .dashicons::before {
    font-family: dashicons !important;
}

.jdb-admin-sidebar-foot {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: #9fb4c8;
    display: grid;
    flex: 0 0 auto;
    font-size: 12px;
    gap: 10px;
    margin-top: auto;
    padding: 18px 4px 0;
}

.jdb-admin-version {
    color: #9fb4c8;
    line-height: 1;
}

.jdb-admin-wordpress-link {
    align-items: center;
    border: 1px solid rgba(216, 231, 245, 0.18);
    border-radius: 7px;
    color: #d8e7f5;
    display: flex;
    font-weight: 800;
    gap: 10px;
    min-height: 38px;
    padding: 0 12px;
    text-decoration: none;
}

.jdb-admin-wordpress-link:hover,
.jdb-admin-wordpress-link:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(216, 231, 245, 0.34);
    color: #fff;
    outline: none;
}

.jdb-admin-wordpress-link .dashicons,
.jdb-admin-wordpress-link .dashicons::before {
    font-family: dashicons !important;
}

.jdb-admin-wordpress-link .dashicons {
    font-size: 22px;
    height: 22px;
    line-height: 22px;
    width: 22px;
}

@media (max-height: 760px) and (min-width: 1101px) {
    .jdb-admin-sidebar {
        padding-bottom: 14px;
        padding-top: 16px;
    }

    .jdb-admin-sidebar-logo {
        margin-bottom: 14px;
        padding-bottom: 16px;
    }

    .jdb-admin-nav {
        gap: 12px;
    }

    .jdb-admin-nav-item {
        min-height: 36px;
    }

    .jdb-admin-sidebar-foot {
        padding-top: 12px;
    }
}

.jdb-admin-title {
    background: #fff;
    border-bottom: 1px solid #d7e0ea;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 !important;
    min-height: 142px;
    padding: 28px 28px 20px 34px;
}

.jdb-admin-title-copy {
    min-width: 0;
}

.jdb-admin-date {
    color: #76889b;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.jdb-admin-title h1 {
    color: #071727;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    padding-left: 18px;
    position: relative;
}

.jdb-admin-title h1::before {
    background: linear-gradient(180deg, #b4f20a 0%, #0d6fb8 100%);
    border-radius: 999px;
    content: "";
    height: 34px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
}

.jdb-admin-title-copy p {
    color: #485d72;
    font-size: 13px;
    line-height: 1.4;
    margin: 8px 0 0;
}

.jdb-admin-title-actions .button,
.jdb-admin-wrap .button,
.jdb-admin-wrap .button-secondary,
.jdb-admin-wrap .button-primary,
.jdb-admin-wrap input[type="submit"].button {
    align-items: center;
    border-radius: 8px;
    box-shadow: none;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
}

.jdb-admin-wrap .button-primary,
.jdb-admin-wrap .button.button-primary,
.jdb-admin-wrap input[type="submit"].button-primary {
    background: #b4f20a !important;
    border-color: #b4f20a !important;
    color: #071727 !important;
}

.jdb-admin-wrap .button-primary:hover,
.jdb-admin-wrap .button-primary:focus,
.jdb-admin-wrap .button.button-primary:hover,
.jdb-admin-wrap .button.button-primary:focus {
    background: #9ee000 !important;
    border-color: #9ee000 !important;
    color: #071727 !important;
}

.jdb-admin-wrap .button,
.jdb-admin-wrap .button-secondary {
    background: #fff;
    border-color: #cbd8e6;
    color: #071727;
}

.jdb-admin-wrap .button:hover,
.jdb-admin-wrap .button:focus,
.jdb-admin-wrap .button-secondary:hover,
.jdb-admin-wrap .button-secondary:focus {
    background: #f4f8fb;
    border-color: #abc0d5;
    color: #071727;
}

.jdb-admin-wrap .jdb-danger-link {
    background: #fff5f5;
    border-color: #fecaca !important;
    color: #b91c1c !important;
}

.jdb-admin-wrap > .jdb-panel,
.jdb-admin-wrap > .jdb-stand-wrap,
.jdb-admin-wrap > .jdb-shortcode-note {
    margin-left: 34px;
    margin-right: 28px;
}

.jdb-admin-wrap > .jdb-panel,
.jdb-admin-wrap > .jdb-stand-wrap {
    border-color: #d7e0ea;
    box-shadow: 0 12px 34px rgba(15, 29, 38, 0.06);
    margin-top: 16px;
    overflow: hidden;
    position: relative;
}

.jdb-admin-wrap > .jdb-panel::before,
.jdb-admin-wrap > .jdb-stand-wrap::before {
    background: linear-gradient(90deg, #b4f20a 0%, #0d6fb8 100%);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.jdb-admin-wrap > .jdb-panel {
    padding-top: 24px;
}

.jdb-admin-wrap > .jdb-shortcode-note {
    background: #e8f6f2;
    border: 1px solid #b7dcd2;
    border-radius: 8px;
    color: #075c50;
    margin-bottom: 0;
    margin-top: 12px;
    padding: 10px 14px;
}

.jdb-admin-wrap > .jdb-panel:last-child,
.jdb-admin-wrap > .jdb-stand-wrap:last-child {
    margin-bottom: 28px;
}

.jdb-admin-wrap .jdb-panel h2,
.jdb-admin-wrap .jdb-stand-header h2,
.jdb-admin-wrap .jdb-draw-card h3 {
    color: #071727;
    font-weight: 900;
}

.jdb-admin-wrap .jdb-stand-header {
    padding: 26px 24px 20px;
}

.jdb-admin-wrap .jdb-stand-header h2 {
    font-size: 28px;
}

.jdb-admin-wrap .jdb-stand-header p,
.jdb-admin-wrap .jdb-panel-heading p,
.jdb-admin-wrap .jdb-panel p.description,
.jdb-admin-wrap .jdb-import-panel p.description,
.jdb-admin-wrap .jdb-draw-card p {
    color: #52667b;
}

.jdb-admin-wrap .jdb-form-grid input[type="number"],
.jdb-admin-wrap .jdb-form-grid input[type="file"],
.jdb-admin-wrap .jdb-form-grid input[type="text"],
.jdb-admin-wrap .jdb-form-grid select,
.jdb-admin-wrap .jdb-quick-round-picker select,
.jdb-admin-wrap .jdb-quick-table input[type="number"],
.jdb-admin-wrap .jdb-player-file-label input[type="file"],
.jdb-admin-wrap .jdb-player-textarea-label textarea,
.jdb-admin-wrap .jdb-draw-player-import textarea {
    background: #fff;
    border-color: #cbd8e6;
    border-radius: 8px;
    box-shadow: none;
}

.jdb-admin-wrap .jdb-form-grid input:focus,
.jdb-admin-wrap .jdb-form-grid select:focus,
.jdb-admin-wrap .jdb-quick-round-picker select:focus,
.jdb-admin-wrap .jdb-quick-table input[type="number"]:focus,
.jdb-admin-wrap textarea:focus {
    border-color: #0d6fb8;
    box-shadow: 0 0 0 2px rgba(13, 111, 184, 0.12);
    outline: none;
}

.jdb-admin-wrap .jdb-admin-table,
.jdb-admin-wrap .jdb-quick-table,
.jdb-admin-wrap .jdb-stand-table {
    border-color: #d7e0ea;
}

.jdb-admin-wrap .jdb-admin-table th,
.jdb-admin-wrap .jdb-quick-table th,
.jdb-admin-wrap .jdb-stand-table th,
.jdb-admin-wrap .jdb-results-matrix thead th {
    background: #f4f8fb;
    color: #071727;
}

.jdb-admin-wrap .jdb-admin-table td,
.jdb-admin-wrap .jdb-quick-table td,
.jdb-admin-wrap .jdb-stand-table td {
    color: #14293a;
}

.jdb-admin-wrap .jdb-meta-list div,
.jdb-admin-wrap .jdb-stat-grid div,
.jdb-admin-wrap .jdb-system-help-item,
.jdb-admin-wrap .jdb-player-file-label,
.jdb-admin-wrap .jdb-draw-context {
    background: #f6f9fc;
    border-color: #d7e0ea;
    border-radius: 8px;
}

.jdb-admin-wrap .jdb-stat-grid strong {
    color: #071727;
    font-size: 26px;
}

.jdb-license-panel .jdb-panel-heading {
    align-items: flex-start;
}

.jdb-license-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    min-height: 32px;
    padding: 0 12px;
    white-space: nowrap;
}

.jdb-license-status.is-active {
    background: #dcfce7;
    color: #166534;
}

.jdb-license-status.is-warning {
    background: #fef3c7;
    color: #92400e;
}

.jdb-license-status.is-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.jdb-license-grid,
.jdb-license-flow {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0 0;
}

.jdb-license-grid div,
.jdb-license-flow div {
    background: #f6f9fc;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    min-width: 0;
    padding: 14px;
}

.jdb-license-grid dt {
    color: #52667b;
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.jdb-license-grid dd {
    color: #071727;
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    overflow-wrap: anywhere;
}

.jdb-license-message {
    background: #eef7ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #164e83;
    font-weight: 700;
    margin: 18px 0 0;
    padding: 12px 14px;
}

.jdb-license-disclosure {
    background: #f6f9fc;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    color: #52667b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    margin: 14px 0 0;
    padding: 12px 14px;
}

.jdb-license-form {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(260px, 520px) auto;
    margin-top: 20px;
}

.jdb-license-form label {
    display: grid;
    gap: 7px;
}

.jdb-license-form label span {
    color: #273b4e;
    font-weight: 900;
}

.jdb-license-form input[type="text"] {
    background: #fff;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    box-shadow: none;
    min-height: 40px;
    padding: 0 12px;
    width: 100%;
}

.jdb-license-form input[type="text"]:focus {
    border-color: #0d6fb8;
    box-shadow: 0 0 0 2px rgba(13, 111, 184, 0.12);
    outline: none;
}

.jdb-license-consent {
    color: #52667b;
    font-size: 12px;
    grid-column: 2;
    line-height: 1.45;
    margin: -2px 0 0;
    max-width: 720px;
}

.jdb-license-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.jdb-update-status {
    align-items: center;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin: 16px 0 0;
    padding: 14px;
}

.jdb-update-status strong,
.jdb-update-status span {
    display: block;
}

.jdb-update-status strong {
    color: #071727;
    font-size: 14px;
    font-weight: 900;
}

.jdb-update-status span {
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 3px;
}

.jdb-update-status.is-current {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.jdb-update-status.is-available,
.jdb-update-status.is-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.jdb-update-status.is-muted {
    background: #f6f9fc;
}

.jdb-license-flow strong {
    align-items: center;
    background: #b4f20a;
    border-radius: 999px;
    color: #071727;
    display: inline-flex;
    font-size: 13px;
    height: 28px;
    justify-content: center;
    margin-bottom: 10px;
    width: 28px;
}

.jdb-license-flow span {
    color: #14293a;
    display: block;
    font-weight: 700;
    line-height: 1.45;
}

.jdb-design-form {
    display: grid;
    gap: 18px;
}

.jdb-design-group {
    background: #f6f9fc;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    padding: 16px;
}

.jdb-design-group h3 {
    color: #071727;
    font-size: 15px;
    font-weight: 900;
    margin: 0 0 12px;
}

.jdb-color-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jdb-color-field {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 12px;
}

.jdb-color-field span {
    color: #273b4e;
    font-size: 12px;
    font-weight: 900;
}

.jdb-color-field input[type="color"] {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    height: 42px;
    padding: 0;
    width: 100%;
}

.jdb-color-field input[type="text"][data-jdb-color-code] {
    background: #fff;
    border: 1px solid #cbd8e6;
    border-radius: 6px;
    color: #071727;
    font-family: Consolas, Monaco, monospace !important;
    font-size: 13px;
    font-weight: 700;
    min-height: 30px;
    padding: 0 9px;
    text-transform: lowercase;
    width: 100%;
}

.jdb-color-field input[type="text"][data-jdb-color-code]:focus {
    border-color: #0d6fb8;
    box-shadow: 0 0 0 2px rgba(13, 111, 184, 0.16);
    outline: none;
}

.jdb-settings-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.jdb-reset-design {
    align-items: center;
    color: #334155;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
}

.jdb-settings-preview {
    background: var(--jdb-public-panel-bg, #fff);
    border: 1px solid var(--jdb-public-panel-border, #d7dde6);
    border-radius: 8px;
    overflow: hidden;
}

.jdb-preview-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 22px;
}

.jdb-preview-header strong {
    color: var(--jdb-public-title-color, #0f172a);
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
}

.jdb-preview-header span {
    color: var(--jdb-public-subtitle-color, #0f172a);
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

.jdb-preview-header button {
    background: var(--jdb-public-button-bg, #00a651);
    border: 0;
    border-radius: 6px;
    color: var(--jdb-public-button-text, #fff);
    font-weight: 900;
    min-height: 38px;
    padding: 0 15px;
}

.jdb-settings-preview table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.jdb-settings-preview th,
.jdb-settings-preview td {
    border: 1px solid var(--jdb-public-table-border, #cbd5e1);
    font-size: 12px;
    padding: 6px 4px;
    text-align: center;
}

.jdb-settings-preview th {
    background: var(--jdb-public-table-head-bg, #f8fafc);
    color: var(--jdb-public-table-head-text, #020617);
}

.jdb-settings-preview .is-meta {
    background: var(--jdb-public-meta-bg, #00a651);
    color: var(--jdb-public-meta-text, #fff);
}

.jdb-settings-preview .is-round {
    background: var(--jdb-public-round-bg, #fff200);
    color: var(--jdb-public-round-text, #020617);
}

.jdb-settings-preview .is-best {
    background: var(--jdb-public-best-bg, #b9f6a5);
    color: var(--jdb-public-best-text, #020617);
}

.jdb-settings-preview .is-played {
    background: var(--jdb-public-played-bg, #ecfff0);
}

.jdb-settings-preview .is-empty {
    background: var(--jdb-public-empty-bg, #fff);
}

.jdb-settings-preview .is-future {
    background: var(--jdb-public-future-bg, #d6d6d6);
}

.jdb-settings-preview .is-positive {
    color: var(--jdb-public-positive-text, #008a43);
}

.jdb-settings-preview .is-negative {
    color: var(--jdb-public-negative-text, #e00000);
}

@media (max-width: 1100px) {
    body.wp-admin #wpbody-content > .notice,
    body.wp-admin #wpbody-content > .updated,
    body.wp-admin #wpbody-content > .error,
    body.wp-admin #wpbody-content > .update-nag {
        margin: 16px;
    }

    .jdb-admin-wrap.wrap {
        padding-left: 0;
    }

    .jdb-admin-sidebar {
        bottom: auto;
        left: auto;
        max-height: none;
        overflow: visible;
        padding: 16px;
        position: relative;
        top: auto;
        width: auto;
    }

    .jdb-admin-sidebar-logo {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .jdb-admin-nav {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 4px;
        padding-right: 0;
        scrollbar-gutter: auto;
    }

    .jdb-admin-nav-section {
        flex: 0 0 220px;
    }

    .jdb-admin-sidebar-foot {
        display: none;
    }

    .jdb-admin-title,
    .jdb-admin-wrap > .jdb-panel,
    .jdb-admin-wrap > .jdb-stand-wrap,
    .jdb-admin-wrap > .jdb-shortcode-note {
        margin-left: 16px;
        margin-right: 16px;
    }

    .jdb-admin-title {
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-height: auto;
        padding: 22px 16px;
    }
}

@media (max-width: 782px) {
    .jdb-admin-title,
    .jdb-stand-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .jdb-admin-title-actions,
    .jdb-selector-form,
    .jdb-selector-form select {
        width: 100%;
    }

    .jdb-form-grid {
        grid-template-columns: 1fr;
    }

    .jdb-inline-player-import-grid,
    .jdb-system-help,
    .jdb-meta-list,
    .jdb-stat-grid,
    .jdb-color-grid,
    .jdb-license-grid,
    .jdb-license-flow,
    .jdb-license-form {
        grid-template-columns: 1fr;
    }

    .jdb-license-consent {
        grid-column: 1;
    }

    .jdb-panel-heading {
        flex-direction: column;
    }

    .jdb-update-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .jdb-quick-round-picker,
    .jdb-quick-round-picker label,
    .jdb-quick-round-picker select {
        width: 100%;
    }

    .jdb-button {
        justify-content: center;
        width: 100%;
    }

    .jdb-stand-header h2 {
        font-size: 24px;
    }

    .jdb-header-actions {
        width: 100%;
    }

    .jdb-public-stand {
        max-width: calc(100vw - 24px) !important;
        width: calc(100vw - 24px) !important;
    }
}

@media print {
    .jdb-admin-sidebar,
    .jdb-admin-title,
    .jdb-header-actions,
    .jdb-panel,
    #adminmenumain,
    #wpadminbar,
    #wpfooter {
        display: none !important;
    }

    .jdb-admin-wrap.wrap {
        display: block;
        min-height: auto;
        padding-left: 0;
    }

    .jdb-stand-wrap {
        border: 0;
        box-shadow: none;
        margin: 0 !important;
    }

    .jdb-table-scroll {
        overflow: visible;
    }
}


/* =========================================================
   1.6.59 - Niveau-ranking vaste stylesheet
   ========================================================= */
.jdb-niveau-ranking-form>.jdb-panel,.jdb-niveau-ranking-form>.jdb-stand-wrap{margin-left:34px;margin-right:28px}
.jdb-niveau-ranking-form>.jdb-panel,.jdb-niveau-ranking-form>.jdb-stand-wrap{border-color:#d7e0ea;box-shadow:0 12px 34px rgba(15,29,38,.06);margin-top:16px;overflow:hidden;position:relative}
.jdb-niveau-ranking-form>.jdb-panel:before,.jdb-niveau-ranking-form>.jdb-stand-wrap:before{background:linear-gradient(90deg,#b4f20a 0%,#0d6fb8 100%);content:"";height:4px;left:0;position:absolute;right:0;top:0}
.jdb-niveau-ranking-controls .jdb-panel-heading code{background:#eef6ff;border:1px solid #cbd8e6;border-radius:8px;color:#071727;font-weight:900;padding:10px 12px}
.jdb-niveau-ranking-bottom-actions{padding-top:16px!important}.jdb-niveau-ranking-bottom-actions .submit,.jdb-niveau-ranking-controls .submit{margin:16px 0 0;padding:0}
.jdb-niveau-ranking-wrap{background:#fff;color:#020617;overflow:hidden}.jdb-niveau-ranking-wrap.jdb-stand-wrap{border-color:var(--jdb-public-panel-border,#d7dde6);background:var(--jdb-public-panel-bg,#fff)}
.jdb-niveau-ranking-scroll{overflow:auto}.jdb-niveau-ranking-table col.jdb-ranking-col-number{width:var(--jdb-ranking-number-width,40px)}.jdb-niveau-ranking-table col.jdb-ranking-col-name{width:var(--jdb-ranking-name-width,210px)}.jdb-niveau-ranking-table col.jdb-ranking-col-start{width:var(--jdb-ranking-start-width,78px)}.jdb-niveau-ranking-table col.jdb-ranking-col-day{width:var(--jdb-ranking-day-width,44px)}.jdb-niveau-ranking-table col.jdb-ranking-col-total{width:var(--jdb-ranking-total-width,94px)}.jdb-niveau-ranking-table .jdb-name-col{min-width:var(--jdb-ranking-name-width,210px);width:var(--jdb-ranking-name-width,210px)}.jdb-niveau-ranking-table .jdb-ranking-start-col{line-height:1.15;width:var(--jdb-ranking-start-width,78px);white-space:normal}.jdb-niveau-ranking-table .jdb-ranking-total-col{line-height:1.15;overflow:visible;text-overflow:clip;white-space:normal;width:var(--jdb-ranking-total-width,94px)}.jdb-niveau-ranking-table .jdb-ranking-input-cell{padding:0}
.jdb-niveau-ranking-table .jdb-ranking-input-cell input{background:transparent;border:0;box-shadow:none;color:inherit;font:inherit;font-weight:700;height:26px;margin:0;max-width:34px;min-height:26px;padding:0 2px;text-align:center;width:34px}
.jdb-niveau-ranking-table .jdb-ranking-input-cell input:focus{background:#fff;box-shadow:inset 0 0 0 2px #0d6fb8;outline:none}
.jdb-niveau-ranking-table .jdb-ranking-total-cell{background:#ecfff0;font-weight:700}.jdb-public-stand .jdb-ranking-total-cell{background:var(--jdb-public-played-bg,#ecfff0)}.jdb-ranking-empty{font-weight:800;margin:0 24px 24px}
.jdb-niveau-ranking-table .jdb-ranking-auto-cell{font-weight:700}
.jdb-niveau-lottery-panel{background:#f6f9fc;border:1px solid #d7e0ea;border-radius:8px;margin-top:14px;padding:14px}.jdb-niveau-lottery-head{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;margin-bottom:12px}.jdb-niveau-lottery-head h3{font-size:18px;font-weight:900;margin:0 0 4px}.jdb-switch-row{align-items:center;background:#fff;border:1px solid #cbd8e6;border-radius:8px;display:flex;font-weight:900;gap:8px;min-height:40px;padding:0 12px;white-space:nowrap}.jdb-niveau-group-table th,.jdb-niveau-group-table td{vertical-align:middle}.jdb-niveau-group-table select{min-height:34px;width:140px}
@media(max-width:1100px){.jdb-niveau-ranking-form>.jdb-panel,.jdb-niveau-ranking-form>.jdb-stand-wrap{margin-left:16px;margin-right:16px}}
@media(max-width:782px){.jdb-niveau-ranking-table .jdb-ranking-input-cell input{font-size:11px}.jdb-niveau-ranking-controls .jdb-panel-heading code{width:100%}}

/* 1.6.66 - Niveaugroep-labels, uitsluitend in het WordPress-beheer. */
body.wp-admin .jdb-niveau-player-line{align-items:center;display:inline-flex;gap:7px;min-height:22px}
body.wp-admin .jdb-niveau-group-badge{align-items:center;border:1px solid currentColor;border-radius:4px;box-sizing:border-box;display:inline-flex;font-size:11px;font-weight:900;height:20px;justify-content:center;line-height:1;width:20px}
body.wp-admin .jdb-niveau-group-badge.is-a{background:#e8f2ff;color:#075ca8}
body.wp-admin .jdb-niveau-group-badge.is-b{background:#e8f8ee;color:#18733a}
body.wp-admin .jdb-niveau-group-badge.is-c{background:#fff3dc;color:#9a5700}
body.wp-admin .jdb-attendance-item .jdb-niveau-group-badge{margin-left:7px;vertical-align:middle}
body.wp-admin .jdb-niveau-reserve-separator{color:#64748b;margin:0 3px}

/* 1.6.69 - Binnenruimte voor de afwezigheidsmelding onder de loting. */
body.wp-admin .jdb-draw-card>.jdb-niveau-absent-note{box-sizing:border-box;margin:0;padding:10px 16px 12px}
