html, body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  height: 100%;
  margin: 0;
}

.full-page {
  height: 100%;

  display: flex;
  gap: 20px;

  margin: 20px;
}

.hidden {
  display: none;
}

/* Spinning Circle Loader */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* edit username button */
.edit {
  height: 12px;
  padding-left: 6px;
}

.edit path {
  fill: grey;
}

.edit:hover {
  cursor: pointer;
}

.edit:hover path {
  fill: black;
}
/***/

.message-toggle {
  color: grey;
  font-style: italic;
  font-size: 12px;
  padding-top: 20px;
}

.message-toggle:hover {
  text-decoration: underline;
  cursor: pointer;
}

.current-user {
  color: blue;
}

.bounce {
    animation: bounce-effect 0.6s ease-in-out;
}

@keyframes bounce-effect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.grid {
  width: fit-content;
  display: grid;
  gap: 2px;
  background-color: #ddd;
  padding: 5px;
  border-radius: 4px;
}

.square {
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  transition: all 0.2s ease;
  user-select: none;
}

.square.highlight {
  background-color: yellow;
}

.square:hover {
  background-color: #e9ecef;
  transform: scale(1.05);
}

.square.clicked {
  background-color: #28a745;
  color: white;
}

.square.active {
  background-color: #007bff;
  color: white;
}

.info {
  margin-top: 20px;
  text-align: center;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status {
  margin: 10px 0;
  font-size: 16px;
}
