* {
    box-sizing: border-box;
    margin40px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }

  body {
    background-color: #355b62;
    color: #333;
  }

  hr {
    border: none;
    height: 1px;
    background-color: #8b8b8b;
    width: 100%;
    margin: 16px 0;
  }

  hr.light {
    background-color: #dcdfe6;
  }

  .container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    width: 100%;
    padding: 0;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    width: 230px;
    background-color: #355b62;
    color: white;
    padding: 20px;
    flex-shrink: 0;
    transition: width 0.3s ease-in-out;
    overflow-x: hidden;
  }

  .sidebar .logo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .sidebar nav h3 {
    color: #bebebe;
    font-size: 10px;
    padding: 0 10px;
  }

  .sidebar nav a {
    display: flex;
    padding: 8px;
    color: #bebebe;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: left;
    font-size: 15px;
    align-items: center;
  }

  .sidebar nav a.active,
  .sidebar nav a:hover {
    background-color: #4fbdc1;
    color: white;
  }

  .sidebar img {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    margin-right: 8px;
    align-items: center;
  }

  /* The section at the bottom of the sidebar */
  .sidebar .support {
    margin-top: auto;
    display: block;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
  }

  .support button, .support .s-btn {
    display: flex;
    padding: 10px 15px;
    background: transparent;
    color: rgb(224, 224, 224);
    width: 190px;
    margin-top: 15px;
    border: 1px solid rgba(204, 204, 204, 0.5);
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    align-items: center;
    text-decoration: none;
  }

  .support button.active,
  .support button:hover,
  .support .s-btn:hover,
  .support .s-btn.active {
    background: #3f7179;
  }

  .sidebar .button-container {
    display: inline-block;
    width: 190px;
    border: 1px solid rgba(204, 204, 204, 0.5);
    border-radius: 6px;
    text-align: center;
  }

  .button-container .language {
    display: inline-block;
    width: 85px;
    border: none;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 11px;
    text-align: center;
  }

  .sidebar .user {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 5px;
    border: none;
    cursor: pointer;
    text-align: left;
    position: relative;
  }

  .user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
  }

  .user span {
    color: rgb(174, 174, 174);
    font-size: 10px;
  }

  .user .arrow img {
    width: 15px;
    height: 100%;
    align-items: right;
    margin-left: 10px;
  }

  /* The main dashboard */
  .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
    margin-right: 10px;
    margin-bottom: 15px;
  }

  .topbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px 0;
    background-color: white;
  }

  .tabs button {
    height: 60px;
    margin-right: 10px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .tabs button:hover {
    background-color: #e0f0f3;
    color: #0f6c78;
  }

  .tabs button.active {
    background-color: white;
    color: #0f6c78;
    border-bottom: 2px solid #0f6c78;
  }

  .top-controls {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .top-controls button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    height: 37px;
  }

  .top-controls img {
    width: 17px;
    margin-right: 5px;
  }

  .top-controls button.filter img {
    width: 17px;
    margin-right: 0;
  }

  .top-controls .button-container {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    align-items: center;
  }

  .top-controls .calendar-button {
    border: none;
  }

  .top-controls .vertical-divider {
    width: 1px;
    height: 15px;
    background: #ccc;
    margin: 1px;
  }

  .top-controls .create {
    background-color: #ff5c1c;
    color: white;
    border: none;
  }

  .calendar-table {
    overflow-x: auto;
    background: #f0f4f8;
    padding-bottom: 10px;
  }

  .calendar-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: white;
  }

  .calendar-table th,
  .calendar-table td {
    border-bottom: 1px solid #ddd;
    vertical-align: top;
    font-size: 12px;
    text-align: left;
  }

  .calendar-table thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
    border-bottom: 2px solid #ccc;
  }

  .calendar-table td {
    position: relative;
  }

  .calendar-table th:first-child,
  .calendar-table td:first-child {
    border-right: 1px solid black;
  }

  /* Gap between columns */
  .calendar-table td:not(.time-label),
  .calendar-table th:not(.time-col) {
    padding-right: 10px;
  }

  .empty-cell {
    height: 40px;
    background: #f2f2f2;
  }

  /* The header of the time column */
  .time-col {
    width: 60px;
    background: #f9fafb;
    font-weight: bold;
    padding: 15px;
    text-align: center;
  }

  /* For time labels - e.g. 07:00 */
  .time-label {
    height: 40px;
    padding: 4px 15px 20px 15px;
  }

  .practitioner-header {
    display: flex;
    position: relative;
    align-items: center;
    padding: 10px;
    background: #e1f9ff;
    font-size: 12px;
    font-weight: 100;
  }

  .practitioner-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .practitioner-header .name {
    font-size: 14px;
    padding: 5px;
  }

  .practitioner-header .title {
    font-size: 10px;
    color: grey;
    padding: 5px;
  }

  .practitioner-header .appt-count {
    position: absolute;
    top: 20px;
    right: 15px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
    background-color: #2c575e;
  }

  /* .appointment {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: black;
    cursor: pointer;
    z-index: 1;
  }

  .appointment img {
    width: 10px;
    margin: 0 3px 1px 0;
  }

  .appointment:hover {
    box-shadow: 1px 2px #d6d6d6;
  }

  .appointment div {
    display: flex;
    font-size: 11px;
    color: black;
    gap: 5px;
  }

  .appointment .time {
    display: flex;
    align-items: center;
    font-size: 8px;
    margin-left: 5px;
    opacity: 0.6;
  }

  .appointment .service {
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-top: 3px;
    opacity: 0.6;
  }

  .appointment::after {
    content: attr(class);
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 8px;
    color: white;
  } */

  .unconfirmed { background-color: #d5edfe; }
  .unconfirmed::after {
    content: "UN";
    background-color: #3670ec;
  }

  .confirmed { background-color: #e1e5ff; }
  .confirmed::after {
    content: "CF";
    background-color: #6366f1;
  }

  .checkedin { background-color: #d6fffa; }
  .checkedin::after {
    content: "CK";
    background-color: #06b6d4;
  }

  .filled { background-color: #f5e5fb; }
  .filled::after {
    content: "JF";
    background-color: #d946ef;
  }

  .paid { background-color: #dbf9db; }
  .paid::after {
    content: "PD";
    background-color: #16a34a;
  }

  .noshow { background-color: #fde4f0; }
  .noshow::after {
    content: "NS";
    background-color: #ec4899;
  }

  .waiting { background-color: #e0f7ff; }
  .waiting::after {
    content: "WT";
    background-color: #0ea5e9;
  }

  .cancelled { background-color: #ffe9e7; }
  .cancelled::after {
    content: "CC";
    background-color: #ef4444;
  }

  .buffer {
    position: absolute;
    min-height: 20px;
    left: 1px;
    right: 10px;
    border-radius: 6px;
    font-size: 10px;
    color: rgb(148, 148, 148);
    background-color: #efeeee;
    text-align: center;
    align-content: center;
    cursor: pointer;
    z-index: 1;
  }

  .buffer:hover {
    box-shadow: 1px 2px #d6d6d6;
  }

  .creation-box {
    position: absolute;
    min-height: 80px;
    left: 0;
    right: 10px;
    font-size: 15px;
    color: #ff5c1c;
    font-weight: bold;
    text-align: center;
    align-content: center;
    border: 1px solid #ff5c1c;
    background-color: #f7e8e1;
    box-shadow: 0 2px #ffb699;
    opacity: 0.7;
    cursor: pointer;
    z-index: 1;
  }

  /* To show current time */
  .time-line {
    position: relative;
    top: 200px; /* can be changed later */
    left: 60px;
    right: 0;
    height: 1px;
    background-color: #ff5c1c;
    z-index: 10;
    box-shadow: 0px 6px 17px 1px #ff5c1c;
  }

  .time-indicator {
    display: flex;
    position: relative;
    top: -10px;
    left: -55px;
    width: 55px;
    height: 20px;
    background-color: #ff5c1c;
    color: rgb(238, 238, 238);
    align-items: center;
    text-align: center;
    padding: 1px;
    font-size: 12px;
    border-radius: 15px;
    z-index: 10;
  }

  .time-indicator img {
    padding: 2px;
  }

/* Dropdown menu styles for the new page layout */
.sidebar .support .dropdown-menu.dropdown-usermenu {
    position: fixed !important;
    top: unset !important;
    bottom: 22px !important;
    left: 222px !important;
    right: unset !important;
    width: 200px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    z-index: 1000;
    margin-top: 2px;
    display: none;
}
.sidebar .support.open .dropdown-menu.dropdown-usermenu {
  display: block !important;
}

.sidebar .support .dropdown-menu.dropdown-usermenu.open {
    display: block !important;
}

.sidebar .support .dropdown-menu.dropdown-usermenu li {
    list-style: none;
}

.sidebar .support .dropdown-menu.dropdown-usermenu li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.sidebar .support .dropdown-menu.dropdown-usermenu li a:hover {
    background-color: #f5f5f5;
    color: #262626;
}

.sidebar .support .dropdown-menu.dropdown-usermenu .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

.sidebar .support .dropdown-menu.dropdown-usermenu i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.sidebar .support .dropdown-menu.dropdown-usermenu .country-flag {
    margin-right: 8px;
    font-weight: bold;
}


.page-new-1 .el-dialog {
  padding-top: 0;
  border-radius: 12px;
}

.page-new-1 .el-dialog .el-dialog__header {
  padding-top: 10px;
}

.el-button--primary {
  --el-button-text-color: #ffffff;
  --el-button-bg-color: #365d66;
  --el-button-border-color: #365d66;
  --el-button-outline-color: rgba(54, 93, 102, 0.2);
  --el-button-active-color: #2a4a52;
  --el-button-hover-text-color: #ffffff;
  --el-button-hover-link-text-color: #4a7a85;
  --el-button-hover-bg-color: #4a7a85;
  --el-button-hover-border-color: #4a7a85;
  --el-button-active-bg-color: #2a4a52;
  --el-button-active-border-color: #2a4a52;
  --el-button-disabled-text-color: rgba(54, 93, 102, 0.4);
  --el-button-disabled-bg-color: rgba(54, 93, 102, 0.1);
  --el-button-disabled-border-color: rgba(54, 93, 102, 0.3);
}

.el-button--primary:hover {
  background-color: #4a7a85;
  border-color: #4a7a85;
  color: #ffffff;
  outline: none;
}

:root {
  --el-color-primary: #355b62;
}

.page-new-1 #date-picker {
  visibility: hidden;
  position: fixed;
  background: #fff;
  width: 480px;
  top: 73px;
  right: 31px;
  z-index: 2;
  padding: 1em;
}

.toggle-sidebar-btn {
  position: absolute;
  top: 43px;
  left: 226px;
  z-index: 1000;
  transform: scale(2.8);
  cursor: pointer;
  margin: 0;
  padding: 0;
  border-radius: 0;
  transition: left 0.3s ease-in-out;
}

.toggle-sidebar-btn-img.to-close {
  display: block;
}

.toggle-sidebar-btn-img.to-open {
  display: none;
}

.sidebar.to-close-mode .toggle-sidebar-btn {
  left: 75px;
  transition: left 0.3s ease-in-out;
}

.sidebar.to-close-mode .toggle-sidebar-btn-img.to-close {
  display: none;
}

.sidebar.to-close-mode .toggle-sidebar-btn-img.to-open {
  display: block;
}

.toggle-sidebar-btn-img {
  margin: 0 !important;
}

.sidebar.to-close-mode {
  width: 80px !important;
  transition: width 0.3s ease-in-out;
}

.sidebar.to-close-mode nav a span{
  display: none;
}

.sidebar.to-close-mode nav a {
  width: 36px;
}

.sidebar.to-close-mode .logo-normal {
  display: none !important;
}

.sidebar.to-close-mode .logo-c12 {
  display: block !important;
}

.logo-c12 {
  display: none !important;
  border-radius: 0 !important;
  max-height: 60px !important;
}

.logo-normal {
  display: block !important;
}

.sidebar.to-close-mode .sidebar-bottom-btn {
  display: none;
}

.sidebar.to-close-mode .bottom-left-menu-btn .txt ,
.sidebar.to-close-mode .bottom-left-menu-btn .arrow {
  display: none;
}

.sidebar.to-close-mode .bottom-left-menu-btn {
  width: 40px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sidebar.to-close-mode .bottom-left-menu-btn img {
  margin: 0 !important;
}

.sidebar.to-close-mode .support .dropdown-menu.dropdown-usermenu {
  left: 75px !important;
}


.sidebar-bottom-btn .language {
  font-size: 14px;
}
