/**
 * Webisport Dashboard UI Components
 * 
 * Consolidated Vuexy Design System
 * All design tokens from base.css; every component uses Vuexy values directly.
 */

/* ================================================
   Dashboard-Level Tokens (component-scoped)
   ================================================ */

.webisport-dashboard {
    --bs-border-color: rgba(47, 43, 61, 0.12);
    --bs-box-shadow-lg: 0 0.5rem 1.75rem 0 rgba(47, 43, 61, 0.3);
    --ws-form-border: rgba(47, 43, 61, 0.22);
    --ws-form-border-hover: #82808b;
    --ws-form-placeholder: #97959e;
    --ws-form-bg-disabled: #f3f2f3;
    --ws-control-height: 2.375rem;
    --ws-control-radius: 0.375rem;
    --ws-control-padding-x: 0.9375rem;
    --ws-control-padding-y: 0.426rem;
    --ws-control-border: rgba(47, 43, 61, 0.22);
    --ws-control-border-hover: #82808b;
    --ws-control-placeholder: #97959e;
}

/* ================================================
   Section Header
   ================================================ */

.webisport-dashboard .webisport-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ws-space-6);
}

.webisport-dashboard .webisport-section-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #444050;
    margin: 0;
}

.webisport-dashboard .webisport-section-actions {
    display: flex;
    gap: var(--ws-space-3);
}

/* ================================================
   Tab content panels (nav pills: see Nav pills below)
   ================================================ */

.webisport-dashboard .webisport-tab-content {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-5);
}

.webisport-dashboard .webisport-tab-panel {
    margin-top: 1rem;
    min-width: 0;
}

/* ================================================
   Cards
   ================================================ */

.webisport-dashboard .webisport-card {
    background: var(--ws-bg-light);
    border-radius: 0.375rem;
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
    border: none;
    overflow: hidden;
    transition: box-shadow var(--ws-transition);
}

.webisport-dashboard .webisport-card:hover {
    box-shadow: 0 0.25rem 1rem 0 rgba(47, 43, 61, 0.18);
}

.webisport-dashboard .webisport-card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-bottom: none;
}

.webisport-dashboard .webisport-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #444050;
    margin: 0;
}

.webisport-dashboard .webisport-card-actions {
    display: flex;
    gap: var(--ws-space-3);
    align-items: center;
}

.webisport-dashboard .webisport-card-body {
    padding: 1.5rem;
}

.webisport-dashboard .webisport-card--table .webisport-card-body {
    padding: 0;
}

.webisport-dashboard .webisport-card--table {
    overflow: hidden;
}

.webisport-dashboard .webisport-card--table .webisport-table-wrapper {
    border-top: 1px solid rgba(47, 43, 61, 0.12);
    background: #fff;
}

.webisport-dashboard .webisport-card-footer {
    padding: 1.5rem;
    background: transparent;
    border-top: none;
}

/* ================================================
   Stats Grid
   ================================================ */

.webisport-dashboard .webisport-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--ws-space-5);
    margin-bottom: var(--ws-space-6);
}

.webisport-dashboard .webisport-stat-card {
    display: flex;
    align-items: center;
    gap: var(--ws-space-5);
    background: var(--ws-bg-light);
    padding: var(--ws-space-6);
    border-radius: 0.375rem;
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
    border: none;
    transition: box-shadow var(--ws-transition);
}

.webisport-dashboard .webisport-stat-card:hover {
    box-shadow: 0 0.25rem 1rem 0 rgba(47, 43, 61, 0.18);
}

.webisport-dashboard .webisport-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--ws-primary-alpha-16);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.webisport-dashboard .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-icon .ti {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.webisport-dashboard .webisport-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--ws-text);
    line-height: 1;
}

.webisport-dashboard .webisport-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #6d6b77;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stat card color variants */
.webisport-dashboard .webisport-stat-card-primary .webisport-stat-icon {
    background: var(--ws-primary-alpha-16);
}

.webisport-dashboard .webisport-stat-card-primary .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-card-primary .webisport-stat-icon .ti {
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-stat-card-success .webisport-stat-icon {
    background: rgba(40, 199, 111, 0.16);
}

.webisport-dashboard .webisport-stat-card-success .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-card-success .webisport-stat-icon .ti {
    color: #28c76f;
}

.webisport-dashboard .webisport-stat-card-warning .webisport-stat-icon {
    background: rgba(255, 159, 67, 0.16);
}

.webisport-dashboard .webisport-stat-card-warning .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-card-warning .webisport-stat-icon .ti {
    color: #ff9f43;
}

.webisport-dashboard .webisport-stat-card-info .webisport-stat-icon {
    background: rgba(0, 207, 232, 0.16);
}

.webisport-dashboard .webisport-stat-card-info .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-card-info .webisport-stat-icon .ti {
    color: #00cfe8;
}

.webisport-dashboard .webisport-stat-card-danger .webisport-stat-icon {
    background: rgba(234, 84, 85, 0.16);
}

.webisport-dashboard .webisport-stat-card-danger .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-card-danger .webisport-stat-icon .ti {
    color: #ea5455;
}

.webisport-dashboard .webisport-stat-card-secondary .webisport-stat-icon {
    background: rgba(var(--ws-sidebar-rgb), 0.16);
}

.webisport-dashboard .webisport-stat-card-secondary .webisport-stat-icon .dashicons,
.webisport-dashboard .webisport-stat-card-secondary .webisport-stat-icon .ti {
    color: var(--ws-sidebar-bg);
}

.webisport-dashboard .webisport-stat-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--ws-text-muted);
    line-height: 1.3;
}

/* Stat cards row */
.webisport-dashboard .webisport-stat-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Nav pills (horizontal tabs) */
.webisport-dashboard .webisport-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
    padding-bottom: 0;
}

.webisport-dashboard .webisport-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    font-size: 14px;
    font-weight: 500;
    color: #6d6b77;
    text-decoration: none;
    border-radius: 0.375rem 0.375rem 0 0;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.webisport-dashboard .webisport-nav-pill:hover {
    color: var(--ws-primary-ink);
    background: rgba(var(--ws-primary-rgb), 0.04);
}

.webisport-dashboard .webisport-nav-pill.active {
    color: var(--ws-primary-ink);
    border-bottom-color: var(--ws-primary-border);
    background: rgba(var(--ws-primary-rgb), 0.08);
}

.webisport-dashboard .webisport-nav-pill .dashicons,
.webisport-dashboard .webisport-nav-pill .ti {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Stat box variants (for detail pages) */
.webisport-dashboard .webisport-stat-box {
    background: var(--ws-bg-subtle);
    border-radius: 0.375rem;
    padding: var(--ws-space-4);
    text-align: center;
}

.webisport-dashboard .webisport-stat-box.webisport-stat-success {
    background: var(--ws-success-light);
}

.webisport-dashboard .webisport-stat-box.webisport-stat-success .webisport-stat-value {
    color: var(--ws-success);
}

.webisport-dashboard .webisport-stat-box.webisport-stat-danger {
    background: var(--ws-danger-light);
}

.webisport-dashboard .webisport-stat-box.webisport-stat-danger .webisport-stat-value {
    color: var(--ws-danger);
}

.webisport-dashboard .webisport-stat-box.webisport-stat-warning {
    background: var(--ws-warning-light);
}

.webisport-dashboard .webisport-stat-box.webisport-stat-warning .webisport-stat-value {
    color: var(--ws-warning);
}

/* ================================================
   Progress Bars (shared bar + fill pattern)
   ================================================ */

.webisport-dashboard .webisport-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--ws-border-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.webisport-dashboard .webisport-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    background: var(--ws-primary);
}

.webisport-dashboard .webisport-progress-default .webisport-progress-fill {
    background: var(--ws-primary);
}

.webisport-dashboard .webisport-progress-medium .webisport-progress-fill {
    background: var(--ws-warning, #ff9f43);
}

.webisport-dashboard .webisport-progress-high .webisport-progress-fill {
    background: var(--ws-success);
}

.webisport-dashboard .webisport-progress-complete .webisport-progress-fill {
    background: var(--ws-success);
}

.webisport-dashboard .webisport-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--ws-text-muted);
    margin-top: 4px;
    line-height: 1;
}

.webisport-dashboard .webisport-progress-inline {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-1);
}

.webisport-dashboard .webisport-progress-bar-mini {
    width: 100%;
    height: 4px;
    background: var(--ws-gray-100);
    border-radius: var(--ws-radius-full);
    overflow: hidden;
}

.webisport-dashboard .webisport-progress-bar-mini .webisport-progress-fill {
    height: 100%;
    border-radius: inherit;
    transition: width var(--ws-transition-slow);
}

.webisport-dashboard .webisport-progress-bar-mini .webisport-progress-fill.webisport-progress-primary {
    background: var(--ws-primary);
}

.webisport-dashboard .webisport-progress-bar-mini .webisport-progress-fill.webisport-progress-success {
    background: var(--ws-success);
}

.webisport-dashboard .webisport-progress-bar-mini .webisport-progress-fill.webisport-progress-warning {
    background: var(--ws-warning, #ff9f43);
}

.webisport-dashboard .webisport-progress-bar-mini .webisport-progress-fill.webisport-progress-danger {
    background: var(--ws-danger);
}

.webisport-dashboard .webisport-table td .webisport-progress-bar {
    min-width: 100px;
}

/* ================================================
   Grid Layouts
   ================================================ */

.webisport-dashboard .webisport-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ws-space-6);
}

.webisport-dashboard .webisport-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ws-space-6);
    margin-bottom: var(--ws-space-6);
}

@media (max-width: 992px) {
    .webisport-dashboard .webisport-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   Tables
   ================================================ */

.webisport-dashboard .webisport-table-wrapper {
    overflow-x: auto;
}

.webisport-dashboard .webisport-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.webisport-dashboard .webisport-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.webisport-dashboard .webisport-table th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-weight: 500;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #444050;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(47, 43, 61, 0.12);
    border-bottom: 1px solid rgba(47, 43, 61, 0.12);
    white-space: nowrap;
}

.webisport-dashboard .webisport-table th:first-child {
    padding-left: 1.5rem;
}

.webisport-dashboard .webisport-table th:last-child {
    padding-right: 1.5rem;
}

.webisport-dashboard .webisport-table tbody tr {
    background: #fff;
    transition: background var(--ws-transition-fast);
}

.webisport-dashboard .webisport-table tbody tr:nth-child(even) {
    background: #fff;
}

.webisport-dashboard .webisport-table tbody tr:hover {
    background: rgba(47, 43, 61, 0.06);
}

.webisport-dashboard .webisport-table td {
    padding: 0.782rem 1.25rem;
    border: none;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
    color: #6d6b77;
    font-size: 0.9375rem;
    vertical-align: middle;
}

.webisport-dashboard .webisport-table td:first-child {
    padding-left: 1.5rem;
}

.webisport-dashboard .webisport-table td:last-child {
    padding-right: 1.5rem;
}

.webisport-dashboard .webisport-table tbody tr:last-child td {
    border-bottom: 0;
}

.webisport-dashboard .webisport-table tfoot td {
    padding: 0.875rem 1.25rem;
    border-top: 2px solid var(--ws-border-light, #e5e7eb);
    background: var(--ws-bg-subtle, #f8f7fa);
    vertical-align: top;
    font-size: 0.875rem;
    color: var(--ws-text, #2f2b3d);
}

.webisport-dashboard .webisport-table-totals-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.webisport-dashboard .webisport-table-totals-title {
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ws-text-secondary, #444050);
}

.webisport-dashboard .webisport-table-totals-meta,
.webisport-dashboard .webisport-table-totals-note {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--ws-text-muted, #6d6b77);
}

.webisport-dashboard .webisport-table-totals-amount strong {
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.webisport-dashboard .webisport-table-empty {
    text-align: center;
    color: #97959e;
    padding: 64px var(--ws-space-5) !important;
    font-size: 14px;
    background: transparent !important;
}

/* Sortable Headers */
.webisport-dashboard .webisport-table-sortable th.webisport-sortable {
    cursor: pointer;
    user-select: none;
}

.webisport-dashboard .webisport-table-sortable th.webisport-sortable:hover {
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-table-sortable th.webisport-sortable .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-left: var(--ws-space-1);
    opacity: 0.35;
    color: #6d6b77;
}

.webisport-dashboard .webisport-table-sortable th.webisport-sorted {
    color: #444050;
}

.webisport-dashboard .webisport-table-sortable th.webisport-sorted .dashicons {
    opacity: 1;
    color: var(--ws-primary-ink);
}

/* Table row selection */
.webisport-dashboard .webisport-table tbody tr.selected {
    background: rgba(var(--ws-primary-rgb), 0.08);
}

/* Table actions column */
.webisport-dashboard .webisport-table .webisport-table-actions {
    white-space: nowrap;
    text-align: right;
}

.webisport-dashboard .webisport-table .webisport-table-actions .webisport-btn-icon {
    opacity: 0.65;
    color: #6d6b77;
    background: transparent;
}

.webisport-dashboard .webisport-table tbody tr:hover .webisport-table-actions .webisport-btn-icon {
    opacity: 1;
}

/* ================================================
   Buttons
   ================================================ */

.webisport-dashboard .webisport-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4812rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--ws-transition);
    line-height: 1.2;
}

.webisport-dashboard .webisport-btn-primary {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: var(--ws-on-primary);
    box-shadow: 0 0.125rem 0.375rem var(--ws-primary-shadow);
}

.webisport-dashboard .webisport-btn-primary:hover,
.webisport-dashboard .webisport-btn-primary:focus {
    background: var(--ws-primary-dark);
    border-color: var(--ws-primary-dark);
    color: var(--ws-on-primary);
    box-shadow: 0 0.1875rem 0.5rem var(--ws-primary-shadow-md);
}

.webisport-dashboard .webisport-btn-secondary {
    background: #808390;
    border-color: #808390;
    color: #fff;
}

.webisport-dashboard .webisport-btn-secondary:hover,
.webisport-dashboard .webisport-btn-secondary:focus {
    background: #6e7180;
    border-color: #6e7180;
    color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(128, 131, 144, 0.3);
}

.webisport-dashboard .webisport-btn-outline-secondary {
    background: transparent;
    border-color: #808390;
    color: #808390;
}

.webisport-dashboard .webisport-btn-outline-secondary:hover,
.webisport-dashboard .webisport-btn-outline-secondary:focus {
    background: #808390;
    color: #fff;
}

.webisport-dashboard .webisport-btn-danger {
    background: #ff4c51;
    border-color: #ff4c51;
    color: #fff;
}

.webisport-dashboard .webisport-btn-danger:hover,
.webisport-dashboard .webisport-btn-danger:focus {
    background: #e6353b;
    border-color: #e6353b;
    color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(255, 76, 81, 0.3);
}

.webisport-dashboard .webisport-btn-success {
    background: #28c76f;
    border-color: #28c76f;
    color: #fff;
}

.webisport-dashboard .webisport-btn-success:hover,
.webisport-dashboard .webisport-btn-success:focus {
    background: #1f9b56;
    border-color: #1f9b56;
    color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(40, 199, 111, 0.3);
}

.webisport-dashboard .webisport-btn-warning {
    background: #ff9f43;
    border-color: #ff9f43;
    color: #fff;
}

.webisport-dashboard .webisport-btn-warning:hover,
.webisport-dashboard .webisport-btn-warning:focus {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(255, 159, 67, 0.3);
}

.webisport-dashboard .webisport-btn-info {
    background: #00bad1;
    border-color: #00bad1;
    color: #fff;
}

.webisport-dashboard .webisport-btn-info:hover,
.webisport-dashboard .webisport-btn-info:focus {
    background: #0097aa;
    border-color: #0097aa;
    color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 186, 209, 0.3);
}

.webisport-dashboard .webisport-btn-small {
    padding: 0.317rem 0.875rem;
    font-size: 13px;
}

.webisport-dashboard .webisport-btn:active {
    transform: scale(0.98);
}

.webisport-dashboard .webisport-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.webisport-dashboard .webisport-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Icon Button */
.webisport-dashboard .webisport-btn-icon {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--ws-text-muted);
    cursor: pointer;
    transition: all var(--ws-transition);
}

.webisport-dashboard .webisport-btn-icon:hover {
    background: rgba(var(--ws-primary-rgb), 0.12);
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-btn-icon .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Table row actions dropdown (Vuexy three-dot menu) */
.webisport-dashboard .webisport-table-actions-menu {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
}

.webisport-dashboard .webisport-table td:last-child .webisport-table-actions-menu,
.webisport-dashboard .webisport-table th:last-child {
    text-align: left;
}

.webisport-dashboard .webisport-table-actions-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: var(--ws-radius-full);
    background: transparent;
    color: var(--ws-text-muted);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.webisport-dashboard .webisport-table-actions-trigger:hover,
.webisport-dashboard .webisport-table-actions-menu.is-open .webisport-table-actions-trigger {
    background: transparent;
    color: var(--ws-text);
}

.webisport-dashboard .webisport-table-actions-trigger-icon {
    width: 1.375rem;
    height: 1.375rem;
    flex-shrink: 0;
    color: inherit;
}

.webisport-dashboard .webisport-table-actions-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    z-index: 30;
    display: none;
    min-width: 11rem;
    padding: 0.5rem;
    margin: 0;
    list-style: none;
    background: var(--ws-white);
    border: none;
    border-radius: var(--ws-radius-md);
    box-shadow: var(--ws-shadow-md);
}

.webisport-dashboard .webisport-table-actions-menu.is-open .webisport-table-actions-dropdown {
    display: block;
}

.webisport-dashboard .webisport-table-actions-menu.is-fixed .webisport-table-actions-dropdown {
    position: fixed;
    top: auto;
    right: auto;
    z-index: 1200;
}

.webisport-dashboard .webisport-table-actions-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.543rem 1rem;
    border: none;
    border-radius: var(--ws-radius-md);
    background: transparent;
    background-image: none;
    box-shadow: none;
    color: var(--ws-text);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.webisport-dashboard .webisport-table-actions-item+.webisport-table-actions-item {
    margin-top: 2px;
}

.webisport-dashboard .webisport-table-actions-item:hover,
.webisport-dashboard .webisport-table-actions-item:focus-visible {
    background: rgba(var(--ws-primary-rgb), 0.08);
    color: var(--ws-primary-ink);
    outline: none;
    box-shadow: none;
}

.webisport-dashboard .webisport-table-actions-item-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    color: inherit;
}

.webisport-dashboard .webisport-table-actions-item-danger {
    color: var(--ws-danger, #ff4c51);
}

.webisport-dashboard .webisport-table-actions-item-danger:hover,
.webisport-dashboard .webisport-table-actions-item-danger:focus-visible {
    background: rgba(255, 76, 81, 0.08);
    color: var(--ws-danger, #ff4c51);
}

.webisport-dashboard .webisport-table .webisport-table-actions {
    display: flex;
    justify-content: flex-end;
}

.webisport-dashboard .footclub-select-col {
    width: 2.75rem;
    text-align: center;
}

/* Force native checkbox rendering — beats the global input reset in base.css
   (background-color: transparent) and any theme/WP front-end checkbox styling
   that would otherwise make these table checkboxes invisible. */
.webisport-dashboard .footclub-member-select,
.webisport-dashboard .footclub-member-select-all,
.webisport-dashboard .memberships-subcategory-select,
.webisport-dashboard .memberships-subcategory-select-all,
.webisport-dashboard .memberships-installment-select,
.webisport-dashboard .memberships-installment-select-all {
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    display: inline-block;
    flex: 0 0 auto;
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem;
    min-height: 1rem;
    margin: 0;
    padding: 0;
    background-color: #fff;
    accent-color: var(--ws-primary);
    cursor: pointer;
    opacity: 1;
    visibility: visible;
}

.webisport-dashboard .footclub-bulk-toolbar {
    display: flex;
    align-items: center;
    gap: var(--ws-space-3);
    flex-wrap: wrap;
    padding: var(--ws-space-4);
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .footclub-bulk-toolbar .webisport-input {
    max-width: 16rem;
}

.webisport-dashboard .footclub-bulk-count {
    font-weight: 600;
    color: var(--ws-text);
}

/* ================================================
   Badges
   ================================================ */

.webisport-dashboard .webisport-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4235em 0.77em;
    font-size: 0.8667em;
    font-weight: 500;
    border-radius: 0.125rem;
}

.webisport-dashboard .webisport-stripe-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.375rem;
    padding: 0.125rem 0.4375rem;
    border-radius: 0.25rem;
    background: #635bff;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: lowercase;
    vertical-align: middle;
    white-space: nowrap;
}

.webisport-dashboard .webisport-badge-default,
.webisport-dashboard .webisport-badge-neutral {
    background: var(--ws-bg);
    color: var(--ws-text-muted);
}

.webisport-dashboard .webisport-badge-primary {
    background: var(--ws-primary-alpha-16);
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-badge-success {
    background: rgba(40, 199, 111, 0.16);
    color: #28c76f;
}

.webisport-dashboard .webisport-badge-warning {
    background: rgba(255, 159, 67, 0.16);
    color: #ff9f43;
}

.webisport-dashboard .webisport-badge-danger {
    background: rgba(255, 76, 81, 0.16);
    color: #ff4c51;
}

.webisport-dashboard .webisport-badge-info {
    background: rgba(0, 186, 209, 0.16);
    color: #00bad1;
}

/* Count Badge */
.webisport-dashboard .webisport-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    background: var(--ws-gray-200);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-muted);
}

/* ================================================
   Empty State
   ================================================ */

.webisport-dashboard .webisport-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px var(--ws-space-6);
    text-align: center;
}

.webisport-dashboard .webisport-empty-icon {
    width: 64px;
    height: 64px;
    background: var(--ws-bg);
    border-radius: var(--ws-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--ws-space-4);
}

.webisport-dashboard .webisport-empty-icon .dashicons,
.webisport-dashboard .webisport-empty-icon .ti {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #6d6b77;
}

/* ================================================
   Numbered modal sections (licence, publications, …)
   Legacy `.pr-section*` class names remain supported.
   ================================================ */

.webisport-dashboard .webisport-form-section,
.webisport-dashboard .pr-section {
    border-top: 1px solid var(--webisport-border, #e5e7eb);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.webisport-dashboard .webisport-form-section:first-of-type,
.webisport-dashboard .pr-section:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.webisport-dashboard .webisport-form-section-header,
.webisport-dashboard .pr-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.webisport-dashboard .webisport-form-section-number,
.webisport-dashboard .pr-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--ws-primary, var(--webisport-primary));
    color: var(--ws-on-primary);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.webisport-dashboard .webisport-form-section-title,
.webisport-dashboard .pr-section-title {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--webisport-text-muted, #6b7280);
}

.webisport-dashboard .webisport-form-section-body,
.webisport-dashboard .pr-section-body {
    padding-left: clamp(0rem, 2vw + 0.35rem, 1.35rem);
}

@media (min-width: 640px) {
    .webisport-dashboard .webisport-form-section-body,
    .webisport-dashboard .pr-section-body {
        padding-left: 1.6rem;
    }
}

.webisport-dashboard .webisport-field-hint,
.webisport-dashboard .pr-field-hint {
    display: block;
    margin: 0 0 0.75rem 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6d6b77;
    max-width: 62ch;
}

/* ================================================
   Search Modal — Results List (shared)
   ================================================ */

.webisport-dashboard .webisport-search-results {
    max-height: min(22rem, 50vh);
    overflow-y: auto;
    border: 1px solid var(--ws-form-border, #d1d5db);
    border-radius: 0.375rem;
    background: #fff;
}

.webisport-dashboard .webisport-search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    color: #6d6b77;
    text-align: center;
}

.webisport-dashboard .webisport-search-placeholder .dashicons,
.webisport-dashboard .webisport-search-placeholder .ti {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

.webisport-dashboard .webisport-search-placeholder p {
    margin: 0;
    font-size: 0.875rem;
}

.webisport-dashboard .webisport-search-results-list {
    display: flex;
    flex-direction: column;
}

.webisport-dashboard .webisport-search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.875rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
    gap: 0.75rem;
    transition: background 0.12s;
}

.webisport-dashboard .webisport-search-result-item:last-child {
    border-bottom: none;
}

.webisport-dashboard .webisport-search-result-item:hover {
    background: var(--ws-bg-light, #f8f7fa);
}

.webisport-dashboard .webisport-search-result-item.webisport-already-linked {
    opacity: 0.65;
    background: var(--webisport-surface-muted, #f9fafb);
}

.webisport-dashboard .webisport-search-result-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.webisport-dashboard .webisport-search-result-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #444050;
    line-height: 1.35;
}

.webisport-dashboard .webisport-search-result-meta {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #6d6b77;
}

.webisport-dashboard .webisport-search-result-user {
    flex-wrap: nowrap;
    align-items: center;
}

.webisport-dashboard .webisport-search-result-user > div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.webisport-dashboard .webisport-search-result-user .webisport-user-avatar,
.webisport-dashboard .webisport-search-result-user .webisport-user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.webisport-dashboard .webisport-search-result-user .webisport-user-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-bg-light);
}

.webisport-dashboard .webisport-badge-small {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
}

/* ================================================
   Link picker modal (group ↔ competition)
   ================================================ */

.webisport-dashboard .webisport-link-modal-context {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: var(--ws-space-4);
    padding: var(--ws-space-3) var(--ws-space-4);
    background: rgba(var(--ws-primary-rgb), 0.06);
    border: 1px solid rgba(var(--ws-primary-border-rgb), 0.14);
    border-radius: var(--ws-radius);
}

.webisport-dashboard .webisport-link-modal-context[hidden] {
    display: none !important;
}

.webisport-dashboard .webisport-link-modal-context-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6d6b77;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.webisport-dashboard .webisport-link-modal-context-title {
    font-size: 0.975rem;
    font-weight: 600;
    color: #444050;
    line-height: 1.35;
}

.webisport-dashboard .webisport-link-modal-context-meta {
    font-size: 0.75rem;
    color: #6d6b77;
    line-height: 1.4;
}

.webisport-dashboard .webisport-link-modal-hint {
    margin: 0 0 var(--ws-space-4) 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6d6b77;
    max-width: 62ch;
}

.webisport-dashboard .webisport-link-modal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--ws-space-3);
    margin-bottom: var(--ws-space-3);
}

.webisport-dashboard .webisport-link-modal-search-field {
    flex: 1 1 16rem;
    margin-bottom: 0;
    min-width: 0;
}

.webisport-dashboard .webisport-link-modal-scope {
    margin-left: 0;
    flex: 0 0 auto;
}

.webisport-dashboard .webisport-link-modal-scope button {
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
}

.webisport-dashboard .webisport-link-modal-count {
    margin: 0 0 var(--ws-space-2) 0;
    font-size: 0.75rem;
    color: #6d6b77;
}

.webisport-dashboard .webisport-link-modal-result-main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.webisport-dashboard #webisport-competitions-assign-modal .webisport-search-results,
.webisport-dashboard #webisport-group-attach-competition-modal .webisport-search-results {
    max-height: min(26rem, 55vh);
}

.webisport-dashboard .webisport-empty-message {
    color: #6d6b77;
    margin-bottom: var(--ws-space-4);
}

/* ================================================
   Filter Bar & Search
   ================================================ */

.webisport-dashboard .webisport-filter-card {
    margin-bottom: var(--ws-space-6);
}

.webisport-dashboard .webisport-filter-card .webisport-card-header {
    padding-bottom: 0.75rem;
    gap: var(--ws-space-4);
}

.webisport-dashboard .webisport-filter-card .webisport-card-actions {
    flex-shrink: 0;
}

.webisport-dashboard .webisport-filter-card .webisport-card-body {
    padding-top: 0.75rem;
}

.webisport-dashboard .webisport-filter-card__hint {
    flex: 1 0 100%;
    margin: 0 0 var(--ws-space-3);
    font-size: 0.8125rem;
    color: var(--ws-text-secondary);
    line-height: 1.45;
    max-width: 52rem;
}

.webisport-dashboard .webisport-filter-bar {
    display: flex;
    gap: var(--ws-space-3);
    margin-bottom: 0;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
}

.webisport-dashboard .webisport-search-input {
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 320px;
}

.webisport-dashboard .webisport-filter-select {
    flex: 0 1 auto;
    min-width: 160px;
    max-width: 200px;
}

/* Multi-select filter (checkbox dropdown) */
.webisport-dashboard .webisport-filter-multiselect {
    position: relative;
    flex: 0 1 auto;
    min-width: 160px;
    max-width: 220px;
}

.webisport-dashboard .webisport-filter-multiselect-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: var(--ws-control-height);
    width: 100%;
    padding: var(--ws-control-padding-y) var(--ws-control-padding-x);
    padding-right: 2.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
    border: 1px solid var(--ws-form-border);
    border-radius: 0.375rem;
    background-color: transparent;
    color: #444050;
    appearance: none;
    cursor: pointer;
    box-shadow: none;
    transition: none;
}

.webisport-dashboard .webisport-filter-multiselect-trigger:hover {
    border-color: var(--ws-form-border-hover);
    color: #444050;
    background-color: transparent;
}

.webisport-dashboard .webisport-filter-multiselect-trigger:active,
.webisport-dashboard .webisport-filter-multiselect-trigger:focus,
.webisport-dashboard .webisport-filter-multiselect-trigger:focus-visible {
    color: #444050;
    background-color: transparent;
    box-shadow: none;
    transform: none;
}

.webisport-dashboard .webisport-filter-multiselect.has-value .webisport-filter-multiselect-trigger {
    border-color: var(--ws-form-border);
    background-color: transparent;
    color: #444050;
}

.webisport-dashboard .webisport-filter-multiselect.is-open .webisport-filter-multiselect-trigger {
    outline: none;
    border: 2px solid var(--ws-primary-border);
    padding: calc(var(--ws-control-padding-y) - 1px) calc(var(--ws-control-padding-x) - 1px);
    padding-right: calc(2.25rem - 1px);
    box-shadow: 0 0.125rem 0.375rem 0 var(--ws-primary-shadow);
    color: #444050;
    background-color: transparent;
}

.webisport-dashboard .webisport-filter-multiselect-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.webisport-dashboard .webisport-filter-multiselect-count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--ws-primary);
    color: var(--ws-on-primary);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
}

.webisport-dashboard .webisport-filter-multiselect-count[hidden] {
    display: none !important;
}

.webisport-dashboard .webisport-filter-multiselect-caret {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    width: 1.1rem;
    height: 1.2rem;
    transform: translateY(-50%);
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.1rem 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22' fill='none'%3E%3Cpath d='M10.9999 12.0743L15.5374 7.53676L16.8336 8.83292L10.9999 14.6666L5.16626 8.83292L6.46243 7.53676L10.9999 12.0743Z' fill='%232f2b3d' fill-opacity='0.85'/%3E%3C/svg%3E");
    transition: none;
}

.webisport-dashboard .webisport-filter-multiselect.is-open .webisport-filter-multiselect-caret {
    transform: translateY(-50%) rotate(180deg);
}

.webisport-dashboard .webisport-filter-multiselect-panel {
    display: none;
    position: absolute;
    z-index: 60;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-width: 300px;
    max-height: min(18rem, 60vh);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ws-form-border);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.25rem rgba(47, 43, 61, 0.16);
    padding: 0;
}

.webisport-dashboard .webisport-filter-multiselect.is-open .webisport-filter-multiselect-panel {
    display: block;
}

/* Fixed positioning escapes the filter card overflow clipping. */
.webisport-dashboard .webisport-filter-multiselect.is-fixed .webisport-filter-multiselect-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    min-width: 0;
    z-index: 1200;
}

/* Portaled panel (appended under .webisport-dashboard) stays above modals. */
.webisport-dashboard > .webisport-filter-multiselect-panel.is-portaled {
    display: block;
    z-index: 1300;
}

.webisport-dashboard .webisport-filter-multiselect-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-top: 1px solid rgba(47, 43, 61, 0.08);
    background: #fff;
}

.webisport-dashboard .webisport-filter-multiselect-clear {
    min-height: 0;
    padding: 0.15rem 0;
    border: none;
    background: transparent;
    color: var(--ws-text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
}

.webisport-dashboard .webisport-filter-multiselect-clear:hover {
    color: var(--ws-text-secondary);
    background: transparent;
    box-shadow: none;
}

.webisport-dashboard .webisport-filter-multiselect-apply {
    flex-shrink: 0;
    margin-left: auto;
}

.webisport-dashboard .webisport-filter-multiselect-options {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    max-height: min(15rem, 52vh);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.webisport-dashboard .webisport-filter-multiselect-option label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #444050;
    line-height: 1.35;
    user-select: none;
}

.webisport-dashboard .webisport-filter-multiselect-option label:hover {
    background: rgba(47, 43, 61, 0.04);
}

.webisport-dashboard .webisport-filter-multiselect-option.is-selected label {
    background: rgba(115, 103, 240, 0.08);
    color: #2f2b3d;
}

.webisport-dashboard .webisport-filter-multiselect-option input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    accent-color: var(--ws-primary);
}

.webisport-dashboard .webisport-filter-multiselect-option span {
    word-break: break-word;
}

/* Date Range Filter */
.webisport-dashboard .webisport-date-range-filter {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    flex: 0 1 auto;
}

.webisport-dashboard .webisport-date-range-filter .webisport-filter-input {
    min-width: 140px;
    max-width: 160px;
}

.webisport-dashboard .webisport-date-separator {
    color: var(--ws-text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* View Toggle */
.webisport-dashboard .webisport-view-toggle {
    display: flex;
    gap: 2px;
    margin-left: auto;
    background: var(--ws-bg);
    border-radius: var(--ws-radius);
    padding: 3px;
}

.webisport-dashboard .webisport-view-toggle button {
    padding: 6px 10px;
    border: none;
    background: transparent;
    border-radius: var(--ws-radius-sm);
    cursor: pointer;
    color: var(--ws-text-muted);
    transition: all var(--ws-transition);
}

.webisport-dashboard .webisport-view-toggle button:hover {
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-view-toggle button.active {
    background: var(--ws-bg-light);
    color: var(--ws-primary-ink);
    box-shadow: var(--ws-shadow-sm);
}

.webisport-dashboard .webisport-view-toggle .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* In the filter card header the toggle sits among the other view controls,
   so the auto margin that right-aligns it inside a filter bar must go. */
.webisport-dashboard .webisport-card-actions .webisport-view-toggle {
    margin-left: 0;
}

/* Views owning their own period navigation (calendar) hide the tab strip. */
.webisport-dashboard .webisport-nav-pills.is-hidden {
    display: none;
}

/* Filter bar groups */
.webisport-dashboard .webisport-filter-bar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ws-space-3);
    flex: 1;
}

.webisport-dashboard .webisport-filter-bar-right {
    display: flex;
    align-items: center;
    gap: var(--ws-space-3);
    margin-left: auto;
}

/* ================================================
   Advanced Table Toolbar (per-page, views, columns, reset, chips)
   ================================================ */

.webisport-dashboard .webisport-filter-card .webisport-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ws-space-2);
}

.webisport-dashboard .webisport-per-page {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-space-2);
}

.webisport-dashboard .webisport-per-page-label {
    font-size: 0.8125rem;
    color: var(--ws-text-secondary);
    white-space: nowrap;
}

.webisport-dashboard .webisport-per-page-select {
    min-width: 72px;
}

.webisport-dashboard .webisport-views,
.webisport-dashboard .webisport-column-chooser {
    position: relative;
    display: inline-flex;
}

.webisport-dashboard .webisport-views-dropdown,
.webisport-dashboard .webisport-column-chooser-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 60;
    min-width: 240px;
    padding: var(--ws-space-2);
    background: var(--ws-bg-light, #fff);
    border: 1px solid var(--ws-border, #e5e7eb);
    border-radius: var(--ws-radius);
    box-shadow: var(--ws-shadow);
}

.webisport-dashboard .webisport-views-dropdown {
    max-height: 360px;
    overflow-y: auto;
}

.webisport-dashboard .webisport-column-chooser-list {
    max-height: min(60vh, 22rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-bottom: var(--ws-space-2);
}

.webisport-dashboard .webisport-views.is-open .webisport-views-dropdown,
.webisport-dashboard .webisport-column-chooser.is-open .webisport-column-chooser-dropdown {
    display: block;
}

/* Fixed positioning escapes the filter card's overflow clipping. */
.webisport-dashboard .webisport-views.is-fixed .webisport-views-dropdown,
.webisport-dashboard .webisport-column-chooser.is-fixed .webisport-column-chooser-dropdown {
    position: fixed;
    top: auto;
    right: auto;
    z-index: 1200;
}

.webisport-dashboard .webisport-views-item {
    display: flex;
    align-items: center;
    gap: 2px;
    border-radius: var(--ws-radius-sm);
}

.webisport-dashboard .webisport-views-item:hover {
    background: var(--ws-bg);
}

.webisport-dashboard .webisport-views-apply {
    flex: 1 1 auto;
    text-align: left;
    border: none;
    background: transparent;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--ws-text);
    font-size: 0.8125rem;
}

.webisport-dashboard .webisport-views-default,
.webisport-dashboard .webisport-views-delete {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ws-text-muted);
    padding: 4px;
    line-height: 1;
}

.webisport-dashboard .webisport-views-default.is-default {
    color: var(--ws-warning, #f59e0b);
}

.webisport-dashboard .webisport-views-delete:hover {
    color: var(--ws-danger, #ef4444);
}

.webisport-dashboard .webisport-views-empty {
    padding: 8px;
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
}

.webisport-dashboard .webisport-views-save {
    width: 100%;
    margin-top: var(--ws-space-2);
}

.webisport-dashboard .webisport-column-chooser-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ws-space-2);
    padding: 4px 6px;
    border-radius: var(--ws-radius-sm);
}

.webisport-dashboard .webisport-column-chooser-item:hover {
    background: var(--ws-bg);
}

.webisport-dashboard .webisport-column-chooser-toggle {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-2);
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.3;
    cursor: pointer;
}

.webisport-dashboard .webisport-column-chooser-toggle input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    min-height: 0;
    margin: 0;
    margin-top: 0.0625rem;
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
}

.webisport-dashboard .webisport-column-chooser-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    padding-top: 0.0625rem;
}

.webisport-dashboard .webisport-column-chooser-move {
    display: inline-flex;
    gap: 2px;
    flex: 0 0 auto;
}

.webisport-dashboard .webisport-column-chooser-move button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ws-text-muted);
    padding: 2px;
    line-height: 1;
    min-height: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.webisport-dashboard .webisport-column-chooser-move button .dashicons {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
}

.webisport-dashboard .webisport-column-chooser-move button:disabled {
    opacity: 0.35;
    cursor: default;
}

.webisport-dashboard .webisport-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ws-space-2);
    width: 100%;
    margin-top: var(--ws-space-3);
    padding-top: var(--ws-space-3);
    border-top: 1px solid var(--ws-border, #e5e7eb);
}

.webisport-dashboard .webisport-active-filters-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ws-text-muted);
    margin-right: var(--ws-space-1);
}

.webisport-dashboard .webisport-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.25rem 0.25rem 0.625rem;
    background: var(--ws-primary-soft, rgba(105, 108, 255, 0.08));
    border: 1px solid var(--ws-primary-border-soft, rgba(105, 108, 255, 0.22));
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--ws-primary-ink, #696cff);
    max-width: 18rem;
}

.webisport-dashboard .webisport-filter-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webisport-dashboard .webisport-filter-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: background var(--ws-transition), opacity var(--ws-transition);
}

.webisport-dashboard .webisport-filter-chip-remove:hover {
    opacity: 1;
    background: var(--ws-primary, #696cff);
    color: var(--ws-on-primary, #fff);
}

.webisport-dashboard .webisport-filter-chip-remove .dashicons {
    font-size: 0.875rem;
    width: 0.875rem;
    height: 0.875rem;
    line-height: 0.875rem;
}

.webisport-dashboard .webisport-active-filters-clear {
    margin-left: auto;
    min-height: 0;
    padding: 0.25rem 0.375rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--ws-text-muted);
    text-decoration: underline;
}

.webisport-dashboard .webisport-active-filters-clear:hover {
    color: var(--ws-danger, #ef4444);
}

/* ================================================
   Responsive Filter Bar
   ================================================ */

@media (max-width: 768px) {
    .webisport-dashboard .webisport-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .webisport-dashboard .webisport-search-input,
    .webisport-dashboard .webisport-filter-select {
        max-width: none;
        width: 100%;
    }

    .webisport-dashboard .webisport-filter-multiselect {
        max-width: none;
        width: 100%;
    }

    .webisport-dashboard .webisport-filter-multiselect-panel {
        max-width: none;
        width: 100%;
    }

    .webisport-dashboard .webisport-date-range-filter {
        width: 100%;
        justify-content: stretch;
    }

    .webisport-dashboard .webisport-date-range-filter .webisport-filter-input {
        flex: 1;
        max-width: none;
        min-width: 0;
    }

    .webisport-dashboard .webisport-view-toggle {
        margin-left: 0;
        justify-content: center;
    }

    .webisport-dashboard .webisport-filter-bar-left,
    .webisport-dashboard .webisport-filter-bar-right {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   Pagination
   ================================================ */

.webisport-dashboard .webisport-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ws-space-4) 0;
    margin-top: var(--ws-space-4);
}

.webisport-dashboard .webisport-pagination-info {
    font-size: 14px;
    color: var(--ws-text-muted);
}

.webisport-dashboard .webisport-pagination-controls {
    display: flex;
    align-items: center;
    gap: var(--ws-space-4);
}

.webisport-dashboard .webisport-pagination-buttons {
    display: flex;
    gap: var(--ws-space-2);
}

.webisport-dashboard .webisport-pagination .webisport-per-page {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-space-2);
}

.webisport-dashboard .webisport-pagination .webisport-per-page-label {
    font-size: 0.8125rem;
    color: var(--ws-text-muted);
    white-space: nowrap;
}

.webisport-dashboard .webisport-pagination .webisport-per-page-select {
    width: auto;
    min-width: 4rem;
    padding: 0.25rem 1.75rem 0.25rem 0.625rem;
    border: 1px solid var(--ws-border, #e5e7eb);
    border-radius: var(--ws-radius-sm);
    background-color: var(--ws-bg-light, #fff);
    font-size: 0.8125rem;
    height: auto;
}

.webisport-dashboard .webisport-pagination-buttons .webisport-btn,
.webisport-dashboard .webisport-pagination .webisport-btn,
.webisport-dashboard .webisport-pagination button {
    /* Prev/next use text labels ("Précédent" / "Suivant") — do not force circular page-number sizing. */
    border-radius: var(--ws-radius-sm, 0.375rem);
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0.375rem 0.75rem;
    margin: 0;
    background: #eeeeef;
    border: none;
    color: #444050;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all var(--ws-transition);
}

/* Icon-only pagination controls (legacy arrow buttons) keep a compact square hit target. */
.webisport-dashboard .webisport-pagination-buttons button:has(> .dashicons:only-child),
.webisport-dashboard .webisport-pagination-buttons .webisport-btn:has(> .dashicons:only-child) {
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    padding: 0;
}

.webisport-dashboard .webisport-pagination .active,
.webisport-dashboard .webisport-pagination .webisport-btn-primary {
    background: var(--ws-primary);
    color: var(--ws-on-primary);
    box-shadow: 0 0.125rem 0.375rem var(--ws-primary-shadow);
}

.webisport-dashboard .webisport-pagination button:disabled,
.webisport-dashboard .webisport-pagination .webisport-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.webisport-dashboard .webisport-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    color: var(--ws-text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

/* ================================================
   Modals
   ================================================ */

.webisport-dashboard .webisport-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

/* When jQuery shows the modal with fadeIn(), it sets display:block
   We need to override to flex for centering */
.webisport-dashboard .webisport-modal[style*="display: block"],
.webisport-dashboard .webisport-modal[style*="display:block"],
.webisport-dashboard .webisport-modal[style*="display: flex"],
.webisport-dashboard .webisport-modal[style*="display:flex"],
.webisport-dashboard .webisport-modal.active {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.webisport-dashboard .webisport-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(151, 149, 158, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.webisport-dashboard .webisport-modal-content {
    position: relative;
    z-index: 2;
    background: var(--ws-bg-light);
    border-radius: 0.5rem;
    box-shadow: var(--bs-box-shadow-lg);
    border: none;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    margin: var(--ws-space-4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-100px) scale(0.8);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.webisport-dashboard .webisport-modal[style*="display: block"] .webisport-modal-content,
.webisport-dashboard .webisport-modal[style*="display:block"] .webisport-modal-content,
.webisport-dashboard .webisport-modal[style*="display: flex"] .webisport-modal-content,
.webisport-dashboard .webisport-modal[style*="display:flex"] .webisport-modal-content,
.webisport-dashboard .webisport-modal.active .webisport-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.webisport-dashboard .webisport-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 0;
}

.webisport-dashboard .webisport-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #444050;
    margin: 0;
}

.webisport-dashboard .webisport-modal-close {
    background: #fff;
    border: none;
    font-size: 24px;
    color: var(--ws-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 9999px;
    box-shadow: 0 0.125rem 0.5rem rgba(47, 43, 61, 0.2);
    transition: color var(--ws-transition);
}

.webisport-dashboard .webisport-modal-close:hover {
    color: var(--ws-text);
}

.webisport-dashboard .webisport-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.webisport-dashboard .webisport-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--ws-space-3);
    padding: 1.5rem;
    border-top: 0;
    background: transparent;
}

body.webisport-modal-open {
    overflow: hidden;
}

.webisport-dashboard .webisport-modal-form-error {
    position: sticky;
    top: 0;
    z-index: 3;
    display: none;
    align-items: flex-start;
    gap: 0.625rem;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 76, 81, 0.45);
    background: rgba(255, 76, 81, 0.14);
    box-shadow: 0 2px 10px rgba(255, 76, 81, 0.15);
    color: var(--ws-danger-dark, #b42318);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
}

.webisport-dashboard .webisport-modal-form-error.is-visible {
    display: flex;
}

.webisport-dashboard .webisport-modal-form-error-icon {
    flex: 0 0 auto;
    margin-top: 0.05rem;
    color: var(--ws-danger, #ff4c51);
}

.webisport-dashboard .webisport-modal-form-error-message {
    min-width: 0;
}

/* Modal Size Variants */
.webisport-dashboard .webisport-modal-content.webisport-modal-small,
.webisport-dashboard .webisport-modal-small .webisport-modal-content {
    max-width: 360px;
}

.webisport-dashboard .webisport-modal-content.webisport-modal-large,
.webisport-dashboard .webisport-modal-large .webisport-modal-content {
    max-width: 800px;
}

/* Modal Danger Header */
.webisport-dashboard .webisport-modal-header-danger {
    background: var(--ws-danger-light);
    border-bottom-color: rgba(255, 76, 81, 0.2);
}

.webisport-dashboard .webisport-modal-header-danger .webisport-modal-title {
    color: var(--ws-danger);
}

.webisport-dashboard .webisport-modal-header-warning {
    background: color-mix(in srgb, var(--ws-warning, #ff9f43) 12%, transparent);
    border-bottom-color: color-mix(in srgb, var(--ws-warning, #ff9f43) 30%, transparent);
}

.webisport-dashboard .webisport-modal-header-warning .webisport-modal-title {
    color: var(--ws-warning, #ff9f43);
}

.webisport-dashboard .webisport-modal.webisport-modal-stacked {
    z-index: 1100;
}

.webisport-dashboard .webisport-warning-confirm {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-3, 0.75rem);
    padding: var(--ws-space-2, 0.5rem) 0;
}

.webisport-dashboard .webisport-warning-confirm > .dashicons {
    flex: 0 0 auto;
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    color: var(--ws-warning, #ff9f43);
    margin-top: 0.125rem;
}

.webisport-dashboard .webisport-warning-confirm-content {
    min-width: 0;
    flex: 1 1 auto;
}

.webisport-dashboard .webisport-warning-confirm-lead {
    margin: 0 0 var(--ws-space-2, 0.5rem);
    color: var(--ws-text);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.webisport-dashboard .webisport-warning-confirm-lead:empty {
    display: none;
}

.webisport-dashboard .webisport-warning-confirm-list {
    margin: 0 0 var(--ws-space-3, 0.75rem);
    padding-left: 1.15rem;
    color: var(--ws-text);
    font-size: 0.875rem;
    line-height: 1.45;
}

.webisport-dashboard .webisport-warning-confirm-list:empty {
    display: none;
}

.webisport-dashboard .webisport-warning-confirm-list li + li {
    margin-top: 0.35rem;
}

.webisport-dashboard .webisport-warning-confirm-hint {
    margin: 0;
    color: var(--ws-text-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.webisport-dashboard .webisport-warning-confirm-hint:empty {
    display: none;
}

/* Delete Confirmation */
.webisport-dashboard .webisport-delete-warning {
    text-align: center;
    padding: var(--ws-space-4) 0;
}

.webisport-dashboard .webisport-delete-warning .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--ws-danger);
    margin-bottom: var(--ws-space-4);
}

.webisport-dashboard .webisport-delete-item-name {
    font-weight: 600;
    color: var(--ws-text);
    font-size: 16px;
    margin-bottom: var(--ws-space-2);
}

.webisport-dashboard .webisport-delete-message {
    color: var(--ws-text-muted);
    font-size: 14px;
}

/* ================================================
   Form Wizard
   ================================================ */

.webisport-dashboard .webisport-wizard-modal {
    z-index: 1050;
}

.webisport-dashboard .webisport-wizard-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Step Indicator */
.webisport-dashboard .webisport-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--ws-space-5) var(--ws-space-6);
    background: var(--ws-bg-subtle);
    border-bottom: 1px solid var(--ws-border);
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.webisport-dashboard .webisport-wizard-step {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    cursor: default;
    opacity: 0.5;
    transition: all var(--ws-transition);
}

.webisport-dashboard .webisport-wizard-step.active {
    opacity: 1;
}

.webisport-dashboard .webisport-wizard-step.completed {
    opacity: 1;
    cursor: pointer;
}

.webisport-dashboard .webisport-wizard-step.completed:hover {
    opacity: 0.8;
}

.webisport-dashboard .webisport-wizard-step-number {
    width: 32px;
    height: 32px;
    border-radius: var(--ws-radius-full);
    background: var(--ws-border);
    color: var(--ws-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--ws-transition);
}

.webisport-dashboard .webisport-wizard-step.active .webisport-wizard-step-number {
    background: linear-gradient(270deg, rgba(var(--ws-primary-rgb), 0.7) 0%, var(--ws-primary) 100%);
    color: var(--ws-on-primary);
    box-shadow: 0 0.125rem 0.375rem var(--ws-primary-shadow);
}

.webisport-dashboard .webisport-wizard-step.completed .webisport-wizard-step-number {
    background: var(--ws-success);
    color: var(--ws-white);
}

.webisport-dashboard .webisport-wizard-step-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ws-text-muted);
    white-space: nowrap;
}

.webisport-dashboard .webisport-wizard-step.active .webisport-wizard-step-label {
    color: var(--ws-text);
}

.webisport-dashboard .webisport-wizard-step.completed .webisport-wizard-step-label {
    color: var(--ws-success);
}

.webisport-dashboard .webisport-wizard-step-connector {
    width: 40px;
    height: 2px;
    background: var(--ws-border);
    margin: 0 var(--ws-space-2);
    flex-shrink: 0;
}

/* Wizard Body */
.webisport-dashboard .webisport-wizard-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.webisport-dashboard .webisport-wizard-form {
    padding: var(--ws-space-6);
}

.webisport-dashboard .webisport-wizard-step-content {
    animation: wizardFadeIn 0.2s ease;
}

@keyframes wizardFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Wizard Footer */
.webisport-dashboard .webisport-wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ws-space-4) var(--ws-space-6);
    border-top: 1px solid var(--ws-border);
    background: var(--ws-bg-subtle);
    flex-shrink: 0;
}

.webisport-dashboard .webisport-wizard-footer-left,
.webisport-dashboard .webisport-wizard-footer-right {
    display: flex;
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-wizard-prev .dashicons,
.webisport-dashboard .webisport-wizard-next .dashicons,
.webisport-dashboard .webisport-wizard-submit .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Wizard Validation */
.webisport-dashboard .webisport-wizard-form .webisport-input.error,
.webisport-dashboard .webisport-wizard-form .webisport-select.error {
    border: 2px solid #ff4c51;
    box-shadow: 0 0.125rem 0.375rem 0 rgba(255, 76, 81, 0.25);
}

.webisport-dashboard .webisport-wizard-form .webisport-field-error {
    color: #ff4c51;
    font-size: 0.8125rem;
}

/* Loading State */
.webisport-dashboard .webisport-wizard-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.webisport-dashboard .webisport-wizard-submit.loading .dashicons {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Wizard */
@media (max-width: 768px) {
    .webisport-dashboard .webisport-wizard-steps {
        padding: var(--ws-space-3);
    }

    .webisport-dashboard .webisport-wizard-step-label {
        display: none;
    }

    .webisport-dashboard .webisport-wizard-step-connector {
        width: 20px;
    }

    .webisport-dashboard .webisport-event-type-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .webisport-dashboard .webisport-event-type-card {
        padding: var(--ws-space-3);
        gap: 10px;
        min-height: auto;
    }

    .webisport-dashboard .webisport-event-type-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .webisport-dashboard .webisport-event-type-icon .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .webisport-dashboard .webisport-event-type-content h4 {
        font-size: 13px;
    }

    .webisport-dashboard .webisport-event-type-content p {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }
}

/* Very small screens */
@media (max-width: 500px) {
    .webisport-dashboard .webisport-event-type-grid {
        grid-template-columns: 1fr;
        gap: var(--ws-space-2);
    }

    .webisport-dashboard .webisport-event-type-content p {
        -webkit-line-clamp: 2;
    }
}

/* ================================================
   Form Elements (Unified Vuexy Style)
   ================================================ */

.webisport-dashboard .webisport-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--ws-space-5);
}

.webisport-dashboard .webisport-form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #444050;
    margin-bottom: 0.25rem;
}

.webisport-dashboard .webisport-form-group>.webisport-form-caption {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #444050;
    margin-bottom: 0.25rem;
    display: block;
}

.webisport-dashboard .webisport-form-group--choice-list {
    margin-bottom: var(--ws-space-5);
}

/*
 * Shared searchable checkbox grid (pricing-rule categories, season-rollover
 * competitions, Footclub subcategory pickers). Legacy `.pr-subcategory-*`
 * class names remain supported as aliases.
 */
.webisport-dashboard .webisport-choice-picker,
.webisport-dashboard .pr-subcategory-picker {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
}

.webisport-dashboard .webisport-choice-filters,
.webisport-dashboard .pr-subcategory-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 0.5rem 0.75rem;
    align-items: center;
}

.webisport-dashboard .webisport-choice-filters--search-only,
.webisport-dashboard .pr-subcategory-filters--search-only {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 640px) {
    .webisport-dashboard .webisport-choice-filters,
    .webisport-dashboard .pr-subcategory-filters {
        grid-template-columns: 1fr;
    }
}

.webisport-dashboard .webisport-choice-search,
.webisport-dashboard .webisport-choice-filter,
.webisport-dashboard .pr-subcategory-search,
.webisport-dashboard .pr-subcategory-discipline-filter {
    min-width: 0;
}

.webisport-dashboard .webisport-choice-no-results,
.webisport-dashboard .pr-subcategory-no-results {
    margin: 0;
}

.webisport-dashboard .webisport-choice-grid,
.webisport-dashboard .pr-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--ws-form-border, #d1d5db);
    border-radius: 0.375rem;
    background: var(--webisport-surface-muted, #f9fafb);
    max-height: min(16rem, 42vh);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .webisport-dashboard .webisport-choice-grid,
    .webisport-dashboard .pr-subcategory-grid {
        grid-template-columns: 1fr;
    }
}

.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-option,
.webisport-dashboard .webisport-form-group--choice-list .pr-subcategory-option {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 !important;
    padding: 0.35rem 0.4rem;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.12s;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.35;
    color: var(--webisport-text, #374151);
}

.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-option:hover,
.webisport-dashboard .webisport-form-group--choice-list .pr-subcategory-option:hover {
    background: rgba(var(--ws-primary-rgb), 0.06);
}

.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-option.is-filtered-out,
.webisport-dashboard .webisport-form-group--choice-list .pr-subcategory-option.is-filtered-out {
    display: none !important;
}

.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-option-label,
.webisport-dashboard .webisport-form-group--choice-list .pr-subcategory-option-label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-option-meta {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #6d6b77;
}

.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-empty,
.webisport-dashboard .webisport-form-group--choice-list .pr-subcategory-empty {
    grid-column: 1 / -1;
    margin: 0;
}

/* Beat WP admin / theme rules (input { width:100% }, min-height, borders, etc.) */
.webisport-dashboard .webisport-form-group--choice-list .webisport-choice-option input[type="checkbox"],
.webisport-dashboard .webisport-form-group--choice-list .pr-subcategory-option input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    display: inline-block;
    flex: 0 0 auto;
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
    margin: 0.125rem 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    accent-color: var(--ws-primary);
    cursor: pointer;
    vertical-align: top;
}

.webisport-dashboard .webisport-form-group .required {
    color: var(--ws-danger);
    margin-left: 2px;
}

.webisport-dashboard .webisport-input,
.webisport-dashboard .webisport-select,
.webisport-dashboard .webisport-textarea,
.webisport-dashboard .webisport-search-input,
.webisport-dashboard .webisport-filter-input,
.webisport-dashboard .webisport-filter-select,
.webisport-dashboard .webisport-date-range-filter .webisport-filter-input {
    min-height: var(--ws-control-height);
    width: 100%;
    padding: var(--ws-control-padding-y) var(--ws-control-padding-x);
    font-size: 0.9375rem;
    line-height: 1.5;
    border: 1px solid var(--ws-form-border);
    border-radius: 0.375rem;
    background-color: transparent;
    color: #444050;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Multiselect is a container — do not inherit native select chrome */
.webisport-dashboard .webisport-filter-multiselect.webisport-filter-select {
    min-height: 0;
    padding: 0;
    border: none;
    background: #e8f1f9;
    appearance: auto;
    background-image: none;
}

.webisport-dashboard .webisport-input:hover,
.webisport-dashboard .webisport-select:hover,
.webisport-dashboard .webisport-textarea:hover,
.webisport-dashboard .webisport-search-input:hover,
.webisport-dashboard .webisport-filter-input:hover,
.webisport-dashboard .webisport-filter-select:hover,
.webisport-dashboard .webisport-date-range-filter .webisport-filter-input:hover {
    border-color: var(--ws-form-border-hover);
}

.webisport-dashboard .webisport-input::placeholder,
.webisport-dashboard .webisport-textarea::placeholder,
.webisport-dashboard .webisport-search-input::placeholder,
.webisport-dashboard .webisport-filter-input::placeholder {
    color: var(--ws-form-placeholder);
    opacity: 1;
}

.webisport-dashboard .webisport-input:focus,
.webisport-dashboard .webisport-select:focus,
.webisport-dashboard .webisport-textarea:focus,
.webisport-dashboard .webisport-search-input:focus,
.webisport-dashboard .webisport-filter-input:focus,
.webisport-dashboard .webisport-filter-select:focus,
.webisport-dashboard .webisport-date-range-filter .webisport-filter-input:focus {
    outline: none;
    border: 2px solid var(--ws-primary-border);
    padding: calc(var(--ws-control-padding-y) - 1px) calc(var(--ws-control-padding-x) - 1px);
    box-shadow: 0 0.125rem 0.375rem 0 var(--ws-primary-shadow);
}

.webisport-dashboard .webisport-textarea {
    min-height: 6rem;
    resize: vertical;
}

.webisport-dashboard .webisport-select,
.webisport-dashboard select.webisport-filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.625rem;
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.1rem 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22' fill='none'%3E%3Cpath d='M10.9999 12.0743L15.5374 7.53676L16.8336 8.83292L10.9999 14.6666L5.16626 8.83292L6.46243 7.53676L10.9999 12.0743Z' fill='%232f2b3d' fill-opacity='0.85'/%3E%3C/svg%3E");
    cursor: pointer;
}

.webisport-dashboard .webisport-select:focus,
.webisport-dashboard select.webisport-filter-select:focus {
    background-position: right calc(0.8rem - 1px) center;
    padding-right: calc(2.625rem - 1px);
}

.webisport-dashboard .webisport-input:disabled,
.webisport-dashboard .webisport-select:disabled,
.webisport-dashboard .webisport-textarea:disabled,
.webisport-dashboard .webisport-search-input:disabled,
.webisport-dashboard .webisport-filter-input:disabled,
.webisport-dashboard .webisport-filter-select:disabled {
    background: var(--ws-form-bg-disabled);
    border-color: rgba(47, 43, 61, 0.16);
    color: #97959e;
    cursor: not-allowed;
}

.webisport-dashboard .webisport-input.error,
.webisport-dashboard .webisport-select.error {
    border: 2px solid #ff4c51;
    box-shadow: 0 0.125rem 0.375rem 0 rgba(255, 76, 81, 0.25);
}

/* Form Rows */
.webisport-dashboard .webisport-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ws-space-4);
    margin-bottom: var(--ws-space-4);
}

.webisport-dashboard .webisport-form-row:last-child {
    margin-bottom: 0;
}

.webisport-dashboard .webisport-form-full {
    grid-column: 1 / -1;
}

/* Form Checkbox & Radio (custom Vuexy checkmarks) */
.webisport-dashboard .webisport-form-checkbox {
    flex-direction: row;
    align-items: center;
}

.webisport-dashboard .webisport-form-checkbox label {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    cursor: pointer;
    color: #444050;
}

.webisport-dashboard .webisport-form-checkbox input[type="checkbox"],
.webisport-dashboard .webisport-form-checkbox input[type="radio"],
.webisport-dashboard .webisport-radio-item input[type="radio"],
.webisport-dashboard .webisport-checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #97959e;
    background: transparent;
    margin: 0;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    accent-color: var(--ws-primary);
}

.webisport-dashboard .webisport-form-checkbox input[type="checkbox"],
.webisport-dashboard .webisport-checkbox-item input[type="checkbox"] {
    border-radius: 0.267em;
}

.webisport-dashboard .webisport-form-checkbox input[type="radio"],
.webisport-dashboard .webisport-radio-item input[type="radio"] {
    border-radius: 50%;
}

.webisport-dashboard .webisport-form-checkbox input[type="checkbox"]::before,
.webisport-dashboard .webisport-checkbox-item input[type="checkbox"]::before {
    content: "";
    width: 0.75em;
    height: 0.75em;
    transform: scale(0);
    transition: transform 0.12s ease-in-out;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    background: var(--ws-on-primary);
}

.webisport-dashboard .webisport-form-checkbox input[type="radio"]::before,
.webisport-dashboard .webisport-radio-item input[type="radio"]::before {
    content: "";
    width: 0.45em;
    height: 0.45em;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.12s ease-in-out;
    background: var(--ws-on-primary);
}

.webisport-dashboard .webisport-form-checkbox input[type="checkbox"]:checked,
.webisport-dashboard .webisport-checkbox-item input[type="checkbox"]:checked,
.webisport-dashboard .webisport-form-checkbox input[type="radio"]:checked,
.webisport-dashboard .webisport-radio-item input[type="radio"]:checked {
    border-color: var(--ws-primary);
    background: var(--ws-primary);
}

.webisport-dashboard .webisport-form-checkbox input[type="checkbox"]:checked::before,
.webisport-dashboard .webisport-checkbox-item input[type="checkbox"]:checked::before,
.webisport-dashboard .webisport-form-checkbox input[type="radio"]:checked::before,
.webisport-dashboard .webisport-radio-item input[type="radio"]:checked::before {
    transform: scale(1);
}

.webisport-dashboard .webisport-form-checkbox input[type="checkbox"]:disabled,
.webisport-dashboard .webisport-checkbox-item input[type="checkbox"]:disabled,
.webisport-dashboard .webisport-form-checkbox input[type="radio"]:disabled,
.webisport-dashboard .webisport-radio-item input[type="radio"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Field Error */
.webisport-dashboard .webisport-field-error {
    color: #ff4c51;
    font-size: 0.8125rem;
    margin-top: var(--ws-space-1);
}

/* Help Text */
.webisport-dashboard .webisport-help-text,
.webisport-dashboard .webisport-form-help {
    font-size: 12px;
    color: #6d6b77;
    margin-top: var(--ws-space-1);
}

/* Read-only fields */
.webisport-dashboard .webisport-field-readonly input[readonly] {
    background: var(--ws-bg);
    color: var(--ws-text-muted);
    cursor: not-allowed;
}

/* ================================================
   Notifications
   ================================================ */

.webisport-dashboard .webisport-notification {
    position: fixed;
    top: var(--ws-space-6);
    right: var(--ws-space-6);
    z-index: 1100;
    display: none;
    align-items: center;
    gap: var(--ws-space-3);
    padding: var(--ws-space-4) var(--ws-space-5);
    background: var(--ws-bg-light);
    border-radius: 0.375rem;
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
    border-left: 4px solid var(--ws-info);
    max-width: 400px;
}

.webisport-dashboard .webisport-notification.active {
    display: flex;
}

.webisport-dashboard .webisport-notification-success {
    border-left-color: var(--ws-success);
}

.webisport-dashboard .webisport-notification-error {
    border-left-color: var(--ws-danger);
}

.webisport-dashboard .webisport-notification-warning {
    border-left-color: var(--ws-warning);
}

.webisport-dashboard .webisport-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--ws-text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: color var(--ws-transition);
}

.webisport-dashboard .webisport-notification-close:hover {
    color: var(--ws-text);
}

/* ================================================
   Image Upload
   ================================================ */

.webisport-dashboard .webisport-image-upload {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.webisport-dashboard .webisport-image-preview {
    width: 150px;
    height: 100px;
    border: 2px dashed rgba(47, 43, 61, 0.22);
    border-radius: var(--ws-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ws-space-2);
    color: var(--ws-text-muted);
    transition: all var(--ws-transition);
    overflow: hidden;
    position: relative;
}

.webisport-dashboard .webisport-image-preview:hover {
    border-color: var(--ws-primary-border);
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-image-preview .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.webisport-dashboard .webisport-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webisport-dashboard .webisport-image-preview span {
    font-size: 12px;
}

.webisport-dashboard .webisport-image-preview:has(img) {
    border-style: solid;
    border-color: var(--ws-primary-border);
}

.webisport-dashboard .webisport-image-preview:has(img):hover::after {
    content: 'Changer';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--ws-white);
    padding: var(--ws-space-1);
    font-size: 11px;
    text-align: center;
}

/* Banner variant — event cover in 16:9, the ratio of the app visual */
.webisport-dashboard .webisport-image-upload--banner {
    display: block;
    width: 100%;
}

.webisport-dashboard .webisport-image-preview--banner {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
}

.webisport-dashboard .webisport-image-preview--banner img {
    object-position: top center;
}

.webisport-dashboard .webisport-image-preview--banner .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.webisport-dashboard .webisport-image-preview--banner span:not(.dashicons) {
    font-size: 14px;
}

.webisport-dashboard .webisport-image-preview--banner:has(img):hover::after {
    font-size: 13px;
    padding: var(--ws-space-2);
}

/* Gallery Grid */
.webisport-dashboard .webisport-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-gallery-item {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-2);
}

.webisport-dashboard .webisport-gallery-preview {
    position: relative;
    width: 100%;
    height: 100px;
    border-radius: var(--ws-radius);
    overflow: hidden;
    border: 1px solid rgba(47, 43, 61, 0.12);
}

.webisport-dashboard .webisport-gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webisport-dashboard .webisport-gallery-remove {
    position: absolute;
    top: var(--ws-space-1);
    right: var(--ws-space-1);
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: var(--ws-radius-full);
    background: rgba(0, 0, 0, 0.6);
    color: var(--ws-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ws-transition);
}

.webisport-dashboard .webisport-gallery-preview:hover .webisport-gallery-remove {
    opacity: 1;
}

.webisport-dashboard .webisport-gallery-remove:hover {
    background: var(--ws-danger);
}

.webisport-dashboard .webisport-gallery-remove .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.webisport-dashboard .webisport-gallery-legend {
    font-size: 12px;
    padding: 6px var(--ws-space-2);
}

/* ================================================
   Radio Groups
   ================================================ */

.webisport-dashboard .webisport-radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-radio-item {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-3);
    cursor: pointer;
}

.webisport-dashboard .webisport-radio-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.webisport-dashboard .webisport-radio-content .dashicons {
    display: none;
}

.webisport-dashboard .webisport-radio-content strong {
    font-size: 14px;
    color: #444050;
}

.webisport-dashboard .webisport-radio-content small {
    font-size: 12px;
    color: #6d6b77;
}

/* ================================================
   Checkbox List
   ================================================ */

.webisport-dashboard .webisport-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-3);
    padding: var(--ws-space-3);
    background: var(--ws-bg);
    border-radius: var(--ws-radius);
    max-height: 200px;
    overflow-y: auto;
}

.webisport-dashboard .webisport-checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    cursor: pointer;
    padding: 6px var(--ws-space-3);
    background: var(--ws-bg-light);
    border-radius: var(--ws-radius);
    border: 1px solid rgba(47, 43, 61, 0.12);
    transition: all var(--ws-transition-fast);
}

.webisport-dashboard .webisport-checkbox-item:hover {
    border-color: var(--ws-primary-border);
}

.webisport-dashboard .webisport-checkbox-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #444050;
    white-space: nowrap;
}

/* ================================================
   Info Box
   ================================================ */

.webisport-dashboard .webisport-info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-4);
    padding: var(--ws-space-5);
    background: rgba(0, 186, 209, 0.05);
    border-radius: var(--ws-radius);
    margin-bottom: var(--ws-space-5);
    border: 1px solid rgba(0, 186, 209, 0.1);
}

.webisport-dashboard .webisport-info-box .dashicons {
    color: var(--ws-info);
    flex-shrink: 0;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.webisport-dashboard .webisport-info-box p {
    margin: 0;
    font-size: 14px;
    color: var(--ws-info-dark);
    line-height: 1.6;
}

/* ================================================
   Pricing Sections
   ================================================ */

.webisport-dashboard .webisport-pricing-section {
    padding: var(--ws-space-5);
    background: var(--ws-gray-50);
    border-radius: 0.375rem;
    margin-bottom: var(--ws-space-6);
    border: 1px solid var(--ws-border-light);
}

.webisport-dashboard .webisport-pricing-section h4 {
    margin: 0 0 var(--ws-space-1) 0;
    font-size: 16px;
    font-weight: 700;
    color: #444050;
}

.webisport-dashboard .webisport-pricing-section>p {
    margin: 0 0 var(--ws-space-5) 0;
    font-size: 14px;
    color: #6d6b77;
}

.webisport-dashboard .webisport-pricing-list {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-3);
    margin-bottom: var(--ws-space-4);
}

.webisport-dashboard .webisport-pricing-row {
    display: flex;
    align-items: center;
    gap: var(--ws-space-4);
    padding: var(--ws-space-4);
    background: var(--ws-bg-light);
    border-radius: 0.375rem;
    border: 1px solid rgba(47, 43, 61, 0.12);
    box-shadow: var(--ws-shadow-sm);
}

.webisport-dashboard .webisport-pricing-row .webisport-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
}

.webisport-dashboard .webisport-pricing-row .webisport-input[type="number"] {
    max-width: 120px;
}

.webisport-dashboard .webisport-reception-pricing-row {
    flex-direction: column;
    align-items: stretch;
}

.webisport-dashboard .webisport-reception-pricing-main,
.webisport-dashboard .webisport-reception-pricing-meta {
    display: flex;
    align-items: center;
    gap: var(--ws-space-3);
    flex-wrap: wrap;
}

.webisport-dashboard .webisport-reception-pricing-meta textarea.webisport-input {
    flex: 1 1 100%;
    min-height: 4rem;
    resize: vertical;
}

.webisport-dashboard .webisport-remove-price {
    color: var(--ws-text-light);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--ws-radius-full);
    transition: all var(--ws-transition);
}

.webisport-dashboard .webisport-remove-price:hover {
    color: var(--ws-danger);
    background: var(--ws-danger-light);
}

/* Options Sections */
.webisport-dashboard .webisport-stock-options,
.webisport-dashboard .webisport-recurring-options,
.webisport-dashboard .webisport-benevoles-options,
.webisport-dashboard .webisport-reservation-options,
.webisport-dashboard .webisport-supplements-section {
    padding: var(--ws-space-5);
    background: var(--ws-white);
    border-radius: var(--ws-radius);
    margin-top: var(--ws-space-4);
    border: 1px solid var(--ws-border-light);
    border-left: 4px solid var(--ws-primary-border);
}

/* ================================================
   Summary Styles
   ================================================ */

.webisport-dashboard .webisport-summary {
    background: var(--ws-bg-subtle);
    border-radius: var(--ws-radius);
    overflow: hidden;
}

.webisport-dashboard .webisport-summary-header {
    display: flex;
    align-items: center;
    gap: var(--ws-space-3);
    padding: var(--ws-space-4) var(--ws-space-5);
    color: var(--ws-white);
    font-size: 16px;
    font-weight: 600;
    background: var(--ws-primary);
}

.webisport-dashboard .webisport-summary-header.webisport-type-success {
    background: var(--ws-success);
}

.webisport-dashboard .webisport-summary-header.webisport-type-warning {
    background: var(--ws-warning);
}

.webisport-dashboard .webisport-summary-header.webisport-type-info {
    background: var(--ws-info);
}

.webisport-dashboard .webisport-summary-header.webisport-type-secondary {
    background: #808390;
}

.webisport-dashboard .webisport-summary-section {
    padding: var(--ws-space-4) var(--ws-space-5);
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-summary-section:last-child {
    border-bottom: none;
}

.webisport-dashboard .webisport-summary-section h4 {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    margin: 0 0 var(--ws-space-3) 0;
    font-size: 14px;
    font-weight: 600;
    color: #444050;
}

.webisport-dashboard .webisport-summary-section h4 .dashicons {
    color: var(--ws-primary-ink);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.webisport-dashboard .webisport-summary-section dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--ws-space-2);
    margin: 0;
}

.webisport-dashboard .webisport-summary-section dt {
    font-size: 13px;
    font-weight: 500;
    color: #97959e;
}

.webisport-dashboard .webisport-summary-section dd {
    font-size: 13px;
    color: #444050;
    margin: 0;
}

/* ================================================
   Text Utilities
   ================================================ */

.webisport-dashboard .webisport-text-muted {
    color: var(--ws-text-muted);
    font-size: 13px;
}

/* ================================================
   Switch Toggle
   ================================================ */

.webisport-dashboard .webisport-form-switch {
    display: flex;
    align-items: center;
}

.webisport-dashboard .webisport-switch-label {
    display: flex;
    align-items: center;
    gap: var(--ws-space-3);
    cursor: pointer;
    user-select: none;
}

.webisport-dashboard .webisport-switch-label span:first-child {
    font-weight: 500;
    color: #444050;
}

.webisport-dashboard .webisport-switch-label input[type="checkbox"] {
    display: none;
}

.webisport-dashboard .webisport-switch-slider {
    position: relative;
    width: 2em;
    height: 24px;
    background: rgba(47, 43, 61, 0.1);
    border-radius: var(--ws-radius-lg);
    transition: background var(--ws-transition);
    box-shadow: inset 0 1px 2px rgba(47, 43, 61, 0.2);
}

.webisport-dashboard .webisport-switch-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--ws-white);
    border-radius: var(--ws-radius-full);
    transition: transform var(--ws-transition);
    box-shadow: var(--ws-shadow-sm);
}

.webisport-dashboard .webisport-switch-label input[type="checkbox"]:checked+.webisport-switch-slider {
    background: var(--ws-primary);
}

.webisport-dashboard .webisport-switch-label input[type="checkbox"]:checked+.webisport-switch-slider::after {
    transform: translateX(20px);
}

/* ================================================
   Bundle & Pricing Cards
   ================================================ */

.webisport-dashboard .webisport-base-price-card {
    padding: var(--ws-space-4);
    background: linear-gradient(135deg, rgba(var(--ws-primary-rgb), 0.08) 0%, var(--ws-primary-alpha-16) 100%);
    border: 1px solid rgba(var(--ws-primary-border-rgb), 0.24);
    border-radius: 0.375rem;
    margin-bottom: var(--ws-space-4);
}

.webisport-dashboard .webisport-base-price-header {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    margin-bottom: var(--ws-space-3);
}

.webisport-dashboard .webisport-bundle-row {
    flex-wrap: wrap;
}

.webisport-dashboard .webisport-bundle-inputs {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    flex: 1;
}

.webisport-dashboard .webisport-bundle-inputs .webisport-qty-input {
    max-width: 80px;
}

.webisport-dashboard .webisport-bundle-inputs .webisport-price-input {
    max-width: 100px;
}

.webisport-dashboard .webisport-bundle-label {
    color: #6d6b77;
    font-size: 14px;
    white-space: nowrap;
}

.webisport-dashboard .webisport-bundle-currency {
    color: #444050;
    font-weight: 500;
}

.webisport-dashboard .webisport-unit-price {
    color: var(--ws-success);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Info Text */
.webisport-dashboard .webisport-info-text {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-2);
    padding: var(--ws-space-3) var(--ws-space-4);
    background: rgba(var(--ws-primary-rgb), 0.08);
    border-radius: var(--ws-radius);
    color: var(--ws-primary-ink);
    font-size: 13px;
}

.webisport-dashboard .webisport-info-text .dashicons {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Section Header inside pricing */
.webisport-dashboard .webisport-pricing-section .webisport-section-header {
    margin-bottom: var(--ws-space-3);
}

.webisport-dashboard .webisport-pricing-section .webisport-section-header h4 {
    margin: 0;
}

/* ================================================
   Card Footer Section
   ================================================ */

.webisport-dashboard .webisport-card-footer-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-space-4) var(--ws-space-5);
    background: var(--ws-bg-subtle);
    border-top: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-card-footer-section .webisport-footer-info {
    display: flex;
    align-items: center;
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-card-footer-section .dashicons {
    color: var(--ws-text-muted);
}

/* ================================================
   Supplement Card
   ================================================ */

.webisport-dashboard .webisport-supplement-card {
    display: flex;
    flex-direction: column;
    background: var(--ws-bg-subtle);
    border: 1px solid rgba(47, 43, 61, 0.12);
    border-radius: 0.375rem;
    margin-bottom: var(--ws-space-4);
    overflow: hidden;
    transition: border-color var(--ws-transition), box-shadow var(--ws-transition);
}

.webisport-dashboard .webisport-supplement-card:hover {
    border-color: var(--ws-primary-shadow);
    box-shadow: var(--ws-shadow-md);
}

.webisport-dashboard .webisport-supplement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-space-3) var(--ws-space-4);
    background: var(--ws-bg-light);
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-supplement-title {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
    font-weight: 600;
    font-size: 14px;
    color: #444050;
}

.webisport-dashboard .webisport-supplement-title .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-supplement-body {
    padding: var(--ws-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-supplement-body .webisport-form-row {
    display: flex;
    gap: var(--ws-space-4);
    flex-wrap: wrap;
}

.webisport-dashboard .webisport-supplement-body .webisport-form-group {
    margin-bottom: 0;
}

.webisport-dashboard .webisport-supplement-body .webisport-form-group-flex {
    flex: 1;
    min-width: 200px;
}

.webisport-dashboard .webisport-supplement-body .webisport-form-group-small {
    flex: 0 0 120px;
    min-width: 100px;
}

.webisport-dashboard .webisport-remove-supplement {
    padding: var(--ws-space-1) var(--ws-space-2);
    color: var(--ws-danger);
    background: none;
    border: none;
    border-radius: var(--ws-radius);
    cursor: pointer;
    transition: background var(--ws-transition);
}

.webisport-dashboard .webisport-remove-supplement:hover {
    background: var(--ws-danger-light);
}

.webisport-dashboard .webisport-remove-supplement .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ================================================
   Registration Cards
   ================================================ */

.webisport-dashboard .webisport-registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--ws-space-4);
}

.webisport-dashboard .webisport-registration-card {
    background: var(--ws-bg-light);
    border: none;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all var(--ws-transition);
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
}

.webisport-dashboard .webisport-registration-card:hover {
    box-shadow: 0 0.25rem 1rem 0 rgba(47, 43, 61, 0.18);
    transform: translateY(-2px);
}

/* Status-based top border */
.webisport-dashboard .webisport-registration-status-completed {
    border-top: 4px solid var(--ws-success);
}

.webisport-dashboard .webisport-registration-status-processing,
.webisport-dashboard .webisport-registration-status-pending,
.webisport-dashboard .webisport-registration-status-on-hold {
    border-top: 4px solid var(--ws-warning);
}

.webisport-dashboard .webisport-registration-status-cancelled,
.webisport-dashboard .webisport-registration-status-refunded,
.webisport-dashboard .webisport-registration-status-failed {
    border-top: 4px solid var(--ws-danger);
}

.webisport-dashboard .webisport-registration-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ws-space-5);
    background: transparent;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-registration-participant {
    display: flex;
    align-items: center;
    gap: var(--ws-space-4);
    min-width: 0;
    flex: 1;
}

.webisport-dashboard .webisport-registration-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--ws-primary-alpha-16);
    border-radius: var(--ws-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.webisport-dashboard .webisport-registration-avatar .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-registration-participant-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.webisport-dashboard .webisport-registration-name {
    font-size: 16px;
    font-weight: 700;
    color: #444050;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webisport-dashboard .webisport-registration-fullname {
    font-size: 13px;
    font-weight: 500;
    color: #6d6b77;
}

.webisport-dashboard .webisport-registration-status {
    flex-shrink: 0;
}

.webisport-dashboard .webisport-registration-card-body {
    padding: var(--ws-space-5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.webisport-dashboard .webisport-registration-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.webisport-dashboard .webisport-registration-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #97959e;
}

.webisport-dashboard .webisport-registration-label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.webisport-dashboard .webisport-registration-value {
    font-size: 14px;
    font-weight: 500;
    color: #444050;
}

.webisport-dashboard .webisport-days-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.webisport-dashboard .webisport-registration-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ws-space-4) var(--ws-space-5);
    background: var(--ws-gray-50);
    border-top: 1px solid rgba(47, 43, 61, 0.08);
    gap: var(--ws-space-3);
}

.webisport-dashboard .webisport-registration-footer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.webisport-dashboard .webisport-registration-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-registration-date {
    font-size: 12px;
    font-weight: 500;
    color: #6d6b77;
}

.webisport-dashboard .webisport-registration-actions {
    display: flex;
    gap: var(--ws-space-2);
}

/* Supplements List */
.webisport-dashboard .webisport-supplements-list {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-1);
}

.webisport-dashboard .webisport-supplement-item {
    font-size: 14px;
    color: #444050;
}

.webisport-dashboard .webisport-supplement-label {
    font-weight: 500;
}

/* Stage Inscriptions */
.webisport-dashboard .webisport-stage-inscriptions-summary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-4);
    margin-bottom: var(--ws-space-5);
}

.webisport-dashboard .webisport-stage-inscriptions-summary .webisport-stat-card {
    flex: 1;
    min-width: 150px;
}

.webisport-dashboard .webisport-stage-inscriptions-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-3);
    margin-bottom: var(--ws-space-5);
    padding: var(--ws-space-4);
    background: var(--ws-bg-subtle);
    border-radius: var(--ws-radius);
    align-items: center;
}

.webisport-dashboard .webisport-stage-inscriptions-filter .webisport-search-input,
.webisport-dashboard .webisport-stage-inscriptions-filter .webisport-filter-select {
    flex: 1;
    min-width: 160px;
    max-width: 280px;
}

/* ================================================
   Detail Page Layouts (Shared)
   ================================================ */

.webisport-dashboard .webisport-member-detail-layout,
.webisport-dashboard .webisport-event-detail-layout {
    display: flex;
    gap: 1.5rem;
    margin-top: var(--ws-space-5);
}

/* Sidebar */
.webisport-dashboard .webisport-member-sidebar,
.webisport-dashboard .webisport-event-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--ws-bg-light);
    border: none;
    border-radius: 0.375rem;
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: var(--ws-space-6);
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
}

/* Sidebar Header */
.webisport-dashboard .webisport-member-sidebar-header,
.webisport-dashboard .webisport-event-sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.25rem;
    background: #fff;
    text-align: center;
    gap: var(--ws-space-4);
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-member-sidebar-name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #444050;
    word-break: break-word;
    letter-spacing: -0.01em;
}

.webisport-dashboard .webisport-member-sidebar-header .webisport-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Navigation */
.webisport-dashboard .webisport-member-sidebar-nav {
    padding: 0.75rem;
}

.webisport-dashboard .webisport-member-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 0.375rem;
    color: var(--ws-text-secondary);
    text-decoration: none;
    transition: all var(--ws-transition);
    font-size: 0.9375rem;
    font-weight: 500;
}

.webisport-dashboard .webisport-member-nav-item:hover {
    background: #f3f2f3;
    color: var(--ws-primary-ink);
}

.webisport-dashboard .webisport-member-nav-item.active {
    color: var(--ws-on-primary);
    background: linear-gradient(270deg, rgba(var(--ws-primary-rgb), 0.7) 0%, var(--ws-primary) 100%);
    box-shadow: 0 0.125rem 0.375rem var(--ws-primary-shadow);
}

.webisport-dashboard .webisport-member-nav-item .dashicons,
.webisport-dashboard .webisport-member-nav-item .ti {
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Sidebar ID */
.webisport-dashboard .webisport-member-sidebar-id {
    font-size: 13px;
    color: #97959e;
    font-weight: 400;
}

/* Sidebar Inline Stats */
.webisport-dashboard .webisport-member-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-member-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.webisport-dashboard .webisport-member-stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: #444050;
    line-height: 1;
}

.webisport-dashboard .webisport-member-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #97959e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Details Section */
.webisport-dashboard .webisport-member-details-section {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-member-details-heading {
    font-size: 13px;
    font-weight: 600;
    color: #444050;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-member-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.webisport-dashboard .webisport-member-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 14px;
}

.webisport-dashboard .webisport-detail-label {
    font-weight: 600;
    color: #444050;
    font-size: 13px;
}

.webisport-dashboard .webisport-detail-value {
    color: #6d6b77;
    font-size: 13px;
    text-align: right;
}

/* Sidebar Footer */
.webisport-dashboard .webisport-member-sidebar-footer {
    padding: 1rem 1.25rem 1.5rem;
}

.webisport-dashboard .webisport-btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.webisport-dashboard .webisport-btn-block .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Modal Grid (two-column layout) */
.webisport-dashboard .webisport-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

.webisport-dashboard .webisport-modal-grid-col {
    display: flex;
    flex-direction: column;
}

/* Content Area */
.webisport-dashboard .webisport-member-content,
.webisport-dashboard .webisport-event-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-5);
}

/* Info Grid */
.webisport-dashboard .webisport-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.webisport-dashboard .webisport-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-4);
    padding: 1rem 1.25rem;
    background: #fff;
    border: none;
    border-radius: 0.375rem;
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
    transition: all var(--ws-transition);
}

.webisport-dashboard .webisport-info-item:hover {
    border-color: transparent;
    box-shadow: 0 0.25rem 1rem 0 rgba(47, 43, 61, 0.18);
}

.webisport-dashboard .webisport-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--ws-primary-alpha-16);
    color: var(--ws-primary-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.webisport-dashboard .webisport-info-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.webisport-dashboard .webisport-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.webisport-dashboard .webisport-info-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #97959e;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.webisport-dashboard .webisport-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #444050;
    word-break: break-word;
}

/* Info List (alternative layout) */
.webisport-dashboard .webisport-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.webisport-dashboard .webisport-info-list .webisport-info-item {
    padding: var(--ws-space-3) 0;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.webisport-dashboard .webisport-info-list .webisport-info-item:last-child {
    border-bottom: none;
}

.webisport-dashboard .webisport-info-list .webisport-info-item:hover {
    box-shadow: none;
}

/* Spec panel — dense dl.row layout (Vuexy billing address, no card chrome) */
.webisport-dashboard .webisport-spec-panel {
    background: var(--ws-white, #fff);
    border-radius: var(--ws-radius, 0.375rem);
    border: 1px solid rgba(47, 43, 61, 0.08);
    overflow: hidden;
}

.webisport-dashboard .webisport-spec-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-spec-panel-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.webisport-dashboard .webisport-spec-panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #444050;
    text-transform: capitalize;
}

.webisport-dashboard .webisport-spec-panel-body {
    padding: 1.25rem;
}

.webisport-dashboard .webisport-spec-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.webisport-dashboard .webisport-spec-group--full {
    grid-column: 1 / -1;
}

.webisport-dashboard .webisport-spec-group {
    background: var(--ws-bg, #f8f7fa);
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
}

.webisport-dashboard .webisport-spec-group-title {
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6d6b77;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-spec-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-spec-group-header .webisport-spec-group-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
    flex: 1 1 auto;
}

.webisport-dashboard .webisport-spec-group-actions {
    flex: 0 0 auto;
}

.webisport-dashboard .webisport-spec-list {
    margin: 0;
}

.webisport-dashboard .webisport-spec-row {
    display: grid;
    grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr);
    gap: 0.5rem 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(47, 43, 61, 0.06);
}

.webisport-dashboard .webisport-spec-row:last-child {
    border-bottom: none;
}

.webisport-dashboard .webisport-spec-label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #97959e;
    line-height: 1.45;
}

.webisport-dashboard .webisport-spec-value {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #444050;
    line-height: 1.45;
    word-break: break-word;
}

/* Licence payment pricing breakdown (member detail + Cotisations modal) */
.webisport-dashboard .webisport-pricing-breakdown {
    margin-bottom: 0.75rem;
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius);
    background: var(--ws-bg-subtle, #fafafa);
    overflow: hidden;
}

.webisport-dashboard .webisport-pricing-breakdown-lines {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0.875rem 0;
    display: flex;
    flex-direction: column;
}

.webisport-dashboard .webisport-pricing-breakdown-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--ws-text-secondary);
    border-bottom: 1px solid rgba(47, 43, 61, 0.06);
}

.webisport-dashboard .webisport-pricing-breakdown-line:last-child {
    border-bottom: none;
}

.webisport-dashboard .webisport-pricing-breakdown-amount {
    color: var(--ws-text);
    font-weight: 600;
    white-space: nowrap;
}

.webisport-dashboard .webisport-pricing-breakdown-line--adjustment {
    padding-left: 0.875rem;
    font-size: 0.8125rem;
    border-bottom-style: dashed;
    border-bottom-color: rgba(47, 43, 61, 0.08);
}

.webisport-dashboard .webisport-pricing-breakdown-line--adjustment .webisport-pricing-breakdown-label::before {
    content: "↳ ";
    opacity: 0.55;
}

.webisport-dashboard .webisport-pricing-breakdown-line--reduction,
.webisport-dashboard .webisport-pricing-breakdown-line--reduction .webisport-pricing-breakdown-amount {
    color: var(--ws-success);
}

.webisport-dashboard .webisport-pricing-breakdown-line--addition,
.webisport-dashboard .webisport-pricing-breakdown-line--addition .webisport-pricing-breakdown-amount {
    color: var(--ws-text);
}

.webisport-dashboard .webisport-pricing-breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.65rem 0.875rem;
    border-top: 1px solid var(--ws-border-light);
    background: rgba(var(--ws-primary-rgb), 0.05);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ws-text);
}

.webisport-dashboard .webisport-spec-group-custom+.webisport-spec-list {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(47, 43, 61, 0.06);
}

.webisport-dashboard .footclub-pieces-manquantes-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid #f59e0b;
    border-radius: 0.25rem;
}

.webisport-dashboard .footclub-pieces-manquantes-callout .dashicons {
    color: #b45309;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.webisport-dashboard .footclub-pieces-manquantes-callout strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #b45309;
    font-size: 0.875rem;
}

.webisport-dashboard .footclub-pieces-manquantes-callout p {
    margin: 0;
    font-size: 0.875rem;
    color: #6d6b77;
    line-height: 1.45;
}

.webisport-dashboard .footclub-wp-account-hint {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.webisport-dashboard .footclub-account-reset-intro {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.webisport-dashboard .footclub-account-reset-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 76, 81, 0.08);
    border-left: 3px solid var(--ws-danger, #ff4c51);
    border-radius: 0.25rem;
}

.webisport-dashboard .footclub-account-reset-callout .dashicons {
    color: var(--ws-danger, #ff4c51);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.webisport-dashboard .footclub-account-reset-callout strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #444050;
    font-size: 0.875rem;
}

.webisport-dashboard .footclub-account-reset-callout ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.875rem;
    color: #6d6b77;
    line-height: 1.45;
}

.webisport-dashboard .footclub-spec-panel-inline-actions {
    margin-top: 1rem;
}

.webisport-dashboard .webisport-spec-panel-body>.webisport-relation-members {
    margin: 0;
}

.webisport-dashboard .webisport-spec-panel+.webisport-spec-panel {
    margin-top: var(--ws-space-5, 1.25rem);
}

.webisport-dashboard .webisport-guardian-account-link {
    font-weight: 600;
}

/* Avatar Variants */
.webisport-dashboard .webisport-avatar-small {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--ws-radius-full);
    object-fit: cover;
}

.webisport-dashboard .webisport-avatar-placeholder {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--ws-radius-full);
    background: var(--ws-primary-alpha-16);
    color: var(--ws-primary-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.webisport-dashboard .webisport-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: var(--ws-radius-full);
    object-fit: cover;
    border: 4px solid rgba(47, 43, 61, 0.08);
}

/* User Cell with Avatar */
.webisport-dashboard .webisport-user-cell {
    display: flex;
    align-items: center;
    gap: var(--ws-space-2);
}

/* Muted Text */
.webisport-dashboard .webisport-muted {
    color: var(--ws-text-muted);
    font-style: italic;
}

/* Info Message */
.webisport-dashboard .webisport-info-message {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-3);
    padding: var(--ws-space-4);
    background: var(--ws-info-light);
    border-radius: 0.375rem;
    color: var(--ws-info);
}

.webisport-dashboard .webisport-info-message .dashicons {
    font-size: 20px;
    flex-shrink: 0;
}

.webisport-dashboard .webisport-info-message p {
    margin: 0;
    color: #6d6b77;
}

/* ================================================
   Responsive
   ================================================ */

@media (max-width: 992px) {

    .webisport-dashboard .webisport-member-detail-layout,
    .webisport-dashboard .webisport-event-detail-layout {
        flex-direction: column;
    }

    .webisport-dashboard .webisport-member-sidebar,
    .webisport-dashboard .webisport-event-sidebar {
        width: 100%;
        position: static;
    }

    .webisport-dashboard .webisport-member-sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: var(--ws-space-2);
    }

    .webisport-dashboard .webisport-member-nav-item {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        margin-bottom: 0;
    }

    .webisport-dashboard .webisport-stat-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .webisport-dashboard .webisport-registrations-grid {
        grid-template-columns: 1fr;
    }

    .webisport-dashboard .webisport-registration-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .webisport-dashboard .webisport-registration-status {
        align-self: flex-start;
    }

    .webisport-dashboard .webisport-stage-inscriptions-summary {
        flex-direction: column;
    }

    .webisport-dashboard .webisport-stage-inscriptions-filter {
        flex-direction: column;
    }

    .webisport-dashboard .webisport-stage-inscriptions-filter .webisport-search-input,
    .webisport-dashboard .webisport-stage-inscriptions-filter .webisport-filter-select {
        width: 100%;
        max-width: none;
    }

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

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

    .webisport-dashboard .webisport-spec-row {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .webisport-dashboard .webisport-member-sidebar-header,
    .webisport-dashboard .webisport-event-sidebar-header {
        padding: var(--ws-space-5) var(--ws-space-4);
    }

    .webisport-dashboard .webisport-stat-cards-row {
        grid-template-columns: 1fr;
    }

    .webisport-dashboard .webisport-nav-pills {
        flex-direction: column;
        gap: 0;
    }

    .webisport-dashboard .webisport-nav-pill {
        border-radius: 0;
        border-bottom: none;
        border-left: 2px solid transparent;
    }

    .webisport-dashboard .webisport-nav-pill.active {
        border-bottom-color: transparent;
        border-left-color: var(--ws-primary-border);
    }
}

/* ================================================
   Loading Placeholder
   ================================================ */

.webisport-dashboard .webisport-loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--ws-space-8, 3rem) var(--ws-space-4, 1rem);
    color: #97959e;
    font-size: 14px;
}

.webisport-dashboard .webisport-loading-placeholder .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #97959e;
}

.webisport-dashboard .webisport-spin {
    animation: spin 1s linear infinite;
}

.webisport-dashboard .webisport-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--ws-space-8, 3rem) var(--ws-space-4, 1rem);
    color: #97959e;
    font-size: 14px;
}

.webisport-dashboard .webisport-loading .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #97959e;
}

.webisport-dashboard-main {
    position: relative;
}

.webisport-dashboard-main.is-loading {
    min-height: 12rem;
    pointer-events: none;
}

.webisport-dashboard-main.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 20;
}

.webisport-dashboard-main.is-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid #e4e1ec;
    border-top-color: var(--ws-primary-border, #7367f0);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 21;
}

.webisport-wrapper-loading {
    position: relative;
    min-height: 4rem;
}

.webisport-wrapper-loading>.webisport-wrapper-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    z-index: 5;
}

/* ================================================
   Global Enforcement Layer
   Catches ANY native input/select/textarea/button
   inside .webisport-dashboard that doesn't already
   carry a webisport-* class.
   ================================================ */

.webisport-dashboard input[type="text"],
.webisport-dashboard input[type="email"],
.webisport-dashboard input[type="password"],
.webisport-dashboard input[type="number"],
.webisport-dashboard input[type="search"],
.webisport-dashboard input[type="url"],
.webisport-dashboard input[type="date"],
.webisport-dashboard input[type="datetime-local"],
.webisport-dashboard input[type="month"],
.webisport-dashboard input[type="week"],
.webisport-dashboard input[type="time"],
.webisport-dashboard input[type="tel"],
.webisport-dashboard select,
.webisport-dashboard textarea {
    min-height: var(--ws-control-height);
    width: 100%;
    padding: var(--ws-control-padding-y) var(--ws-control-padding-x);
    border: 1px solid var(--ws-control-border);
    border-radius: var(--ws-control-radius);
    background: transparent;
    color: #444050;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.webisport-dashboard input[type="text"]:hover,
.webisport-dashboard input[type="email"]:hover,
.webisport-dashboard input[type="password"]:hover,
.webisport-dashboard input[type="number"]:hover,
.webisport-dashboard input[type="search"]:hover,
.webisport-dashboard input[type="url"]:hover,
.webisport-dashboard input[type="date"]:hover,
.webisport-dashboard input[type="datetime-local"]:hover,
.webisport-dashboard input[type="month"]:hover,
.webisport-dashboard input[type="week"]:hover,
.webisport-dashboard input[type="time"]:hover,
.webisport-dashboard input[type="tel"]:hover,
.webisport-dashboard select:hover,
.webisport-dashboard textarea:hover {
    border-color: var(--ws-control-border-hover);
}

.webisport-dashboard input[type="text"]:focus,
.webisport-dashboard input[type="email"]:focus,
.webisport-dashboard input[type="password"]:focus,
.webisport-dashboard input[type="number"]:focus,
.webisport-dashboard input[type="search"]:focus,
.webisport-dashboard input[type="url"]:focus,
.webisport-dashboard input[type="date"]:focus,
.webisport-dashboard input[type="datetime-local"]:focus,
.webisport-dashboard input[type="month"]:focus,
.webisport-dashboard input[type="week"]:focus,
.webisport-dashboard input[type="time"]:focus,
.webisport-dashboard input[type="tel"]:focus,
.webisport-dashboard select:focus,
.webisport-dashboard textarea:focus {
    outline: none;
    border: 2px solid var(--ws-primary-border);
    padding: calc(var(--ws-control-padding-y) - 1px) calc(var(--ws-control-padding-x) - 1px);
    box-shadow: 0 0.125rem 0.375rem 0 var(--ws-primary-shadow);
}

.webisport-dashboard input::placeholder,
.webisport-dashboard textarea::placeholder {
    color: var(--ws-control-placeholder);
    opacity: 1;
}

/* Keep native checkbox/radio compact even if theme/global input rules set width:100%. */
.webisport-dashboard input[type="checkbox"],
.webisport-dashboard input[type="radio"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    width: auto !important;
    min-width: 1rem !important;
    max-width: 1rem !important;
    height: auto !important;
    min-height: 1rem !important;
    max-height: 1rem !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    vertical-align: middle;
}

/* Enforce button styling on truly unclassed buttons only. */
.webisport-dashboard button:not([class]),
.webisport-dashboard input[type="button"],
.webisport-dashboard input[type="submit"],
.webisport-dashboard input[type="reset"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--ws-control-height);
    padding: 0.4812rem 1.25rem;
    border-radius: 0.375rem;
    border: 1px solid #808390;
    background: #808390;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.webisport-dashboard button:not([class]):hover,
.webisport-dashboard input[type="button"]:hover,
.webisport-dashboard input[type="submit"]:hover,
.webisport-dashboard input[type="reset"]:hover {
    box-shadow: 0 0.125rem 0.375rem 0 rgba(128, 131, 144, 0.3);
}

.webisport-dashboard button:not([class]):active,
.webisport-dashboard input[type="button"]:active,
.webisport-dashboard input[type="submit"]:active,
.webisport-dashboard input[type="reset"]:active {
    transform: scale(0.98);
}