body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f2f5;
  color: #333;
  margin: 0;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #1877f2;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
}

.search-container input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 200px;
}

.search-container button {
  padding: 10px 20px;
  background-color: #1877f2;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#lotto-numbers-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.lotto-round {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lotto-round h3 {
  margin: 0 0 10px;
  color: #1877f2;
}

.numbers {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.numbers span {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  background-color: #fbc02d; /* 기본 노랑 (1-10) */
  text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

.num-blue { background-color: #1976d2 !important; } /* 11-20 */
.num-red { background-color: #d32f2f !important; } /* 21-30 */
.num-gray { background-color: #757575 !important; } /* 31-40 */
.num-green { background-color: #388e3c !important; } /* 41-45 */

.bonus::before {
  content: "+";
  color: #333;
  margin-right: 5px;
  font-size: 1.2em;
}

#pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 5px;
}

#pagination-container button {
  padding: 8px 15px;
  border: 1px solid #1877f2;
  background: white;
  color: #1877f2;
  border-radius: 5px;
  cursor: pointer;
}

#pagination-container button.active {
  background: #1877f2;
  color: white;
}

#pagination-container button:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}

#loading-indicator {
  text-align: center;
  font-size: 1.5em;
  margin: 20px;
}
