/* 
-----
Стили для проекта 
Игра тренировка "Шахматный адрес" :: Training game "Chess Address"
games chess address
Версия:
ver.1.01 2026-02-18
-----
wpvi.ru/pages/games/chess/address/local1.css
-----
Копирайт 2011 - 2099
Примечание о соблюдении авторских прав. 
Вы можете бесплатно и без каких-либо разрешений использовать софт сайта wpvi.ru на вашем сайте или блоге.
Также вы можете использовать любой контент или софт wpvi.ru - все, что вы должны сделать, это поставить ссылку на wpvi.ru
--
Copyright 2011 - 2099
Copyright note. Feel free to use wpvi.ru's soft for your site or blog if you want. 
Also you can use free any other content and soft of wpvi.ru - all you have to do is set back link to wpvi.ru
-----
*/


/*
* {
  box-sizing: border-box;
}
*/


/*
body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
}
*/

.container_game {
  font-family: Arial, sans-serif;
  max-width: 400px; /* 480px; */
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/*
h1 {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.5em;
}
*/

.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.highlight-target {
  font-weight: bold;
  background-color: #fff9c4;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #ffe082;
}

.board-layout {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  justify-content: center;
}

.numbers-y {
  display: grid;
  grid-template-rows: repeat(8, 40px);
  gap: 2px;
}

.numbers-y div {
  width:10px; /* 30px; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
}

.board-area {
  flex: 1;
}

#chessboard {
  display: grid;
  grid-template-columns: repeat(8, 40px);
  grid-template-rows: repeat(8, 40px);
  gap: 2px;
}

.square {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  position: relative;
}

.white {
  background-color: #f0d9b5;
}

.black {
  background-color: #b58863;
}

.letters-x {
  display: grid;
  grid-template-columns: repeat(8, 40px);
  gap: 2px;
  justify-items: center;
  margin-top: 1px; /* 5px; */
}

.letters-x span {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #45a049;
}

.white-piece {
  color: #f8f8f2;
}

.black-piece {
  color: #333;
}

/* Эффекты подсветки при клике */
.square.correct {
  background-color: #90ee90 !important; /* Светло‑зелёный */
  transition: background-color 0.3s ease;
}

.square.wrong {
  background-color: #ffcccc !important; /* Светло‑красный */
  transition: background-color 0.3s ease;
}



/*
**********************************
###
### This is enda... of this file...
###
**********************************
*/
