body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background: #fff;
}

:root{
    --primary: #1c291c;
}
.logo{
    text-align: center;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  margin-bottom: 40px;
}


.number {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border-radius: 16px;
  width: 40px;
  height: 40px;
  align-content: center;
  transition: background 0.3s;
}

@media screen and (max-width: 600px) {
  .numbers-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .number{
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}

.number:hover {
  background: #e0e0e0;
}

.number.reserved {
  background: #ffcccc;
  cursor: not-allowed;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  max-width: 400px;
  border-radius: 24px;
}

.close {
  float: right;
  cursor: pointer;
}

input, button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ccc;
}



button {
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 12px;
}

button:hover {
  opacity: 0.9;
}
#selected-numbers-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: none;
  max-width: 770px;
  margin: auto;
  border-radius: 16px 16px 0 0;
}

#selected-numbers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0;
}

#selected-numbers-list li {
  background: #4CAF50;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  display: flex;
  align-items: center;
}

.remove-btn {
  background: none;
  border: none;
  color: white;
  margin-left: 5px;
  cursor: pointer;
  font-size: 16px;
}

.number.selected {
  background-color: #4CAF50;
  color: white;
}
.powered {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #777;
}
.powered a {
  color: #777;
}
.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  border-left: 4px solid #c62828;
}
.paid {
  text-decoration: underline
}