body {
  background-color: black;
  margin: 0;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: white;
  height: 100%;


.container {
  background-color: rgb(39, 47, 50);
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto; /* центрирование */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  background-color: rgb(69, 77, 80);
  color: white;
  margin: 6px 0;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease; /* плавный переход */
}

li:hover {
  background-color: rgb(86, 95, 98); /* светлее */
  transform: scale(1.05); /* масштабируем увеличением на 5% */
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px; /* расстояние между элементами формы */
  margin-bottom: 20px; /* отступ снизу */
}

form label {
  color: white;
  font-weight: bold;
  margin-right: 10px; /* Отступ справа, чтобы разнести */
  display: inline-block;
}

input[type="text"], .text, .butn-celendar {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  background-color: white;
  text-align: center;
  border-radius: 10px;
}

input[type="text"], .text{
    font-size: medium;
    padding: 4px 10px;
    max-width: 100px;
    margin-left: 5px;
}

.butn-celendar {
    font-size: 16px;
    background-color: rgb(201, 49, 53);
}

input[type="text"]:hover,
.butn-celendar:hover ,
.text:hover {
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.butn-celendar:hover {
    background-color: rgb(235, 59, 65);
    box-shadow: 0 4px 10px rgba(235, 59, 65, 0.4);
}

.unstyled-link {
  color: inherit;             /* Наследовать цвет от родителя */
  text-decoration: none;      /* Убрать подчеркивание */
  cursor: pointer;            /* Показывать указатель при наведении */
}
.unstyled-link:hover,
.unstyled-link:focus,
.unstyled-link:active {
  text-decoration: none;      /* Не подчеркивать при наведении */
  color: inherit;             /* Цвет без изменений */
}

.record-form {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label,
.form-group input {
  display: block;
  margin-bottom: 8px;
}

.form-group {
    width: 100%;          /* растягивает на всю ширину контейнера */
    max-width: none;
    box-sizing: border-box; /* учитывает padding и border в ширину */
    display: block;
}

.form-group label {
    font-size: 20px;
}

.form-group .text,
.form-group input[type="text"]{
    width: 100%;          /* растягивает на всю ширину контейнера */
    max-width: none;
    box-sizing: border-box; /* учитывает padding и border в ширину */
    display: block;
}

.form-group .text:hover,
.form-group input[type="text"]:hover{
    transform: none;
}

.custom-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    font-size: medium;
    font-weight: bold;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    margin-left: 4px;
}

.custom-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.error {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
    display: block;
}

.record-form button{
    font-size: 20px;
}

.form-group textarea{
    font-size: larger;
}

.flashes li{
    display: flex;
    justify-content: space-between;
    transform: none;
}

.flashes li:hover{
    display: flex;
    justify-content: space-between;
}

.close-btn {
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    color: white;
}

.custom-select:hover {
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}