/*
этот файл сделан Виталием. Все css по вебформе находятся только здесь

первые 3 - обнуление старых стилей, т.к. мешали верстке

*/

body {
  font-family: Arial;
  font-size: 14px;
}

section {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#content {
  display: flex;
  margin-right: 0;
  background: #f4f4f4;
}

body #extra {
  float: none;
  width: 0;
  background-image: none;
  margin-bottom: 0;
}

body {
  background-color: #f4f4f4;
}

/* верхняя часть вебформы, где дата пикер, вып список и радио кнопки
margin-left: = основной отступ слева

*/
.incative {
  border-color: #ccc !important;
}

.tableHead {
  display: flex;
  align-items: center;
  flex: 1;
  column-gap: 50px;
}

#content .tableHead p.button {
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-indent: 0px;
  position: relative;
  left: -53px;
}

#content .tableHead .inputDate .button {
  left: 20px;
  margin: 5px 0 0 0;
}

.tableHead .button span {
  background: #fff;
  width: 20px;
  display: inline-block;
  height: 12px;
  border: 1px solid rgba(65, 123, 182);
  border-radius: 5px;
  position: relative;

  cursor: pointer;
}

.tableHead .inputWorker .button {
  top: -5px;
}

.tableHead .iconButtonR i {
  background: url(img/chosen-sprite.png) -2px -15px no-repeat;
  background-size: 35px auto;
  width: 8px;
  height: 8px;
  display: inline-block;
  position: relative;
  top: -3px;
  left: 7px;
  pointer-events: none;
}

.tableHead .iconButtonL i {
  background: url(img/chosen-sprite.png) -11px -15px no-repeat;
  background-size: 35px auto;
  width: 8px;
  height: 8px;
  display: inline-block;
  position: relative;
  top: -3px;
  left: 6px;
  pointer-events: none;
}

.worker .note {
  font-size: 14px;

}

.worker .note, .clinick .note {
  margin: 10px;
}

.tableHead .clinick span.note,
.tableHead .datePick span.note,
.tableHead .worker span.note {
  font-size: 12px;
  vertical-align: top;
  position: relative;
  top: 4px;
  width: 80px;
  display: inline-block;
  text-align: right;
  margin-right: 5px;
}

/*кнопки, кот открывают датапикер и вып список*/
.tableHead .arrow {
  background: url(js/chosen/chosen-sprite.png) 0px -4px no-repeat;
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  pointer-events: none;
}

.datePick, .clinick, .worker {
  display: inline-block;
  vertical-align: top;
}

.worker {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.datePick .inputDate {
  display: inline-block;
  position: relative;
  margin-top: 1px;
}

.datePick .inputDate input {
  font-size: 10px;
  border: 1px solid rgba(65, 123, 182, 0.8);
  border-radius: 6px;
  margin-left: 5px;
  padding: 3px 0px 3px 10px;
  height: 12px;
  width: 80px;
}

.worker .inputWorker {
  display: inline-block;
  margin-top: 2px;
  position: relative;
}

.clinick .inputClinic {
  display: inline-block;
  margin-top: 3px;
  position: relative;
}

#clinik_id {
  font-size: 10px;
  border: 1px solid rgb(178, 68, 21);
  border-radius: 6px;
  margin-left: 5px;
  padding: 3px 0px 3px 10px;
  height: 20px;
  width: 120px;
  line-height: 10px;
}

.radioButtons {
  display: inline-block;
  margin-bottom: 10px;
}

#content .radioButtons p {
  font-size: 9px;
  padding: 0px;
  text-indent: 0px;
  margin: 0px;
}

.radioButtons label {
  font-size: 9px;
  display: block;
}

.radioButtons input {
  display: none;
}

.radioButtons .customRadio {
  /* точки нет */
  width: 10px;
  height: 10px;
  background: url(js/radio.png) 0px -14px no-repeat;
  background-size: 110%;
  position: relative;
}

.radioButtons .customRadio,
.radioButtons .label {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

.radioButtons input:checked + .customRadio {
  /* точка есть. отличается тем что другой рисунок */
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url(js/radio.png) 0px -1px no-repeat;
  background-size: 110%;
}

/* отсюда идет сама табличка */

#content .tableBody {
  margin-right: 30px;
}

#content .tableBody table {
  border-collapse: collapse;
}

/* мин и макс ширина колонок, кроме кол. время */
.tableBody td {
  vertical-align: top;
  /* max-width: 300px;
  min-width: 100px; */
}

/* мин и макс ширина колонки время */
.tableBody table tr:first-child td {
  /* min-width: 20px;
  max-width: 50px; */
}

.tableBody td:nth-child(2) div {
  margin-left: 1px
}

#content .tableBody td:nth-child(2) div:nth-child(1) {
  margin-left: 0px;
}

#content .tableBody p {
  font-size: 8px;
  line-height: 14px;
  padding: 0px;
  text-align: justify;
  text-indent: 0px;
  margin: 0;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

/* ^^ click_on = true (определение хувера) */
#content .tableBody .hoverBlock:hover {
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #93c3ae;
  box-shadow: 0 0 3px 1px #b6dcc8;
}

/* ^^ element_type = 0 */
#content .tableBody .noneField {
  width: 1%;
  overflow: hidden;
}

/* ^^ element_type = 1 */
/* redHead = относится к заголовку таблицы */

#content .tableBody .redHead {
  border-top-right-radius: 15px;
  background: rgb(65, 123, 182);
  background: -moz-linear-gradient(top, rgb(65, 123, 182) 0%, rgb(59, 111, 164) 100%);
  background: -webkit-linear-gradient(top, rgb(65, 123, 182) 0%, rgb(59, 111, 164) 100%);
  background: linear-gradient(to bottom, rgb(65, 123, 182) 0%, rgb(59, 111, 164) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgb(65, 123, 182)', endColorstr='rgb(59, 111, 164)', GradientType=0);

  color: #fff;
  overflow: hidden;
}

#content .tableBody .redHead p {
  text-align: center;
  padding: 15px;
  font-size: 13px;
}

/* ^^ element_type = 2 */
/* redHeadO = заголовок с закруглением */
#content .tableBody .redHeadO {
  border-top-left-radius: 15px;
  background: rgb(65, 123, 182);
  background: -moz-linear-gradient(top, rgb(65, 123, 182) 0%, rgb(59, 111, 164) 100%);
  background: -webkit-linear-gradient(top, rgb(65, 123, 182) 0%, rgb(59, 111, 164) 100%);
  background: linear-gradient(to bottom, rgb(65, 123, 182) 0%, rgb(59, 111, 164) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgb(65, 123, 182)', endColorstr='rgb(59, 111, 164)', GradientType=0);

  color: #fff;
  overflow: hidden;
}

#content .tableBody .redHeadO p {
  text-align: center;
  font-size: 13px;
  padding: 15px;
}

/* ^^ element_type = 3 */
#content .tableBody .timeBlock {
  overflow: hidden; /*при выходе за край текст частично отображается */
  display: flex;
  justify-content: center;
  align-items: center;
}

#content .tableBody .timeBlock p {
  font-size: 9px;
  text-align: center;
}

/* ^^ element_type = 4 */
#content .tableBody .greyBlock {
  padding: 0px 1px 0px 5px;
  background-color: white;
  color: #7e7c7c;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid #bfbfbf;
}

/* ^^ element_type = 5 */
#content .tableBody .yellowBlock {
  padding: 0px 1px 0px 5px;
  background-color: #f8fae4;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid #f3e4b8;
  color: #7e7c7c;
}

/* ^^ element_type = 6 */
#content .tableBody .redBlock {
  color: white;
  padding: 0px 1px 0px 5px;
  overflow: hidden;
  background-color: #690301;
  border-radius: 5px;
  border: 1px solid #641515;
}

/* ^^ element_type 7 */
#content .tableBody .activeTimeBlock {
  background: #dfe1fe;
  border: 1px solid #d4d6f1;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#content .tableBody .activeTimeBlock p {
  font-size: 9px;
  text-align: center;
}

/* ^^ icon 1 */
.tableBody .iconOne {
  display: inline-block;
  height: 5px; /*отрезаем только 5 пикселей из картинки*/
  width: 5px; /*отрезаем только 5 пикселей из картинки*/
  border: 1px solid;
  border-radius: 5px;
  margin-right: 5px;
  /* иконку добавлять сюда backgroud: url() урл относительный. После url два возможных параметра - по вертикали и по горизонтали - отступ внутри файла. Любое изображение bmp png jpg */
}

/* ^^ icon 2 */
.tableBody .iconTwo {
  display: inline-block;
  height: 5px;
  width: 5px;
  border: 1px solid;
  margin-right: 5px;
}

/* ^^ icon 3 */
.tableBody .iconThree {
  display: inline-block;
  height: 5px;
  width: 5px;
  border: 1px solid;
  margin-right: 5px;
}

/* ^^ Кастомные стили для датапикера */
#ui-datepicker-div.ui-widget {
  font-size: 0.7em;
  margin-top: 4px;
}

#ui-datepicker-div .ui-state-highlight,
#ui-datepicker-div .ui-widget-content .ui-state-highlight,
#ui-datepicker-div .ui-widget-header .ui-state-highlight {
  background: #b61815;
  color: white;
  border: 1px solid #970f10;
}

#ui-datepicker-div .ui-state-hover,
#ui-datepicker-div .ui-widget-content .ui-state-hover,
#ui-datepicker-div .ui-widget-header .ui-state-hover,
#ui-datepicker-div .ui-state-focus,
#ui-datepicker-div .ui-widget-content .ui-state-focus,
#ui-datepicker-div .ui-widget-header .ui-state-focus,
#ui-datepicker-div .ui-button:hover,
#ui-datepicker-div .ui-button:focus {
  border: 1px solid #a8a3c2;
}

/* ^^ Кастомные стили для chosen */

.inputWorker .chosen-container-multi .chosen-choices li.search-field input[type=text] {
  height: 14px;
}

.inputWorker .chosen-container .chosen-choices .chosen-search-input {
  height: 18px;
}

.inputWorker .chosen-container-multi .chosen-choices {
  border: 1px solid #b81713;
  border-radius: 6px;
}

.inputWorker .chosen-container-multi.chosen-container-active .chosen-choices {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.inputWorker .chosen-container-multi .chosen-drop {
  border: 1px solid #b41818;
  border-top: 0px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.inputWorker .chosen-container-multi .chosen-drop .no-results span {
  font-size: 9px;
}

.inputWorker .chosen-container-multi li {
  font-size: 9px;
  padding: 1px 6px 1px 6px;
}

.inputWorker .chosen-container-multi .active-result.highlighted {
  background-color: #b61815;
  background-image: none;
  color: #fff;
  border-top: 1px solid #b41818;
  border-bottom: 1px solid #b41818;
}

.chosen-container-multi .chosen-choices li.search-choice {
  border-radius: 10px;
  margin: 1px 5px 0px 0px;
  padding: 0px 20px 0px 5px;
  line-height: 12px;
  border: 1px solid #b41818;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  top: 0px;
  width: 10px;
  height: 11px;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
  background-position: -42px 1px;
}

.chosen-container-multi .chosen-choices li.search-choice span {
  font-size: 8px;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
  font-size: 9px;
}

/*=================== ^^ Всплывающее окно ====================*/
.fourthForm{
  display: none;
  flex-direction: column;
  align-content: center;
  background: #fff;
  width: 310px;
  border-radius: 15px;
  font-family: Arial;
  position: relative;
  padding: 0 10px 10px;

  .calendar-doctor{
    display: flex;
    justify-content: center;
  }
}

.fifteenForm{
  display: none;
  flex-direction: column;
  align-content: center;
  background: #fff;
  width: 310px;
  border-radius: 15px;
  font-family: Arial;
  position: relative;
  padding: 0 10px 10px;

  .calendar-doctor{
    display: flex;
    justify-content: center;
  }
}



.sixteenForm{
  display: none;
  flex-direction: column;
  align-content: center;
  background: #fff;
  width: 310px;
  border-radius: 15px;
  font-family: Arial;
  position: relative;
  padding: 15px 10px;

  .message-success{
    display: flex;
    justify-content: center;
    font-size: 16px;
    text-align: center;
  }
}


#windowPopUp .firstForm, #windowPopUp .secondForm, #windowPopUp .thirdForm {
  background: #fff;
  width: 310px;
  border-radius: 15px;
  display: none;
  font-family: Arial;
  position: relative;
}

.firstForm h3, .secondForm h3, .thirdForm h3, .fourthForm h3 {
  text-align: center;
  font-size: 22px;
}

.firstForm .selectForm, .secondForm .versions, .thirdForm .docs {
  padding: 10px;
}

.firstForm .selectForm li:hover, .secondForm .versions li:hover, .thirdForm .docs li.active {
  background: rgb(20, 69, 109);
  box-shadow: 0 1px 0px rgb(65, 123, 182);
}

.firstForm .selectForm li, .secondForm .versions li, .thirdForm .docs li {
  background: rgb(65, 123, 182);
  border-radius: 5px;
  box-shadow: 0 1px 0px rgb(65, 123, 182);
  list-style: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  padding: 10px;
  text-align: center;
  margin-bottom: 10px;
}

.thirdForm .docs li {
  width: 253px;
}

.tabhead .note {
  height: 50px;
  padding: 5px;
}

.closeIcon:hover {
  COLOR: red;
}

.closeIcon {
  position: absolute;
  top: -10px;
  right: -10px;
  COLOR: #000;
  display: block;
  cursor: pointer;
}

.thirdForm button, .worker button, .clinick button {
  background: rgb(65, 123, 182);
  border-radius: 5px;
  border: 0;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  padding: 10px;
  margin: 10px;
  width: 280px;
}

.thirdForm span {
  font-size: 12px;
  text-align: center;
  display: block;
}

.thirdForm ul {
  height: 200px;
  overflow-y: scroll;
}

#search {
  border: 1px solid rgb(65, 123, 182);
  border-radius: 5px;
  width: 257px;
  margin: 10px;
  padding: 5px 10px;
}

/* здесь начинается модалка */

#windowPopUp .backgroundPopUp {
  /*подложка */
  position: fixed;
  background-color: hsla(0, 0%, 0%, 0.5);
  z-index: 9999;
  width: 100%;
  height: 100%;
  top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
}

#windowPopUp .backgroundPopUp .formPopUp {
  /* сама форма */
  background: #fff;
  width: 300px;
  border-radius: 15px;
  display: none;
  position: relative;
  font-family: Arial;
}

#windowPopUp .formPopUp .headPopUp p {
  /* заголовок - текст */
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  margin: 0;
  font-size: 14px;
  color: #fff;
  text-align: center;
  padding: 7px;
}

#windowPopUp .formPopUp .headPopUp {
  /* заголовок */
  background: rgb(65, 123, 182);
  height: 40px;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#windowPopUp .formPopUp .bodyPopUp {
  /* тело формы */
  padding: 0px 20px;
}

#windowPopUp .formPopUp .bodyPopUp p {
  /* тело формы текст наверху */
  text-align: right;
  font-size: 9px;
  font-weight: bold;
  color: #3d3f5f;
}

#windowPopUp .formPopUp .bodyPopUp .button {
  height: 30px;
}

#windowPopUp .formPopUp .bodyPopUp label {
  /* обертка вокруг подписи и элемента */
  display: block;
  position: relative;
  color: #3d3f5f;
  height: 15px;
  padding: 5px 0px;
}

#windowPopUp .formPopUp .bodyPopUp select {
  width: 185px;
  float: right;
  border-radius: 5px;
  border: 1px solid rgba(65, 123, 182, 1);
  line-height: 15px;
}

#windowPopUp .formPopUp .bodyPopUp input {
  width: 173px;
  float: right;
  border: 1px solid rgba(65, 123, 182, 1);
  border-radius: 5px;
  line-height: 15px;
  padding-left: 10px;
  /* outline:none; */
}

#windowPopUp .formPopUp .bodyPopUp textarea {
  width: 171px;
  float: right;
  border: 1px solid rgba(65, 123, 182, 1);
  border-radius: 5px;
  padding-left: 10px;
  resize: none;
  /* outline:none; */
  font-size: 9px;
  font-family: Arial;
}

/*#windowPopUp .formPopUp .bodyPopUp label:last-child input {
  height: 75px;
}*/
#windowPopUp .formPopUp .bodyPopUp span {
  /* подписи к элементу */
  font-size: 9px;
  line-height: 18px;
  float: right;
  margin-right: 5px;
}

#windowPopUp .formPopUp .button span {
  /* button = название стиля, высота кнопок */
  background: rgb(65, 123, 182);
  display: inline-block;
  border-radius: 10px;
  font-size: 12px;
  color: #fff;
  line-height: 25px;
  padding: 0px 9px;
  margin: 5px 0px 5px 25px;
  cursor: pointer;
}

.errInfo {
  color: red !important;
  display: none;
}

/***** NEW STYLE FOR CALENDARTABLE ***/

.specline {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

}

.specline:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.cl {
  clear: both;
  height: 0px;
  line-height: 0px;
}

.left-col {
  width: 35%;
  overflow: hidden;
  float: left;
}

.right-col {
  width: 65%;
  float: left;
  overflow: hidden;
  position: relative;
}

.redHead {
  background-color: #b61815;
  color: #fff;
  border-top: 1px solid white;
  overflow: hidden;
  padding: 12px;
  text-align: center;
  font-family: Arial;
  font-size: 15px;
  border-bottom: 1px solid white;
}

.redHeadO {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  border-top-left-radius: 50px;
  background-color: #b61815;
  color: #fff;
  overflow: hidden;
  margin-right: 2px;
  margin-bottom: 0px;
  padding: 12px;
  text-align: center;
  font-family: Arial;
  font-size: 15px;
}

.spec {
  color: #4A4A4A;
  overflow: hidden;
  border: 1px solid rgba(65, 123, 182, 0.4);
  padding: 5px 1px 5px 8px;
  margin: 0px 2px 0px 1px;
  border-radius: 9px;
  font-size: 12px;
  font-family: Arial;
}

.kard {
  background: url(img/kard.png) no-repeat right
}

.ped {
  background: url(img/ped.png) no-repeat right
}

.travm {
  background: url(img/travm.png) no-repeat right
}

.hir {
  background: url(img/hir.png) no-repeat right
}

.spec-vid {
  margin-top: 10px;
  font-style: italic;
  color: #898989;
}

.time {
  color: #4A4A4A;
  overflow: hidden;
  float: left;
  border: 1px #AFDEAF solid;
  padding: 5px 8px 5px 8px;
  margin: 2px;
  border-radius: 6px;
  font-size: 10px;
  font-family: Arial;
  background-color: #F8FAE4;
  text-decoration: none;
}

.time:hover {
  box-shadow: 0 0 2px #96A84D;
  cursor: pointer;
}

.time-gr {
  background-color: #96A84D;
  color: #FFFFFF;

}

.time-white {
  background-color: #fff;
}

/* Пациент только что записался на этот слот */
.time-blue {
  color: #4A4A4A;
  overflow: hidden;
  float: left;
  border: 1px #00A0E3 solid;
  padding: 5px 8px 5px 8px;
  margin: 2px;
  border-radius: 6px;
  font-size: 10px;
  font-family: Arial;
  text-decoration: none;
  background-color: #B3DCEE;
}

.tiket-line {

  border-bottom: 1px solid rgba(65, 123, 182, 0.4);
}

.day {
  clear: both;
}

.chosen-container-single .chosen-single {
  border: 1px solid rgb(178, 68, 21);
  height: 20px;
  line-height: 20px;
}

/**** END ***/

/** Катомизация календаря **/
.calendar-doctor{

}

/* ============ ОСНОВНОЙ КОНТЕЙНЕР ============ */
.calendar-doctor .ui-datepicker {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  width: 320px;
  border: none;
  padding: 0 0 5px;
}

/* ============ ШАПКА ============ */
.calendar-doctor .ui-datepicker-header {
  background: linear-gradient(180deg, rgb(59, 111, 164), rgb(65, 123, 182));
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

.calendar-doctor .ui-datepicker-title {
  color: white;
  font-size: 1rem;
  letter-spacing: 0.4px;
}

/* Кнопки навигации */
.calendar-doctor .ui-datepicker-prev,
.calendar-doctor .ui-datepicker-next {
  position: absolute;
  top: 8px;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  line-height: 28px;
  text-align: center;
  color: rgb(65, 123, 182);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.calendar-doctor .ui-datepicker-prev:hover,
.calendar-doctor .ui-datepicker-next:hover {
  background: rgb(230, 240, 250);
  transform: scale(1.05);
}

.calendar-doctor .ui-datepicker-prev { left: 8px; }
.calendar-doctor .ui-datepicker-next { right: 8px; }

/* Стрелки */
.calendar-doctor .ui-icon { display: none !important; }

.calendar-doctor .ui-datepicker-prev::after,
.calendar-doctor .ui-datepicker-next::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgb(65, 123, 182);
  border-right: 2px solid rgb(65, 123, 182);
  transform: rotate(225deg);
  margin-top: 8px;
}

.calendar-doctor .ui-datepicker-next::after {
  transform: rotate(45deg);
}

/* ============ ТАБЛИЦА ДАТ ============ */
.calendar-doctor .ui-datepicker table {
  border-collapse: collapse;
  margin: 0;
  width: 300px;
  margin: 0 auto;
}

.calendar-doctor .ui-datepicker th {
  color: rgb(65, 123, 182);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 0;
  text-transform: uppercase;
}

.calendar-doctor .ui-datepicker td {
  padding: 2px;
}

/* Даты */
.calendar-doctor .ui-datepicker td a {
  display: block;
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  color: black;
  background: transparent;
  transition: all 0.25s ease;
  font-weight: 500;
}

/* Hover */
.calendar-doctor .ui-datepicker td a:hover {
  background: rgb(65, 123, 182);
  color: white;
  transform: translateY(-1px);
}

/* Сегодняшний день */
.calendar-doctor .ui-datepicker-today a {
  border: 1px solid rgb(65, 123, 182);
  font-weight: 600;
}

/* Выбранный день */
.calendar-doctor .ui-datepicker .ui-state-active {
  background: linear-gradient(180deg, rgb(65, 123, 182), rgb(59, 111, 164)) !important;
  color: white !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(59, 111, 164, 0.4);
}

/* Недоступные даты */
.calendar-doctor .ui-datepicker-unselectable.ui-state-disabled span {
  color: rgba(0, 0, 0, 0.25);            /* приглушённый текст */
  background: rgba(0, 0, 0, 0.05);       /* лёгкий фон */
  border-radius: 10px;
  cursor: not-allowed;
  text-decoration: line-through;         /* визуально отличить */
  display: block;
  text-align: center;
  padding: 8px 0;
  font-weight: 500;
  user-select: none;
  transition: all 0.2s ease;
}

/* при наведении — ничего не происходит */
.calendar-doctor .ui-datepicker-unselectable.ui-state-disabled span:hover {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.25);
  transform: none;
}


.back-window{
  display: flex;
  background: transparent;
  color: rgb(65, 123, 182);
  border: 0;
  margin-top: 10px;
  cursor: pointer;
  padding-top: 15px;
}

.back-window.left{
  padding: 10px 15px;
}

.head-form{
  margin-top: 5px;
}

@media (max-width: 768px) {
  .tableHead{
    padding: 25px 0 0;
    flex-direction: column;
    row-gap: 15px;
  }

  .tableHead .worker{
    flex-direction: column;
    row-gap: 15px;
  }
}
