@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Geist", serif;
  background: rgb(238,174,202);
  background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

h1 {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: rgb(51, 51, 51);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sudoku-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#sudoku-board {
  display: grid;
  gap: none;
}

.cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: rgb(51, 51, 51);
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(170, 170, 170);
  text-align: center;
  user-select: none;
}

.top-border {
  border-top: 3px solid black;
}

.left-border {
  border-left: 3px solid black;
}

.bottom-border {
  border-bottom: 3px solid black;
}

.right-border {
  border-right: 3px solid black;
}

.working-cell {
  background-color: rgb(225, 255, 225);
}

.conflict-cell {
  background-color: rgb(255, 204, 204);
  color: red;
}

.conflict-area {
  background-color: rgb(255, 230, 230);
}

#message {
  color: green;
  font-size: 18px;
  text-align: center;
}

.button-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

button {
  transition: all 300ms ease;
  font-size: 20px;
  padding: 0.7rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: fit-content;
  border-radius: 50px;
  font-weight: bold;
  border: 1px solid black;
}

button:hover {
  color: white;
  background: black;
}
