/**
 * Theme Name:     Hello Elementor Child
 * Author:         Saqib
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Swertres Result Today Custom theme
 */
 .lotto-prize-row td {
  background-color: #e9f9e9;
  color: #006400;
  font-weight: bold;
}
.lotto-winner-row td {
  background-color: #fff4cc;
  color: #a65a00;
  font-weight: bold;
}

.lotto-container {
	max-width:97%;
      background: #fff;
      border-radius: 10px;
      margin: 0 auto;
      padding: 16px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    }

   .lotto-container h2 {
      font-size: 1.4rem;
      color: #0c63e4;
      margin: 0 0 6px;
      text-align: center;
    }

     .lotto-container .date {
      text-align: center;
      font-size: 0.85rem;
      color: #555;
      margin-bottom: 14px;
    }

    .lotto-container .draw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.2s ease;
}

/* When wrapping occurs (i.e., an item moves to the next line),
   use this class via JavaScript */
.lotto-container .draw.is-wrapped {
  justify-content: center;
}


    .draw:hover {
      background: #f9fafb;
    }

    .draw-time {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      color: #0c63e4;
      font-size: 0.9rem;
      flex-shrink: 0;
			margin-bottom:10px;
    }

    .draw-time svg {
      width: 16px;
      height: 16px;
      stroke: #0c63e4;
      fill: none;
      stroke-width: 2;
			
    }

    .result-row {
      display: flex;
      gap: 6px;
    }

    .result-number {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #f1f5f9;
      border: 2px solid #28a745;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1rem;
      color: #111;
    }

   /* Prize and Winners Section */
.info-row {
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
  padding-top: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.info-item .label {
  font-weight: 600;
  color: #333;
}

.info-item .value {
  color: #0c63e4;
  font-weight: 500;
}
/* Responsive fixes for small screens */
@media (max-width: 768px) {
  .draw {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .draw-time {
    margin-bottom: 6px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .result-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .result-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .lotto-container {
    padding: 12px;
  }

  .draw-time span {
    font-size: 0.85rem;
  }

  .result-number {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}
/* Allow wrapping on medium and smaller desktop screens */
@media (max-width: 1200px) {
  .result-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .draw {
    flex-wrap: wrap;
  }

  .draw-time {
    flex-basis: 100%;
    justify-content: center;
    margin-bottom: 6px;
  }
	.lotto-container .draw {
    align-items: center;
		justify-content: center;}
}
.result-number.standby-number {
    background-color: #fff3cd;
    color: #856404;
    font-style: italic;
    border: 1px dashed #ffecb5;
    padding: 6px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 2px;
	width:100%;
}
/* === Grid layout for multiple tables === */
.lotto-tables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.lotto-table-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  overflow-x: auto;
  padding: 10px;
}

/* Responsive behavior — 1 table per row on mobile/tablet */
@media (max-width: 992px) {
  .lotto-tables-grid {
    grid-template-columns: 1fr;
  }
}
.stl-title {
	text-align:center;
	margin-bottom:5px;
}
.stl-subtitle {
	text-align:center;
	margin-bottom:12px;
}
.lotto-container-main {
	max-width:100%;
      background: #fff;
    }
.pcso-schedule-table {
  width: 100%;
  max-width: 900px;
  margin: 16px auto;
  border-collapse: collapse;
  
  font-size: 15px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
}

.pcso-schedule-table th,
.pcso-schedule-table td {
  padding: 10px 14px;
  border: 1px solid #e6e6e6;
  text-align: left;
}

.pcso-schedule-table thead {
  background-color: #0b5fff;
  color: #fff;
}

.pcso-schedule-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.pcso-schedule-table tbody tr:hover {
  background-color: #f1f5ff;
}

.pcso-source-note {
  max-width: 900px;
  margin: 8px auto;
  font-size: 13px;
  color: #555;
  text-align: left;
}
.winning-numbers {
  background: #fff;
  border-radius: 10px;
  max-width: 420px;
  margin: 20px auto;
  padding: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #222;
}

.winning-numbers .draw-numbers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* Always on one line */
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: background 0.2s ease;
  overflow-x: auto; /* In case numbers overflow on tiny screens */
  scrollbar-width: none; /* Hide scrollbar on Firefox */
}

.winning-numbers .draw-numbers::-webkit-scrollbar {
  display: none; /* Hide scrollbar on Chrome/Safari */
}

.winning-numbers .draw-numbers:hover {
  background: #f9fafb;
}

.winning-numbers .draw-time {
  font-weight: 600;
  color: #0c63e4;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-right: 10px;
  white-space: nowrap;
}

.winning-numbers .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 6px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #28a745;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  flex-shrink: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .winning-numbers {
    max-width: 95%;
    padding: 12px;
  }

  .winning-numbers .draw-numbers {
    padding: 8px 10px;
  }

  .winning-numbers .draw-time {
    font-size: 0.85rem;
    margin-right: 8px;
  }

  .winning-numbers .number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin-left: 4px;
  }
}
