/* assets/style.css */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css');

.form-check-input:checked {
  background-color: #0d6efd;
  /* Keep default checked color */
}

.btn-circle {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стили для библиографии */
.H5 {
  font-family: "Times New Roman", serif;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
  font-size: large;
}

.citation {
  font-family: "Times New Roman", serif;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

.doi-link {
  color: #0066cc;
  text-decoration: none;
}

.doi-link:hover {
  text-decoration: underline;
}

.model-description {
  text-align: justify;
  white-space: pre-line;
}

/* Стили для характеристик */
dl {
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

dt {
  font-weight: bold;
  color: #495057;
}

dd {
  margin-left: 0;
  margin-bottom: 10px;
  color: #212529;
}

.sidebar {
  transition: width 0.3s ease;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
}

.main-content {
  transition: margin-left 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .sidebar {
      position: absolute;
      z-index: 1000;
      height: 100%;
      left: -400px;
  }
  
  .sidebar.show {
      left: 0;
  }
  
  .main-content {
      width: 100%;
  }
}

.navbar-nav .nav-link {
  padding: 0.5rem 0.8rem !important;
}

.navbar-brand {
  margin-right: 1rem;
}

.dropdown-menu {
  right: 0;
  left: auto;
}