body,
html {
  height: 100%;
  /* Задаем полную высоту */
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  /* Элементы выстраиваются в колонку */
}
.content {
  flex: 1;
  /* Занимает всё доступное пространство */
  /* Дополнительные стили для содержимого */
}


.item {

  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.footer-block {
  /* Стили для футера */
  text-align: center;
  padding: 20px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #d0e5fb;
  color: rgb(0, 0, 0); 
  font-size: 14px;
 font-family: 'Futo Sans';
      src: url('client/images/FutoSans-Regular.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
}

.header {
  display: flex;               /* Используем Flexbox */
  align-items: center;        /* Центрируем по высоте */
  box-sizing: border-box;
  /* Включаем в расчёт ширины и высоты внутренние отступы и рамки */
  border-radius: 8px;
  border: 1px solid #d0e5fb;
  height: 90px;
  /* Фиксированная высота */
  width: 100%;
  /* Занимает всю ширину */
  background: white;
  /* Фон, можно заменить на фон логотипа */
  color: white;
  /* Цвет текста */

  /* Центрирование текста */
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
}

.header img {
  width: 50px;                /* Ширина изображения */
  height: 70px;              /* Высота изображения */
}

.header span {
  margin-left: 20px;         /* Отступ слева от текста */
  color: rgb(115, 134, 154);
  font-size: 14px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bolder;
}

.cabinet-logo-header {
  border: 0;
  border-bottom: 1px solid #dfe7ef;
  box-shadow: 0 12px 26px rgba(24, 39, 58, 0.08);
}

.cabinet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  height: auto;
  min-height: 56px;
  border: 0;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 22px rgba(24, 39, 58, 0.05);
  color: #5f6f82;
  background: #fff;
  text-align: left;
  font-family: Roboto, Arial, sans-serif;
}

.cabinet-footer-support {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  min-height: 38px;
  padding: 4px 8px;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 6px 18px rgba(24, 39, 58, 0.05);
}

.cabinet-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cabinet-footer a {
  color: #1c2d45;
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease;
}

.cabinet-footer a:hover {
  color: #0c59ae;
  text-decoration: none;
}

.cabinet-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-weight: 500;
}

.cabinet-footer-button:hover {
  background: #f3f7fa;
  text-decoration: none;
  box-shadow: none;
}

.cabinet-footer-button .dx-icon {
  color: #111827;
  font-size: 16px;
}

.cabinet-footer-support span {
  padding: 0 10px 0 6px;
  color: #7a8796;
  font-size: 13px;
  font-weight: 500;
}

.cabinet-footer-support a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  color: #15243a;
  font-size: 13px;
  font-weight: 500;
}

.cabinet-footer-support a + a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 14px;
  background: #d9e3ee;
}

.cabinet-footer-support a:hover {
  background: #f2f7fc;
}

.cabinet-menu-panel {
  gap: 12px;
}

.cabinet-menu-panel .item {
  padding: 8px;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 39, 58, 0.07);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.cabinet-menu-panel .item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(24, 39, 58, 0.1);
}

.user-info {
    margin-left: auto; /* Сдвигаем контейнер вправо */
}


.buttonContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 20px;
  margin: auto;
  width: 80%;
}

.buttonStyle {
  border-radius: 8px;
  border: 2px solid #323436;
}

.span {
  margin-left: 20px;         /* Отступ слева от текста */
  color: rgb(115, 134, 154);
  font-size: 14px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bolder;
}

.separator {
  border: none; /* Убираем стандартные стили */
  border-top: 1px solid #ccc; /* Линия сверху */
  margin: 10px 0; /* Отступы сверху и снизу */
}


@media (max-width: 768px) {
  .container {
      width: 90%;        
  };
  .footer-block {
    padding: 0;
  }
  .cabinet-footer {
    align-items: flex-start;
    padding: 14px;
  }
  .item {
    padding: 0;
  }
  }
