@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body, html {
  padding: 0;
  margin: 0;
}

p {
  padding: 0;
  margin: 0;
}

:root {
  --color-green: #2DCD65;
  --color-green-trans: #2DCD6550;
  --color-heading: #3C3C3C;
  --color-text: #3B3B3B;
  --color-menu: #494949;
  --color-profile: #434343;
  --color-disabled: #767676;
  --color-grey: #e3e3e3;
  --color-oceanblue:#27B996;
  --color-blue:#2D93CD;
  --color-red:#F04E4E;
}

/* LOGIN FORM */
.login-form {
  max-width: 300px;
  width: 100%;
  margin: auto;
  height: 100%;
  min-height: 100vh;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 200px;
  box-sizing: border-box;
}

.login-heading {
  text-align: center;
  font-family: "Inter", sans-serif;
  color: var(--color-heading);
  font-size: 32px;
  font-weight: 500;
  margin: 33px 0 57px;
}

.login-form label {
  width: 100%;
}

.login-form input {
  width: 100%;
  margin-bottom: 13px;
  padding: 5px 0;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  border-radius: 11px;
  outline: 0;
  border: 1px solid var(--color-profile);
}

.remember-label {
  display: flex;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #3C3C3C;
}

.remember-label input {
  border-radius: 5px;
  outline: 0;
  border: 1px solid var(--color-profile);
  width: 17px;
  height: 17px;
  margin-right: 15px;
}

.forget_links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.forget_links a {
  color: var(--color-heading);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 10px;
}

.login-form .btn {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-profile);
  cursor: pointer;
}

.login-form .btn:hover {
  background: #fff;
  color: var(--color-green);
}

/* Common styles */
footer {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

/* Panel */
aside {
  margin: 0;
  padding: 0;
  width: 350px;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  box-shadow: 0px 0px 58px 25px #0000000D;
}

main {
  margin: 0;
  padding: 0;
  width: calc(100% - 350px);
  height: 100vh;
  box-sizing: border-box;
}

div.wrapper {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.logo {
  width: fit-content;
  height: fit-content;
  box-sizing: border-box;
  margin: 20px auto;
}

.logo img {
  height: 70px;
  width: 184px;
}

.menu {
  width: 100%;
  box-sizing: border-box;
  margin: 60px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-item {
  display: flex;
  justify-content: flex-start;
  width: calc(100% - 40px);
  padding: 0 20px;
  border-radius: 26px;
  align-items: center;
  height: 42px;
  margin: 0 20px 12px 20px;
  box-sizing: border-box;
  cursor: pointer;
}

.menu-item.active, .menu-item:hover {
  background: var(--color-green);
}

.menu-item a, .menu-item a:hover, .menu-item a:visited {
  color: var(--color-menu);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-align: left;
  text-decoration: none;
}

.menu-icon {
  width: 24px;
  height: 24px;
  margin-right: 22px;
}

.current-user {
  width: 100%;
  height: 86px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.user-img {
  height: 56px;
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 50%;
  margin: 15px 0;
}

.user-meta {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 15px;
  width: calc(100% - 101px);
}

.user-name {
  font-family: "Golos Text VF", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
  text-align: left;
  color: var(--color-profile);
}

.user-position {
  font-family: "Golos Text VF", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  text-align: left;
  margin-top: -2px;
  color: var(--color-profile);
}

.settings-btn {
  margin: 28px 0 28px 0;
}

.settings-btn svg {
  height: 30px;
  width: 30px;
}

/* Header */
header {
  width: 100%;
  height: 40px;
  background: #fff;
  box-sizing: border-box;
  padding-right: 45px;
  box-shadow: 60px 4px 25px 15px #0000000D;
}

.company {
  float: right;
  font-family: "Golos Text VF", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  text-align: right;
  color: var(--color-disabled);
  margin: 13px 0;
}

#page {
  padding: 15px 45px;
  width: 100%;
  box-sizing: border-box;
}

h1 {
  font-family: "Inter";
  font-size: 32px;
  font-weight: 500;
  line-height: 38.73px;
  text-align: left;
}

h2 {
  font-family: "Inter";
  font-size: 24px;
  font-weight: 500;
  line-height: 29.05px;
  text-align: left;
}

p.panel-text {
  font-family: "Inter";
  font-size: 15px;
  font-weight: 300;
  line-height: 18.15px;
  text-align: left;
}

.alert-msg {
  padding: 5px;
  text-align: center;
  margin-bottom: 15px;
  border: 3px solid #FF607080;
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #FF607080;
}

/* Table styles */
.panel-table {
  width: 100%;
  margin-top: 22px;
}

.panel-table table {
  width: 100%;
  border: 1px solid #5B5B5B50;
  border-radius: 26px;
  border-collapse: separate;
}

.panel-table tr {
  padding: 0 25px;
}

.panel-table thead tr {}

.panel-table td {
  height: 45px;
  line-height: 45px;
  padding: 0 25px;
  border-right: 1px solid #5B5B5B50;
  border-top: 1px solid #5B5B5B50;
}

.panel-table tr td:last-child {
  border-right: none;
}

.panel-table thead td {
  border-top: none;
}

.btn-green {
  background: var(--color-green);
  color: #fff;
  border: 2px solid var(--color-green);
}

.h1_btns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.h1_btns .btn {
  margin-left: 15px;
  display: flex;
  aline-items: center;
  justify-content: center;
}

.btn-green img {
  margin-right: 5px;
}

.btn-green .btn-img-hover, .btn-green:hover .btn-img {
  display: none;
}

.btn-green:hover .btn-img-hover, .btn-green .btn-img {
  display: flex;
}

.btn-green:hover {
  border-color: var(--color-green);
  color: #474747;
}

/* Settings */
.block_title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 29.05px;
  text-align: left;
  margin-bottom: 30px;
}

.settings_block {
  margin-top: 22px;
}

.settings_block fieldset {
  max-width: 800px;
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}

.settings_block fieldset label {
  width: 50%;
  height: 19px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-align: left;
}

.settings_block fieldset input {
  width: 50%;
  height: 35px;
  line-height: 28px;
  border: 1px solid #434343;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.settings_block fieldset textarea {
  width: 50%;
  height: 100px;
  line-height: 28px;
  border: 1px solid #434343;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  resize: none;
}

.settings_block fieldset select {
  width: 50%;
  height: 35px;
  line-height: 28px;
  border: 1px solid #434343;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.schedule-container {
  margin-top: 30px;
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: scroll;
}

.schedule-container::-webkit-scrollbar {
  display: none;
}

.schedule-wp {
  width: 471px;
  margin-right: 15px;
}

.swp-title-container {
  display: flex;
  align-items: center;
  height: fit-contnet;
  min-height:30px;
}

.swp-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin-right: 10px;
  max-width: 200px;
  line-height: 1.2em;
}

.swp-title-container .btn {
  background: #1EA94F;
  border-radius: 15px;
  padding: 0 14px;
  height:30px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 30px;
  color: #fff;
  display: flex;
  align-items: center;
}

.swp-items {
  margin-top: 30px;
  position: relative;
}

.swp-item {
  display: flex;
}

.swpi-left {
  width: 47px;
  margin-right: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time_from, .time_to {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #000;
}

.time_to {
  color: #989898;
}

.swpi-right {
  background: #2DCD65;
  margin-bottom: 15px;
  width: 399px;
  border-radius: 24px;
  padding: 10px 20px;
  box-sizing: border-box;
}

.swpi-item-pacient {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 16.94px;
  text-align: left;
  color: #fff;
}

.swpi-item-order {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 13.31px;
  color: #fff;
  margin-top: 2px;
}

.swpi-item-doctor {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 13.31px;
  text-align: left;
  color: #fff;
  margin-top: 13px;
}

.swpi-item-place {
  font-family: Inter;
  font-size: 8px;
  font-weight: 400;
  line-height: 9.68px;
  text-align: left;
  color: #fff;
  margin-top: 2px;
}

.time_div {
  height: 1px;
  width: 8px;
  background: #000;
  margin: 3px 0;
}

.swp-item:last-child .swpi-right {
  margin-bottom: 0px;
}

.swp-items:before {
  display: block;
  content: '';
  height: 100%;
  position: absolute;
  width: 1px;
  background: #E6E6E6;
  left: 56px;
}

.panel_block{
  margin-top:30px;
}
.closes_swp{
 background:#2DCD65;
 width:399px;
 border-radius:24px;
 box-sizing:border-box;
 padding:10px 20px;
 height:90px;
 position:relative;
}
.swpi-item-time{
 font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 16.94px;
  text-align: center;
  color:#fff;
  position:absolute;
  top:10px;
  right:20px;
}
.schedule-wp:nth-child(2n) .swpi-right{
 background:#2DC3CD;
}
.schedule-wp:nth-child(2n) .swp-title-container .btn{
 background:#29ADB6;
}

.btn-save{
 background:var(--color-green);
}
.btn-cancel,.btn-apply{
 background:var(--color-grey);
}
.btn-cancel-red{
  background:var(--color-red);
  color:#fff;
}
.btn-replan{
  background:var(--color-blue);
  color:#fff;
}
.btn-addcase{
  background:var(--color-oceanblue);
  color:#fff;
}
.btns-group{
 margin-top:30px;
 display:flex;
 justify-content:flex-end;
 max-width:800px;
}
.btns-group .btn{
 margin-left:10px;
}
.error{
 border:1px solid var(--color-red);
 border-radius:5px;
 padding:10px;
 background:#FEDCDC;
 max-width:800px;
 margin:8px 0;
}
.settings_block fieldset select {
  max-width: 50%;
  width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  box-sizing: border-box;
}
.timePickerBtn{
 background:var(--color-green);
 color:#fff;
 outline:none;
 border:none;
 padding:3px 10px;
 border-radius:4px;
 position:absolute;
 right:5px;
}
fieldset:has(.timePickerBtn){
 position:relative;
}
.settings_block fieldset input{
  padding:8px 16px;
 height:auto;
}
.modal-content{
 width:50%;
 left:25%;
 height:300px;
 overflow:auto;
 top:calc(50% - 150px);
 padding:15px;
 position:relative;
}
.modal-content:before{
 content:'';
 width:100%;
 height:100%;
 position:fixed;
 top:0;
 left:0;
 background:rgba(0,0,0,0.3);
 z-index:-9;
}
.modal-content .close{
 width:30px;
 box-sizing:border-box;
 padding-left:1.5px;
 padding-bottom:2px;
 height:30px;
 border-radius:50%;
 position:fixed;
 top:30px;
 z-index:9;
 background:#ffffff60;
 display:flex;
 backdrop-filter:blur(48px);
 align-items:center;
 justify-content:center;
 left:calc(50% - 15px);
}
.modal-content{
 justify-content:space-between;
}
#datepicker {
    height: 35px;
    line-height: 28px;
    border: 1px solid #434343;
    border-radius: 3px;
    box-sizing: border-box;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 300;
    padding:10px 20px;
}
#prevDay{
  width:35px;
  height:35px;
   background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDgnIGhlaWdodD0nNDgnIHZpZXdCb3g9JzAgMCA0OCA0OCcgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZyBjbGlwLXBhdGg9J3VybCgjY2xpcDBfMF8xODQ4KSc+PHBhdGggZD0nTTMwLjgzIDMyLjY3TDIxLjY2IDIzLjVMMzAuODMgMTQuMzNMMjggMTEuNUwxNiAyMy41TDI4IDM1LjVMMzAuODMgMzIuNjdaJyBmaWxsPSdibGFjaycvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9J2NsaXAwXzBfMTg0OCc+PHJlY3Qgd2lkdGg9JzQ4JyBoZWlnaHQ9JzQ4JyBmaWxsPSd3aGl0ZScvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPgo=");
   display:block;
    background-position:center;
     background-size:35px;
      background-repeat:no-repeat;
cursor:pointer;
}
#nextDay{
   width:35px;
  height:35px;
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDgnIGhlaWdodD0nNDgnIHZpZXdCb3g9JzAgMCA0OCA0OCcgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZyBjbGlwLXBhdGg9J3VybCgjY2xpcDBfMF8xODU0KSc+PHBhdGggZD0nTTE3LjE3IDMyLjkyTDI2LjM0IDIzLjc1TDE3LjE3IDE0LjU4TDIwIDExLjc1TDMyIDIzLjc1TDIwIDM1Ljc1TDE3LjE3IDMyLjkyWicgZmlsbD0nYmxhY2snLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSdjbGlwMF8wXzE4NTQnPjxyZWN0IHdpZHRoPSc0OCcgaGVpZ2h0PSc0OCcgZmlsbD0nd2hpdGUnLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4K");
   display:block;
    background-position:center;
     background-size:35px;
      background-repeat:no-repeat;
     cursor:pointer;
}
.date-container{
 display:flex;
 align-items:center;
 justify-content: flex-start;
 gap:15px;
}
.ui-widget-header{
  border:none!important;
  background:none!important;
  font-family:"Inter", sans-serif;
}
.ui-datepicker-title{
    font-weight:400;
}
.ui-datepicker th{
    font-weight:500;
    color:var(--color-green);
    font-family:"Inter", sans-serif;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
        font-family:"Inter", sans-serif;
          border:none!important;
  background:none!important;
  text-align:center;
  border-radius:500px;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    color:#fff!important;
    background:var(--color-green)!important;

  border-radius:500px;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus{
        background:var(--color-green)!important;
        border:none;

  border-radius:500px;
  color:#fff;
}
.schedule {
  display: grid;
  grid-template-columns: 150px 1fr;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.schedule .time-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  border-left: 1px solid #ddd;
}
.schedule .time-grid div {
  text-align: center;
  padding: 8px;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}
.schedule .chair {
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 8px;
  font-weight: bold;
  font-size: 14px;
}
.schedule .row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  border-top: 1px solid #ddd;
  min-height: 80px;
  --bs-gutter-x:unset;
  --bs-gutter-y:unset;
}
.schedule .row div {
  border-left: 1px solid #eee;
  padding-left:5px;
  text-decoration: none;
}
.schedule .appointment {
  position: absolute;
  top: 8px;
  height: 60px;
  background: #00acc1;
  color: white;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    height:fit-content;
    text-decoration: none;
}
.schedule .appointment .name {
  font-weight: bold;
  margin-bottom: 2px;
}

.schedule-container{
    flex-direction:column;
    gap:30px;
}
.panel-tabs{
    margin:30px 0;
    display:flex;
    flex-direction:row;
    gap:5px;
    border-bottom:1px solid #eee;
}
.panel-tab-link{
    display:block;
    text-decoration: none;
    background:#eee;
    padding:7px 13px;
    border-radius:5px 5px 0 0;
    color:var(--color-black);
}
.panel-tab-link:hover{
    background:var(--color-green-trans);
}
.panel-tab-link.active{
    background:var(--color-green);
}

.panel-tab{
    display:none;
}
.panel-tab.active{
    display:block;
}
.top-notify{
    margin:15px 0;
}
.top-notify p{
    color:#bbb;
     font-size:14px;
}
.st_row{
    display:flex;
    gap:30px;
    align-items:flex-start;
    flex-direction: column;
}
.st_row > div:has(.st_name) {
   display:flex;
   justify-content: space-between;
   width:100%;
   align-items: center;
}
.st_row{
    position:relative;
    margin:10px 0;
}
.steps_table{
    max-width:800px;
}
.panel-tab .alert{
    left:0;
    right:0;
    bottom:0;
    font-size:13px;
    background:#f8604a50;
    font-weight:600;
}
.panel-tab .alert.success{
  background:#5cf84a50;
}
.schedule-line{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
}
.btn-default{
      background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-profile);
  cursor: pointer;
}
.success_check{
    width:24px;
    height:24px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xOS42MTg5IDUuMjE0NTVDMjAuMDUyNyA1LjU1NjM0IDIwLjEyNzMgNi4xODUxIDE5Ljc4NTUgNi42MTg5MUwxMS4xMTg5IDE3LjYxODlDMTAuOTI5MiAxNy44NTk2IDEwLjYzOTggMTggMTAuMzMzNCAxOEMxMC4wMjcgMTggOS43Mzc1IDE3Ljg1OTYgOS41NDc4OCAxNy42MTg5TDUuMjE0NTUgMTIuMTE4OUM0Ljg3Mjc2IDExLjY4NTEgNC45NDczNSAxMS4wNTYzIDUuMzgxMTcgMTAuNzE0NkM1LjgxNDk4IDEwLjM3MjggNi40NDM3NCAxMC40NDc0IDYuNzg1NTMgMTAuODgxMkwxMC4zMzM0IDE1LjM4NDJMMTguMjE0NiA1LjM4MTE3QzE4LjU1NjMgNC45NDczNSAxOS4xODUxIDQuODcyNzYgMTkuNjE4OSA1LjIxNDU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==);
    display:block;
    background-color:var(--color-green);
    border-radius:50%;
    background-size:20px;
    background-position:center;
}
.st_row{
    margin:20px 0;
}
