* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --hover-color: #4876ce;
  --secondary-color: #242424;
  --background-color: #a0baff;
  --choose-background: #c6d6ff;
  --offcanvsbckground-color: #c3d4ff;
  --icon-color:#66D96D;
  --text-color:#FFFFFF;
  --card-icon-color:#FF0000;
  --card-color:#dde6ff;
}
body,
html{
  overflow-x: hidden;
  width: 100%;
}
body{
  position: relative;
  z-index: -1;
  background: var(--background-color);
}
a {
  text-decoration: none;
  display: inline-block;
}
ul {
  list-style-type: none;
}
.container {
  max-width: 1785px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
.col-20{
  width: 20%;
  padding: 0 15px;
}
.wraper{
  display: flex;
  position: relative;
  z-index: -2;
}
.main-wraper{
  width: 100%;
  position: relative;
  z-index: -2;
}
/* title */
.title1{
  font-size: 35px;
  font-weight: 600;
}
.title2{
  font-size: 26.37px;
  font-weight: 500;
}
/*side-nav-sec */
.aside-sec{
  width: 94px;
}
.navbar-collapes {
  width: 70px;
  height: 1330px;
  padding: 37.5px 0;
  background: var(--text-color);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  margin-top: 25px
}
.nav-down{
  margin: 550px auto 0;
}
.nav-down>ul{
  padding: 0;
}
.menu{
    margin: 34px 0 ;
    max-width: 50px;
    padding: 10px 0 0;
    border-bottom:  2px solid var(--secondary-color);
}
.nav-link{
    margin: 0 10px 35px;
    position: relative;
}
.nav-link::after{
    content: '';
    width: 0;
    height: 2px;
    background: var(--hover-color);
    right: 100%;
    bottom: 50% ;
    position: absolute;
    transform: rotate(90deg);
    transition: 0.4s all linear;
}
.nav-link:hover::after{
    width: 50px;
    right: 72%;
}
.nav-list{
    padding: 0;
}
.link-icon {
  width: 24px;
  height: 24px;
  color: #242424;
  transition: color 0.3s ease, transform 0.3s ease;
}
.link-icon > path {
  stroke: var(--secondary-color);
}

.link-icon:hover {
   transform: scale(1.2);
}
.link-icon:hover path {
  stroke: var(--hover-color);
}
/* nav-sec */
.header-sec{
  padding: 30px 0;
}
#search{
  width: 322px;
  border: none;
  border-radius: 28px;
  height: 47px;
  background: var(--text-color);
  padding-left: 44px;
}
.search-icon{
  border: none;
  outline: none;
  background: var(--text-color);
}
.nav-form{
  position: relative;
  border-radius: 28px;
  background: var(--background-color);
}
.search-icon{
  position: absolute;
  bottom: 12%;
  left: 5%;
  font-size: 20px;
}
.sacn-icon{
  position: absolute;
  left: 85%;
  top: 30%;
}
.nav-right,
.nav-right-list,
.nav-right-list>li{
  display: flex;
  align-items: center;
}
.nav-right-list{
  margin-left: auto;
}
.nav-right-list>li{
  margin: 0 15px;
}
.nav-right-log{
  max-width: 74px;
  height: 74px;
  border-radius: 50%;
  margin-left: 15px;
}
.nav-right-logo>a{
  width: 100%;
}
.nav-right-logo>a>img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-right-link{
  color: var(--secondary-color);
}
.nav-right-link:hover{
  color: var(--hover-color);
}
.toggel-btn{
  display: none;
}
.toggel-close-btn{
  display: none;
}
.search{
  background: var(--card-color);
  padding: 0;
  display: flex;
  align-items: center;
  border-radius: 28px;
}
/* banner-sec */
.banner-wraper{
  padding: 20px 15px;
  background: var(--offcanvsbckground-color);
  border-radius: 20px;
}
.banner-card{
  background: var(--card-color);
  border-radius: 21.85px;
  max-width: 287.09px;
  height: 176.32px;
}
.card-left-icon{
  width: 40.69px;
  margin-right: auto;
}
.card-next-icon{
  width: 40.69px;
  margin-right: 5px;
}
.card-icon>img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-body{
  padding: 15px 15px;
}
.card-left-icon>img{
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-icon{
  display: flex;
}
.card-right-icon{
  background: var(--icon-color);
  color: var(--text-color);
  display: flex;
  width: 71.72px;
  align-self: center;
  border-radius: 9.04px;
  padding: 7.54px;
}
.card-red-icon{
  background: var(--card-icon-color) !important;
}
.chart{
  width: 24.11px;
  margin: 0;
}
.chart>img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-right-icon>p{
  margin: 0 0 0 auto;
}
.card-left-cont>p{
  font-size: 13.56px;
}
.card-cont{
  display: flex;
  align-items: center;
  margin: 10px 0 0;
}
.card-right-cont{
  display: flex;
  align-items: center;
  margin-left: auto;
}
.small-half-circle{
  height: 72.34px;
  width: 36.5px;
  border-radius: 72.34px 0 0 72.3px;
  background: var(--text-color);
  margin-right: 10px;
}
.half-circle{
   height: 93.43px;
  width: 47px;
  border-radius: 72.34px 0 0 72.3px;
  background: var(--text-color);
}
/* booking-schedule */
.schedule-wrapper{
  background: var(--card-color);
  padding: 20px;
  border-radius: 20px;
  max-width: 1027px;
  height: 480px;
}
.dropdown {
  position: relative;
}

#monthBtn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}

.dropdown-menu {
  position: absolute;
  top: 30px;
  right: 0;
  background: #fff;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  width: 160px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
}

.booking-box{
  display: flex;
  align-items: center;
}
.booking-box>.title{
 margin-right: auto;
}

.dropdown-menu li {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
}

.dropdown-menu li:hover {
  background: #f1f5f9;
}

/* HEADER */
.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tabs button {
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff;
  margin-right: 6px;
  cursor: pointer;
}

.tabs .active {
  background: #2563eb;
  color: #fff;
}

.date-range {
  background: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.date-right {
  font-size: 14px;
  color: #555;
}

.title {
  margin: 20px 0 10px;
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  font-size: 13px;
  color: #777;
  margin-bottom: 40px;
}

/* BOOKINGS */
.bookings {
  position: relative;
  height: 120px;
}
.book-img{
  width: 65px;
}
.book-img>img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.booking {
  position: absolute;
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 14px;
  gap: 8px;
  width: 266px;
  max-width: 100%;
  cursor: pointer;
}


.booking.left {
  left: 10px;
  top: 0;
  align-items: center;
  display: flex;
  /* max-width: 266px;
  height: 95px; */
  cursor: pointer;
}
.left>p>.booking-satus{
  color: var(--hover-color);
}
.center>p>.booking-satus{
  color: var(--card-icon-color);
}
.right>p>.booking-satus{
  color: yellow;
}
.booking>p{
  margin: 14px 0 0;
  font-size: 20px;
}
.booking span {
  display: none;
  transition: 0.4s all ease;
}

.booking :hover span {
  display: inline;
}

/* Optional styling */
.booking-status {
  color: #22c55e;
  font-weight: 600;
}

.booking.center {
  left: 48%;
  transform: translateX(-50%);
  top: 120px;
}

.booking.right {
  right: 1px;
  top: 0;
}

/* CONNECTOR LINE */
.booking.center .line {
  position: absolute;
  top: -95px;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #000;
}

/* EMPLOYEE CELL */
.employee-table .employee{
  display:flex;
  align-items:center;
  gap:10px;
}

.employee-table .avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#ddd;
}
.employee-table th:nth-child(1),
.employee-table td:nth-child(1){
  width: 28%;
  padding-right: 24px;
}

.employee-table th:nth-child(2),
.employee-table td:nth-child(2){
  width: 18%;
  padding-left: 12px;
}
.avatar{
  width: 37px;
}
.avatar>img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* avaiability */

.availability-card {
  background: #eef4fb;
  max-width: 663px;
  height: 470px;
  padding: 24px;
  border-radius: 20px;
  margin:  0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title h3 {
  margin: 0;
}

.icon {
  font-size: 20px;
  color: #2962ff;
}

.sub-title {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}

hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.section-title {
  font-size: 13px;
  color: #2962ff;
  font-weight: 600;
  margin-bottom: 16px;
}

.switch-box{
  display: flex;
  align-items: center;
}
.switch-box>.sub-title{
  margin-right: auto;
}

.day-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
}

.time {
  color: #2962ff;
  font-weight: 600;
}

.unavailable {
  color: #2962ff;
  font-weight: 600;
}

.edit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.edit-btn::after,
.edit-btn::before{
  content: '';
  width: 51%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: 0.4s all ease;
  z-index: -1;
  background: var(--hover-color);
}
.edit-btn::after{
  right: -51%;
}
.edit-btn::before{
  left: -51%;
}
.edit-btn:hover::after{
  right: 0;
}
.edit-btn:hover::before{
  left: 0;
}

/* Toggle Switch */
.switch {
  position: relative;
  width: 119px;
  height: 60px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cfd8dc;
  border-radius: 30px;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 32px;
  width: 32px;
  left: 5px;
  bottom: 14px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #2962ff;
}

input:checked + .slider:before {
  transform: translateX(75px);
}

/* ================= EMPLOYEE SECTION FIX ================= */

/* MAIN CARD */
.activity-wrapper {
  max-width: 568px;
  height: 512px;
  background: #eaf1f9;
  border-radius: 24px;
  padding: 20px;
}


/* HEADER */
.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.activity-header .title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-header h3 {
  margin: 0;
  font-size: 18px;
}

.see-all {
  background: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
}

/* TABS */
.tabs {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.tab {
  border: none;
  background: transparent;
  padding: 8px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
}

.tab.active {
  background: var(--offcanvsbckground-color);
}

/* LIST */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ITEM */
.activity-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 16px;
  gap: 12px;
}

.activity-item img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
}

.info {
  flex: 1;
}

.info h4 {
  margin: 0;
  font-size: 15px;
}

.info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}

.right {
  text-align: right;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* STATUS COLORS */
.in-progress {
  background: #fff4e5;
  color: #ff9800;
}

.completed {
  background: #e7f8ef;
  color: #2e7d32;
}

.cancelled {
  background: #fdecea;
  color: #c62828;
}

.pending {
  background: #e3f2fd;
  color: #1565c0;
}
.status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
}

.status.in-progress {
  background: #fff3e0;
  color: #ff9800;
}

.status.completed {
  background: #e8f5e9;
  color: #4caf50;
}

.status.cancelled {
  background: #fdecea;
  color: #f44336;
}

.status.pending {
  background: #e3f2fd;
  color: #2196f3;
}

.right small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #999;
}

.arrow {
  font-size: 20px;
  color: #bbb;
}



/* clalendar-card */
/* CARD */
.calendar-card {
  max-width: 523px;
  height: 506px;
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* HEADER */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-header h3 {
  margin: 0;
  font-size: 18px;
}

.search-calendar {
  background: #f1f1f1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}

/* MONTH NAV */
.month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.month-nav h2 {
  margin: 0;
  font-size: 18px;
}

.month-nav button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* WEEKDAYS */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

/* DAYS */
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px 0;
  text-align: center;
}

.days span {
  font-size: 14px;
  color: #111827;
}

.days .muted {
  color: #9ca3af;
}

/* top-card */
.top-card {
  max-width: 568px;
  height: 506px;
  background: #eef5fb;
  border-radius: 28px;
  padding: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left h3 {
  font-size: 18px;
  margin: 0;
}

.see-all {
  background: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.consult-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.consult-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.consult-item img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
}

.info {
  flex: 1;
}

.info h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.info p {
  margin: 4px 0 0;
  font-size: 17px;
  color: #666;
}

.meta {
  text-align: right;
  margin-right: 6px;
}

.jobs {
  display: block;
  font-size: 17px;
  color: #333;
}

.jobs.active {
  color: #1bbf5c;
  font-weight: 600;
}

.rating {
  font-size: 20px;
  color: #000;
}

.arrow {
  font-size: 22px;
  color: #000;
}

/* media-quarry */
@media screen and (max-width:1330px){
  /* kpi-sec */
  .booking.center{
    left: 50%;
  }
}
@media screen and (max-width:1200px){
  /* nav-sec */
  .aside-sec{
    display: none;
    position: absolute;
    z-index: 99;
    background: var(--text-color);
    left: 0;
    width: 50%;
    top: 0;
    bottom: 0;
  }
  .toggel-btn{
    display: block;
    border: none;
    outline: none;
    position: absolute;
    top: 0.3%;
    left: 1%;
    z-index: 2;
  }
  .toggel-close-btn{
  display: block;
  border: none;
  outline: none;
  top: 0.3%;
  position: absolute;
}
.nav-list>li{
  margin: 0 0 0 20px;
}
.nav-logo{
  margin-top: 15px;
}
.menu{
  margin-top: 10px;
}
  #search{
    width: 250px;
    max-width: 100%;
  }
  .aside-sec.active{
    display: block;
  }
  .menu{
    margin: 20px auto;
  }
  /* banner-sec */
  .col-20{
    width: 50%;
  }
  .banner-col{
    width: 100% !important;
  }
  .banner-card{
    margin: 10px auto;
  }
  /* kpi-sec */
 .schedule-wrapper {
    max-width: 100%;
    height: 500px;
  }

  .booking {
    width: 240px;
    font-size: 13px;
  }

  .booking > p {
    font-size: 18px;
  }

  .booking.center {
    top: 120px;
  }
  /*employee-sec*/
 .activity-wrapper {
    max-width: 100%;
    height: 500px;
  }

  .activity-item img {
    width: 64px;
    height: 64px;
  }
  .top-card {
    max-width: 100%;
    margin: 20px auto;
  }
  .calendar-card{
    margin: 0 auto;
  }
}
@media screen and (max-width: 991px) {
/* kpi-sec */
  .schedule-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .booking-box {
    flex-wrap: wrap;
    gap: 10px;
  }

  .timeline {
    grid-template-columns: repeat(6, 1fr);
    font-size: 12px;
  }

  .timeline .time:nth-child(n+7) {
    display: none;
  }

  .booking {
    width: 220px;
    padding: 8px 12px;
  }

  .booking.center {
    left: 50%;
    top: 110px;
  }
  /* emplooye */
   .activity-wrapper {
    height: auto;
  }

  .tabs {
    overflow-x: auto;
  }

  .tab {
    font-size: 14px;
    padding: 8px 10px;
  }
  .top-card {
    height: auto;
    padding: 18px;
  }

  .consult-item img {
    width: 64px;
    height: 64px;
  }

  .info h4 {
    font-size: 18px;
  }

  .info p {
    font-size: 15px;
  }

  .jobs {
    font-size: 15px;
  }

  .rating {
    font-size: 18px;
  }
}

@media screen and (max-width:768px){
  /* nav-sec */
   #search{
    width: 250px;
    max-width: 100%;
  }
  .nav-right-list{
    padding: 0;
  }
  .nav-right-list>li{
    margin: 0 5px;
  }
  /* banner-sec */
  .col-20{
    width: 100%;
  }
  .banner-cont{
    text-align: center;
  }
  /* kpi-sec */
   .schedule-wrapper {
    padding: 16px;
  }

  .tabs button {
    font-size: 13px;
    padding: 6px 12px;
  }

  .date-range {
    font-size: 12px;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
  }

  .timeline .time:nth-child(n+4) {
    display: none;
  }

  .bookings {
    position: relative;
    height: auto;
  }

  .booking {
    width: 100%;
    position: relative;
    border-radius: 18px;
  }

  .booking.left,
  .booking.center,
  .booking.right {
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin-bottom: 12px;
  }

  .booking.center .line {
    display: none;
  }

  .booking span {
    opacity: 1;
    max-height: none;
  }
  /* emplooye-sec */
    .activity-wrapper {
    padding: 16px;
    border-radius: 20px;
  }

  .activity-header h3 {
    font-size: 16px;
  }

  .activity-item {
    padding: 10px;
  }

  .activity-item img {
    width: 56px;
    height: 56px;
  }

  .status {
    font-size: 11px;
    padding: 5px 10px;
  }
  .card-header h3 {
    font-size: 16px;
  }

  .see-all {
    padding: 6px 12px;
    font-size: 13px;
  }

  .consult-item {
    gap: 12px;
  }

  .consult-item img {
    width: 56px;
    height: 56px;
  }

  .info h4 {
    font-size: 16px;
  }

  .info p {
    font-size: 14px;
  }
}
@media screen and (max-width:576px){
  /* nav-sec */
  .search {
  width: 0;
  opacity: 0;
  display: none;
  transition: 0.3s ease;
}
.search-icon{
  background: var(--card-color);
}
.search.active {
  width: 200px;
  opacity: 1;
  display: block;
}
/* kpi-sec */
.schedule-header {
    align-items: flex-start;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .booking > p {
    font-size: 14px;
  }

  .book-img {
    width: 42px;
  }
  /* emplooye */
  .top-card {
    padding: 16px;
    border-radius: 22px;
  }

  .consult-item {
    gap: 10px;
  }

  .consult-item img {
    width: 50px;
    height: 50px;
  }

  .jobs {
    font-size: 13px;
  }

  .rating {
    font-size: 14px;
  }

  .arrow {
    font-size: 18px;
  }
}
@media screen and (max-width: 479px) {
  .see-all {
    padding: 6px 10px;
    font-size: 12px;
  }

  .info h4 {
    font-size: 13px;
  }

  .info p {
    font-size: 11px;
  }
}

@media screen and (max-width: 360px) {
/* kpi-sec */
  .schedule-wrapper {
    padding: 12px;
  }

  .tabs button {
    font-size: 12px;
    padding: 5px 10px;
  }

  .date-range {
    font-size: 11px;
    padding: 4px 10px;
  }

  .booking {
    gap: 6px;
  }

  .booking > p {
    font-size: 13px;
  }
}
