/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Styles tableaux du plugin Love & Pattounes (scopés) */
.lep-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }

.lep-table { width: 100%; border-collapse: collapse; border-spacing: 0; background: #fff; font-size: 14px; color: #111827; }
.lep-table thead th { position: sticky; top: 0; z-index: 1; background: #f3f4f6; color: #111827; text-align: left; padding: 12px 14px; font-weight: 700; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.lep-table tbody tr { border-bottom: 1px solid #e5e7eb; transition: background-color .15s ease-in-out; }
.lep-table tbody tr:nth-child(odd) { background: #fafafa; }
.lep-table tbody tr:hover { background: #f0f4ff; }
.lep-table th, .lep-table td { padding: 10px 14px; vertical-align: middle; }
.lep-table td a { display: inline-flex; align-items: center; gap: 6px; color: #521B92; text-decoration: none; padding: 4px 6px; border-radius: 6px; transition: background-color .15s ease-in-out, color .15s ease-in-out; }
.lep-table td a:hover { background: rgba(82,27,146,0.08); color: #3f1472; }

/* Badges/états éventuels */
.lep-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 1.6; background: #eef2ff; color: #3730a3; }
.lep-badge--ok { background: #ecfdf5; color: #065f46; }
.lep-badge--warn { background: #fff7ed; color: #9a3412; }
.lep-badge--err { background: #fef2f2; color: #991b1b; }

/* Responsif: réduire la taille de police sur petits écrans */
@media (max-width: 640px) {
  .lep-table { font-size: 13px; }
  .lep-table th, .lep-table td { padding: 8px 10px; }
}
