/**
 * Classement Poker — [apiMesStats] : compléments à admin-stats.css côté
 * public (neutralisation des styles du thème, boutons).
 *
 * @version 2.15.0
 */

.apist.apist-public { max-width: 100%; line-height: 1.45; text-align: left; }
.apist.apist-public h2, .apist.apist-public h3, .apist.apist-public h4 { color: var(--ink); text-transform: none; letter-spacing: 0; padding: 0; border: 0; }
.apist.apist-public p { font-size: 12px; }
.apist.apist-public summary { color: var(--ink); }

/* Boutons : le thème stylise « button », on repart de zéro. */
.apist.apist-public button {
	box-shadow: none; text-shadow: none; text-transform: none; letter-spacing: 0; line-height: 1.45;
	width: auto; height: auto; min-height: 0; border-radius: 0;
}
.apist.apist-public .button {
	display: inline-block; padding: 6px 14px; border: 1px solid #c3c4c7; border-radius: 6px;
	background: #fff; color: #1c5cab; font-size: 13px; font-weight: 600; cursor: pointer;
}
.apist.apist-public .button:hover { background: #eef5fd; border-color: var(--accent); }
.apist.apist-public .button:disabled { opacity: 0.45; cursor: default; }
.apist.apist-public .apist-tabs button {
	background: none; border: 0; border-bottom: 3px solid transparent; margin: 0 0 -2px; padding: 10px 16px;
	color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.apist.apist-public .apist-tabs button:hover { color: var(--ink); }
.apist.apist-public .apist-tabs button.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.apist.apist-public .apist-table th button { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; }
.apist.apist-public button.apist-link { background: none; border: 0; padding: 0; margin: 0; color: #1c5cab; font-weight: inherit; }
.apist.apist-public .apist-kpi-value button.apist-link { font-size: 18px; font-weight: 600; }

/* Champs */
.apist.apist-public input[type="date"], .apist.apist-public input[type="search"], .apist.apist-public input[type="number"], .apist.apist-public select {
	width: auto; max-width: 100%; padding: 0 8px; color: var(--ink); box-shadow: none;
}
.apist.apist-public select { max-width: 280px; padding-right: 26px; }
.apist.apist-public input.apist-num { width: 90px; }
.apist.apist-public input[type="checkbox"] { width: auto; margin: 0; }

/* Tableaux */
.apist.apist-public table.apist-table { margin: 0; border: 0; }
.apist.apist-public .apist-table th, .apist.apist-public .apist-table td { border-width: 0 0 1px; text-transform: none; line-height: 1.45; }
.apist.apist-public .apist-table .is-num { text-align: right; }
.apist.apist-public .apist-table td:first-child, .apist.apist-public .apist-table th:first-child { position: sticky; left: 0; background: #fff; }
.apist.apist-public .apist-table th:first-child { background: #f6f5f1; z-index: 1; }
.apist.apist-public .apist-table tr.is-win td, .apist.apist-public .apist-table tr.is-win td:first-child { background: #fdf5df; }
.apist.apist-public .apist-table tr.is-podium td, .apist.apist-public .apist-table tr.is-podium td:first-child { background: #fbfaf4; }
.apist.apist-public .apist-table tr.is-me td { font-weight: 700; }

.apist.apist-public .apist-message { font-size: 14px; }

@media (max-width: 782px) {
	.apist.apist-public .apist-filters .apist-field { flex: 1 1 140px; }
	.apist.apist-public select, .apist.apist-public .apist-field input[type="date"] { max-width: 100%; width: 100%; }
	.apist.apist-public .apist-tabs button { padding: 8px 10px; font-size: 13px; }
}
