/* =========================================================
   COMMON.LESS
   Base commune du site : variables, mixins, reset, helpers
   ========================================================= */
/* ---------- Variables ---------- */
/* ---------- Mixins ---------- */
/* =========================================================
   GLOBAL THEME VARIABLES
   Ces variables ne sont PAS liées au header.
   Elles pilotent tout le site via #main.main-theme-dark / light.
   ========================================================= */
/* =========================================================
   GLOBAL STRUCTURE VARIABLES
   ========================================================= */
/* =========================================================
   INDEX.LESS
   Listing des tables
   Couleurs basées sur le thème global #main
   ========================================================= */
.section-table-listing {
  padding: 40px 0 70px;
  color: var(--theme-text);
}
.section-table-listing .section-heading {
  margin-bottom: 28px;
  text-align: center;
}
.section-table-listing .section-heading .section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-secondary);
}
.section-table-listing .section-heading h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--theme-text);
}
.section-table-listing .section-heading p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--theme-text-soft);
}
/* =========================================================
   ENTRY BANNER
   ========================================================= */
.table-entry-banner {
  margin-bottom: 24px;
}
.entry-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--theme-border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(108, 79, 125, 0.14), rgba(39, 193, 165, 0.08)), var(--theme-card);
  box-shadow: var(--theme-shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.entry-panel .entry-panel-content {
  flex: 1 1 auto;
  min-width: 0;
}
.entry-panel .entry-panel-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--theme-text);
}
.entry-panel .entry-panel-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--theme-text-soft);
}
.entry-panel .entry-panel-actions {
  flex: 0 0 auto;
}
.entry-panel-user .entry-panel-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--theme-border);
  background: var(--theme-card-hover);
}
.entry-panel-user .entry-panel-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-panel-login .entry-panel-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  box-shadow: 0 10px 25px rgba(108, 79, 125, 0.28);
}
/* =========================================================
   FILTER BAR
   ========================================================= */
.table-filter-bar {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--theme-card);
  border: 1px solid var(--theme-border);
  box-shadow: var(--theme-shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.filter-item label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text-soft);
}
.filter-item .form-select {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--theme-border);
  border-radius: 14px;
  background: var(--theme-card-hover);
  color: var(--theme-text);
  box-shadow: none;
  outline: none;
}
.filter-item .form-select:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(108, 79, 125, 0.18);
}
.filter-item .form-select option {
  color: #000;
  background: #fff;
}
/* =========================================================
   GRID
   ========================================================= */
.table-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
/* =========================================================
   TABLE CARD
   ========================================================= */
.table-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(108, 79, 125, 0.08), rgba(39, 193, 165, 0.04)), var(--theme-card);
  border: 1px solid var(--theme-border);
  box-shadow: var(--theme-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.table-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--theme-shadow-floating);
  border-color: rgba(108, 79, 125, 0.38);
  background: var(--theme-card-hover);
}
.table-card-media {
  position: relative;
  height: 250px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.table-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(11, 16, 32, 0.16), rgba(11, 16, 32, 0.72)), radial-gradient(circle at center, rgba(255, 255, 255, 0.07), transparent 60%);
}
.table-card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.status-open {
  background: rgba(39, 193, 165, 0.9);
}
.status-waiting {
  background: rgba(255, 207, 90, 0.9);
  color: #000;
}
.status-in_progress {
  background: rgba(108, 79, 125, 0.92);
}
.status-private {
  background: rgba(108, 79, 125, 0.82);
}
.status-closed {
  background: var(--theme-text-muted);
}
.table-card-preview-wrap {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
}
/* =========================================================
   TABLE PREVIEW / SEATS
   ========================================================= */
.table-preview {
  position: relative;
  width: 170px;
  height: 110px;
}
.table-preview-board {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 54px;
  border-radius: 18px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, var(--theme-bg-soft), var(--theme-surface-alt));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26), inset 0 0 0 3px var(--theme-border);
}
.table-seat {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--theme-surface-alt), var(--theme-bg-soft));
  border: 2px solid var(--theme-border);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
/* 2 joueurs */
.players-2 .seat-left {
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}
.players-2 .seat-right {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}
/* 3 joueurs */
.players-3 .seat-top {
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.players-3 .seat-bottom-left {
  bottom: 6px;
  left: 32px;
}
.players-3 .seat-bottom-right {
  bottom: 6px;
  right: 32px;
}
/* 4 joueurs */
.players-4 .seat-top {
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.players-4 .seat-right {
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}
.players-4 .seat-bottom {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.players-4 .seat-left {
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}
/* =========================================================
   CARD BODY
   ========================================================= */
.table-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 18px 18px;
}
.table-card-head {
  margin-bottom: 14px;
}
.table-card-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--theme-text);
}
.table-card-owner {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--theme-text-muted);
}
.table-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--theme-text-soft);
  background: var(--theme-card-hover);
  border: 1px solid var(--theme-border);
}
.meta-pill i {
  font-size: 13px;
  color: var(--theme-secondary);
}
.table-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.table-card-actions .btn {
  flex: 1 1 0;
  text-align: center;
}
/* =========================================================
   EMPTY STATE
   ========================================================= */
.table-empty-state {
  margin-top: 26px;
  padding: 40px 20px;
  border-radius: 22px;
  text-align: center;
  background: var(--theme-card);
  border: 1px dashed var(--theme-border);
  box-shadow: var(--theme-shadow-soft);
}
.table-empty-state i {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 34px;
  color: var(--theme-secondary);
}
.table-empty-state p {
  margin: 0;
  font-size: 15px;
  color: var(--theme-text-soft);
}
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1399px) {
  .table-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1199px) {
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .section-table-listing {
    padding: 30px 0 55px;
  }
  .section-table-listing .section-heading h2 {
    font-size: 28px;
  }
  .entry-panel {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .entry-panel .entry-panel-actions {
    width: 100%;
  }
  .table-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .section-table-listing .section-heading {
    margin-bottom: 22px;
  }
  .section-table-listing .section-heading h2 {
    font-size: 24px;
  }
  .section-table-listing .section-heading p {
    font-size: 15px;
  }
  .entry-panel {
    padding: 18px;
  }
  .entry-panel .entry-panel-title {
    font-size: 18px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .table-list-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .table-card-media {
    height: 220px;
  }
  .table-card-actions {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .table-preview {
    width: 150px;
    height: 98px;
  }
  .table-preview-board {
    width: 84px;
    height: 48px;
  }
}

/*# sourceMappingURL=index.min.css.map */