html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.chart-area {
  position: relative;
  height: 250px;
  width: 100%;
}

.chart-pie {
  position: relative;
  height: 200px;
  width: 100%;
}

.card {
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.border-left-primary {
  border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
  border-left: 0.25rem solid #f6c23e !important;
}

.text-gray-800 {
  color: #5a5c69 !important;
}

.text-gray-300 {
  color: #dddfeb !important;
}

.nav-link.active {
  background-color: #f6c23e;
}

.card-header h6 {
  font-weight: 600;
}

.collapse {
  transition: all 0.3s ease;
}

/* Плавная анимация для кнопок */
.btn-outline-secondary {
  transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
  transform: translateY(-1px);
}

.translations-display {
  display: flex;
  flex-wrap: wrap;
  /*flex-direction: column;*/
  gap: 2px;
  max-width: 300px;
}

.translation-item {
  display: flex;
  align-items: center;
  padding: 2px 4px;
  border-radius: 3px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  font-size: 0.75rem;
  line-height: 1.2;
}

.language-flag {
  font-size: 0.7rem;
  min-width: 16px;
  text-align: center;
}

.translation-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
