/* ==========================================================
   LotteryCheckerPro – Check Saved Wheel
   ========================================================== */

.lcpro-check-wheel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px;
}

/* -------------------------
   Headings
-------------------------- */
.lcpro-check-wheel h2,
.lcpro-check-wheel h3 {
  text-align: center;
  margin-bottom: 12px;
}

.lcpro-check-wheel h2 {
  color: #0073aa;
  font-size: 1.4rem;
}

/* -------------------------
   Forms / selectors
-------------------------- */
.lcpro-check-wheel form {
  margin-bottom: 14px;
}

.lcpro-check-wheel select {
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 2px solid #0073aa;
  background: #f1f5f9;
}

.lcpro-check-wheel button {
  padding: 10px 16px;
  font-size: 0.95rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: #0073aa;
  color: #fff;
  font-weight: 600;
}

/* -------------------------
   Navigation buttons
-------------------------- */
.lcpro-check-wheel .lcpro-manage-btn,
.lcpro-check-wheel .lcpro-btn {
  display: inline-flex;
  width: auto;
  padding: 10px 18px;
  margin-top: 10px;
}

/* -------------------------
   Draw balls
-------------------------- */
.lcpro-check-wheel p {
  text-align: center;
}

.lcpro-check-wheel .lcpro-ball {
  margin: 4px;
}

/* -------------------------
   Results table (desktop)
-------------------------- */
.lcpro-check-wheel table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.9rem;
}

.lcpro-check-wheel th,
.lcpro-check-wheel td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.lcpro-check-wheel th {
  background: #f1f5f9;
  font-weight: 600;
}

/* -------------------------
   Winning rows
-------------------------- */
.lcpro-check-wheel tr.lcpro-win {
  background: #eef8ff;
}

.lcpro-check-wheel tr.lcpro-bigwin {
  background: #fff3c6;
  font-weight: bold;
}

/* -------------------------
   Mobile layout
-------------------------- */
@media (max-width: 640px) {

  .lcpro-check-wheel table thead {
    display: none;
  }

  .lcpro-check-wheel table,
  .lcpro-check-wheel tbody,
  .lcpro-check-wheel tr {
    display: block;
    width: 100%;
  }

  .lcpro-check-wheel tr {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 14px;
    background: #fff;
  }

  .lcpro-check-wheel td {
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 6px 0;
    font-size: 0.85rem;
  }

  .lcpro-check-wheel td::before {
    font-weight: 600;
    color: #555;
  }

  .lcpro-check-wheel td:nth-child(1)::before { content: "Ticket"; }
  .lcpro-check-wheel td:nth-child(2)::before { content: "Numbers"; }
  .lcpro-check-wheel td:nth-child(3)::before { content: "Main"; }
  .lcpro-check-wheel td:nth-child(4)::before { content: "Bonus"; }
}


/* -------------------------
   Draw balls layout
-------------------------- */
.lcpro-draw-balls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;        /* ?? prevents 3-row spread */
  gap: 6px;
  margin: 10px 0;
}

/* Bonus / star row slightly separated */
.lcpro-draw-bonus {
  margin-top: 4px;
}

/* Reduce ball size slightly on this page */
.lcpro-check-wheel .lcpro-ball {
  width: 42px;
  height: 42px;
  font-size: 18px;
  margin: 0;               /* gap now controls spacing */
}

@media (max-width: 480px) {

  .lcpro-draw-balls {
    flex-wrap: wrap;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .lcpro-check-wheel .lcpro-ball {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}


.lcpro-draw-bonus .lcpro-ball {
  transform: scale(0.95);
  opacity: 0.95;
}

/* -------------------------
   Winning summary
-------------------------- */
.lcpro-win-summary {
  text-align: center;
  margin: 10px 0 14px;
  padding: 10px 14px;
  background: #eef8ff;
  border: 1px solid #cfe8ff;
  border-radius: 8px;
  font-size: 0.95rem;
}


/* -------------------------
   Bottom navigation
-------------------------- */
.lcpro-check-nav {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.lcpro-check-nav .lcpro-btn {
  display: inline-flex;
  width: auto;              /* ?? prevents full-width */
  padding: 10px 18px;
  font-weight: 600;
}
