/* main.css */
body {
  line-height: normal !important;
  font-family: "Lato", sans-serif !important;
  font-size: 14px !important;
  -webkit-print-color-adjust: exact;
  background: #f2f5f8 !important;
  box-sizing: border-box !important;
}
/* Проверка входа в профиль */

#notRegistered {
  display: none;
  padding: 50px 0px;
  background-color: #ffffff;
  text-align: center;
}
.notification-header {
  display: none;
  padding: 50px 0px;
  background-color: #ffffff;
  text-align: center;
}
.logo {
  height: 20px;
}
.footer {
  bottom: 0;
  margin-top: 70px;
  padding-top: 40px;
  width: 100%;
  padding-bottom: 40px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.main_button {
  height: 194px;
  width: 233px;
  background: #ffffff;
  border-radius: 12px !important;
  margin: 20px;
  padding: 0px;
}

.d-grid {
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 60%;
}
/*------------------- Banner------------------*/

.banner {
  background-image: url("../images/for_trainer/det_DR4_1.jpeg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.banner-divider {
  margin: auto;
  width: 200px;
  height: 1.5px;
  background-color: #fff;
}

.banner-overlay {
  padding: 0 30px;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  color: #fff;
}

.banner-text {
  margin: 20px auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

button,
button:active,
button:focus {
  outline: none !important;
}

.back_link {
  text-decoration: none !important;
  color: #5a98d0;
}
.back_link:hover {
  color: #2072b5 !important;
}

.checkmarkRight {
  margin: auto 10px;
}

.back-Linck-Diab-Retin {
  display: flex;
  padding: 0px 10px;
  max-width: 1128px;
  margin: 20px auto;
}
@media (max-width: 1440px) {
  .back-Linck-Diab-Retin {
    display: none;
  }
}
.home-icon:hover path {
  fill: #007bff;
}

.nav-link-active {
  color: rgb(112, 112, 112) !important;
  font-weight: bold;
}

.not-allocated {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* pop-up уведомление */

.share-foto-popup {
  display: none;
  width: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: fixed;
  top: 0px;
  text-align: center;
  z-index: 80;
}
.share-foto-popup .share-foto-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 610px;
  transform: translate(-50%, -50%);
  padding: 30px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px #000;
}

@media (max-width: 615px) {
  .share-foto-popup .share-foto-popup-content {
    position: absolute;
    top: 50%;
    margin: auto;
    width: 90%;
    transform: translate(-50%, -50%);
    padding: 30px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #000;
  }
}

.button-b-popup-green {
  background-color: #ffffff;
  user-select: none;
  display: flex;

  margin: 10px auto;
  color: #45c45b;
  border: 2px solid #45c45b;
  width: 210px;
  height: 40px;
  font-size: 18px;
  border-radius: 55px;
  align-items: center;
  justify-content: space-evenly;
}

.button-b-popup-green:hover {
  cursor: pointer;
  border: 2px solid #2b7a38;
  color: #2b7a38;
}

.button-b-popup-blue {
  background-color: #ffffff;
  user-select: none;
  display: flex;
  margin: 10px auto;
  color: #5a98d0;
  border: 2px solid #5a98d0;
  width: 210px;
  height: 40px;
  font-size: 18px;
  border-radius: 55px;
  align-items: center;
  justify-content: space-evenly;
}

.button-b-popup-blue:hover {
  cursor: pointer;
  border: 2px solid #1b619b;
  color: #1b619b;
}

.button-b-popup {
  background-color: #ffffff;
  user-select: none;
  display: flex;

  margin: 10px auto;
  color: #5a98d0;
  border: 2px solid #5a98d0;
  width: 210px;
  height: 40px;
  font-size: 14px;
  border-radius: 55px;
  align-items: center;
  justify-content: space-evenly;
}

.button-b-popup:hover {
  cursor: pointer;
  border: 2px solid #1b619b;
  color: #1b619b;
}
.btn-review {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 270px;
  height: 40px;
  background-color: #5a98d0;
  border: 1px solid #5a98d0;
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.btn-review:hover {
  background-color: #007bff;
  cursor: pointer;
}

.btn-review:active {
  cursor: pointer;
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}
#verify {
  display: none;
  padding: 50px 0px;
  background-color: #ffffff;
  text-align: center;
}
.verify {
  display: none;
  padding: 50px 0px;
  background-color: #ffffff;
  text-align: center;
}
.dividing-line {
  border-top: 1px solid #000;
  width: 100%;
  height: 1px;
  text-align: center;
  margin: 30px 0;
}

.btn-light:hover {
  border: 1px solid rgba(255, 255, 255, 0);
  background: linear-gradient(0deg, #b4e1f9, #b4e1f9);
}

#bottom-bnt-drmenu > .btn-light:hover {
  border: 1px solid rgba(255, 255, 255, 0);
  background: linear-gradient(0deg, #e9f7d3, #e9f7d3);
}
#bottom-bnt-adm > .btn-light:hover {
  border: 1px solid rgba(255, 255, 255, 0);
  background: linear-gradient(0deg, #ff590050, #ff590050);
}
.btn {
  line-height: 22px !important;
}

.btn-exit {
  position: absolute;
  top: 5%;
  left: 90%;
  padding: 7px;
}
.btn-exit:hover {
  cursor: pointer;
  background-color: #cccccc;
  border-radius: 100%;
}
@media (max-width: 850px) {
  .btn-exit {
    position: absolute;
    top: 5%;
    left: 90%;
  }
}

.folder-menu-DR {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 1120px) {
  .folder-menu-DR {
    flex-wrap: nowrap;
    flex-direction: row;
  }
}
@media (max-width: 650px) {
  .folder-menu-DR {
    flex-direction: column;
  }
}

.folder-menu-DR-upper-level {
  display: block;
}
@media (max-width: 1120px) {
  .folder-menu-DR-upper-level {
    display: flex;
    flex-direction: column;
  }
}
.folder-menu-DR-lower-level {
  display: block;
}
@media (max-width: 1120px) {
  .folder-menu-DR-lower-level {
    display: flex;
    flex-direction: column;
  }
}
.btn-first-style {
  display: flex;
  width: 250px;
  margin: 10px;
  height: 46px;
  z-index: 15;
  justify-content: center;
  text-align: center;
  align-items: center;
  border: 1px solid #4e9be0;
  border-radius: 23px;
  color: #4e9be0;
}
.btn-first-style > p {
  width: 100%;
  z-index: 0;
  min-width: 270px;
  padding: 5px 20px;
}
.btn-first-style:hover {
  color: #007bff;
  border: 2px solid #007bff;
  cursor: pointer;
}

.btn-three-style {
  display: flex;
  width: 250px;
  margin: 10px;
  z-index: 15;
  justify-content: center;
  text-align: center;
  align-items: center;
  border: 1px solid #4e9be0;
  border-radius: 23px;
  color: #4e9be0;
}
.btn-three-style > p {
  width: 100%;
  z-index: 0;
  min-width: 240px;
  padding: 10px 20px;
}
.btn-three-style-active {
  color: white;
  background-color: #4e9be0;
}
.btn-three-style:hover {
  color: #007bff;
  background-color: #4e9ce063;
  cursor: pointer;
}

.cookies-container {
  z-index: 100;
  display: flex;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 30px;
  background-color: #ffffff;
  text-align: center;
  flex-direction: column;
  align-items: center;
  box-shadow: 7px -1px 24px rgba(197, 205, 226, 0.6);
}

.btn-two-style {
  background-color: blanchedalmond;
  color: black;
  margin-left: 10px;
  border: 1px solid;
  border-radius: 10px;
  padding: 5px;
  margin: 10px;
}

.btn-two-style-red {
  background-color: #ee3a4cce;
  color: black;
  margin-left: 10px;
  border: 1px solid;
  border-radius: 10px;
  padding: 5px;
  margin: 10px;
}
.btn-two-style-red:hover {
  background-color: #ff0018;
}

.btn-two-style:hover {
  color: #0056b3;
  background-color: #ffc107;
}

/* значек загрузки */
.lds-ripple-position {
  position: relative;
  margin: 150px 0;
}
.lds-ripple {
  position: relative;
  margin: auto;
  width: 72px;
  height: 72px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #007bff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.13, 0.24) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

/* значек загрузки mini*/
.lds-ripple-mini-container-footer {
  position: fixed;
  display: none;
  left: calc(50% - 22.5px);
  bottom: 0;
  padding-bottom: 5px;
  z-index: 100;
  background-color: rgba(183, 212, 255, 0.4);
  padding: 5px;
  border-radius: 8px;
  animation: lds-ripple-mini-container-footer 1s;
}

.lds-ripple-mini-container {
  display: none;
  height: 36px;
  animation: lds-ripple-mini-container 1s;
  transform: scale(1);
  margin: 5px 0;
}

.lds-ripple-mini {
  position: relative;
  margin: auto;
  width: 36px;
  height: 36px;
}
.lds-ripple-mini div {
  position: absolute;
  border: 2px solid #007bff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple-mini 0.8s cubic-bezier(0, 0.2, 0.13, 0.24) infinite;
}
.lds-ripple-mini div:nth-child(2) {
  animation-delay: -0.4s;
}

@keyframes lds-ripple-mini {
  0% {
    top: 18px;
    left: 18px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 36px;
    height: 36px;
    opacity: 0;
  }
}

@keyframes lds-ripple-mini-container {
  0% {
    height: 0px;
    transform: scale(0);
  }
  100% {
    height: 36px;
    transform: scale(1);
  }
}

@keyframes lds-ripple-mini-container-footer {
  0% {
    bottom: -50px;
  }
  100% {
    bottom: 0px;
  }
}

.testingAgreement {
  text-align: left;
  list-style-type: decimal;
}
.testingAgreement > li > ul {
  list-style-type: none;
  margin-bottom: 16px;
}
.testingAgreement > li > ul > li > ul {
  list-style-type: none;
  margin-bottom: 16px;
}
.scroll-classification {
  overflow: auto;
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
  background-color: #f9f9fd;
}

::-webkit-scrollbar-thumb {
  border-radius: 7px;
  background-color: #b1b1b1;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background-color: #f9f9fd;
}

/* top menu */

.navMenu {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 2px 20px;
  justify-content: center;
  background-color: white;
  border-bottom: 1px solid #d2d2d2;
}
.btn-subMenu {
  display: none;
}
.topMenu {
  list-style-type: none;
}

.topMenu-center > li {
  z-index: 100;
  display: inline-block;
  margin-right: 20px;
  position: relative;
}
.topMenu-center > li:last-child {
  margin-right: 10px;
}

.topMenu-profile {
  z-index: 60;
  display: flex;
}

.topMenu-profile:hover {
  background-color: #458ff62f;
  border-radius: 5px;
}

.topMenu-profile > li {
  z-index: 100;
  display: inline-block;
  margin-right: 20px;
  position: relative;
}

.topMenu-profile > li:last-child {
  margin-right: 10px;
}

.submenu {
  position: absolute;
  border-radius: 5px;
  box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.25);
  top: 100%;
  left: 0;
  width: inherit;
  z-index: 100;
}

.submenu-user-info {
  display: flex;
  align-items: center;
  flex-direction: row;
  background-color: #458ff62f;
  border-radius: 5px;
  padding: 5px;
  transition: 0.25s linear;
}

.submenu-user-info:hover {
  background-color: #458ff663;
}

.navMenu ul {
  margin: 0;
  padding: 0;
  background: #ffffff;
}
.dividing-line-topMenu {
  border-right: 2px solid #979797;
  padding: 7px 0;
  margin: 0 20px;
}
.topMenu-center {
  z-index: 60;
}
.navMenu .submenu {
  transform: scaleY(0);
  transform-origin: 0 0;
  transition: 0.25s ease-in-out;
  background: #ffffff;
  list-style-type: none;
}
.logo-li {
  margin-right: 100px !important;
}
@media (max-width: 1440px) {
  .logo-li {
    margin-right: 20px !important;
  }
  .topMenu-center > li {
    margin-right: 5px;
  }
}
@media (max-width: 1080px) {
  .navMenu {
    display: flex;
    justify-content: space-between;
    padding: 2px 10px;
  }
  .btn-subMenu {
    display: block;
    border: 0;
    background-color: white;
  }

  .topMenu-center {
    z-index: 90;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 47px;
    left: 0;
    width: 100%;
  }
  .dividing-line-topMenu {
    display: none;
  }

  .topMenu-center > li {
    padding-left: 20px;
  }

  .topMenu-center > li:last-child {
    margin-right: 10px;
  }

  .submenu {
    position: static;
  }

  .navMenu .submenu {
    display: none;
    background: #eeeeee;
  }
  .logo-li {
    margin-right: 0 !important;
  }
}
.navMenu ul a {
  display: block;
  padding: 10px 20px 10px 0;
  outline: none;
  transition: 0.25s linear;
  text-decoration: none;
  color: #979797;
}
.navMenu ul a:hover {
  color: #000000;
}

.navMenu > ul > li:target .submenu {
  display: block;
  opacity: 1;
  transform: scaleY(1);
}

.submenu li a {
  white-space: nowrap;
  display: block;
  padding: 10px 15px;
  outline: none;
  transition: 0.25s linear;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #979797;
}

.submenu li a:hover {
  font-size: 15px;
  color: #000000;
}
.submenu-active {
  display: block !important;
  opacity: 1;
  transform: scaleY(1) !important;
}

.linkTopMenu::after {
  margin-left: 5px;
  content: url("../images/arrowSubMenu.svg");
}
.linkTopMenuLang {
  align-items: center;
}
.linkTopMenuLang::after {
  margin-left: 3px;
  content: url("../images/arrowSubMenu.svg");
}
.linkTopMenuLang::before {
  margin-right: 3px;
  content: url("../images/iconLang.svg");
}

.linkTopMenuProfile {
  align-items: center;
}
.linkTopMenuProfile::after {
  margin-left: 3px;
  content: url("../images/arrowSubMenu.svg");
}
.linkTopMenuProfile::before {
  background-image: url(../images/iconAccountPhoto.svg);
  background-size: 35px;
  display: inline-block;
  width: 35px;
  height: 35px;
  content: "";
}

.btn-Reporting-Errors-left {
  background-color: #ffffff;
  border-radius: 7px 0 0 0;
  background: white;
}
.btn-Reporting-Errors-right {
  background-color: #c4c4c4;
  border-radius: 0 7px 0 0;
  background: #c4c4c4;
}

.btn-Reporting-Errors {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  padding: 10px 5px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 -8px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.btn-Reporting-Errors:hover {
  cursor: pointer;
  background: white;
  box-shadow: 0 15px 20px rgba(143, 143, 143, 0.4);
  transform: translateY(-7px);
}

.pulse-box {
  box-shadow: 0 0 0 rgb(255, 0, 0);
  animation: pulse 2s;
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    box-shadow: 0 -0 0 rgb(0 0 0 / 0);
  }
  20% {
    -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    box-shadow: 0 -0 0 rgb(0 0 0 / 0);
  }
  40% {
    -moz-box-shadow: 0 0px 15px rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  }
  60% {
    -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    box-shadow: 0 -0 0 rgb(0 0 0 / 0);
  }
  80% {
    -moz-box-shadow: 0 0px 15px rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  }
  100% {
    -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    box-shadow: 0 -0 0 rgb(0 0 0 / 0);
  }
}

.Reporting-Errors-box {
  background-color: white;
  border-radius: 0 0 10px 10px;
  padding: 50px;
}
@media (max-width: 600px) {
  .Reporting-Errors-box {
    padding: 40px 5px;
  }
}

.new-agreement {
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  max-width: 80%;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  text-align: justify;
}

/* New styles for user management page */
.container-users-table {
  overflow: auto;
  height: 70vh;
  width: 100%;
}

.style-users-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.style-users-table thead th {
  position: sticky;
  top: 0;
  background-color: #5A98D0;
  color: white;
  z-index: 5;
  text-align: left;
  padding: 10px 8px;
}

.style-users-table th[data-key] {
    cursor: pointer;
}

.style-users-table th[data-key]:hover {
    background-color: #3b7bb5;
}

.style-users-table tbody td {
  padding: 5px 8px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.style-users-table tbody tr:hover {
  background-color: #f1f1f1;
}

.style-users-table th:nth-child(1), .style-users-table td:nth-child(1),
.style-users-table th:nth-child(2), .style-users-table td:nth-child(2) {
    position: sticky;
    background-color: #f8f9fa; 
    z-index: 6;
}

/* --- FIX FOR STICKY HEADER TEXT COLOR --- */
.style-users-table thead th:nth-child(1),
.style-users-table thead th:nth-child(2) {
    color: #212529; /* Dark text for light background */
}

.style-users-table tr:hover td:nth-child(1),
.style-users-table tr:hover td:nth-child(2) {
    background-color: #e9ecef;
}


.style-users-table th:nth-child(1), .style-users-table td:nth-child(1) {
    left: 0;
    min-width: 250px;
    border-right: 2px solid #adb5bd;
}

.style-users-table th:nth-child(2), .style-users-table td:nth-child(2) {
    left: 250px;
    min-width: 250px;
}

.style-users-table input[type="checkbox"] {
  display: block;
  margin: 0 auto;
  width: 1.2em;
  height: 1.2em;
}

.style-users-table input[type="number"],
.style-users-table input[type="date"],
.style-users-table select {
    min-width: 140px;
}

/* Hide old elements that are no longer needed */
#delete_user, #boxDelUser, #print_user_table, #columns_control {
    display: none !important;
}

.preset-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.preset-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 280px; /* Fixed width for each card */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    background-color: #fff;
}

.preset-card h5 {
    color: #007bff;
    margin-bottom: 10px;
}

.preset-card p {
    color: #555;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.preset-card .btn {
    width: 100%;
}