#Cheopen {
    width: 100%;
    max-width: 250px;
    margin: 20px 0; /* Aligns the component to the left */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid #ddd; /* Light border for a clean look */
  }
  
  .month-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    gap: 10px; /* Adds spacing between elements */
  }
  
  .prev-month,
  .next-month {
    background-color: var(--bs-theme);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    width: 40px; /* Equal button width */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }
  
  .prev-month:hover,
  .next-month:hover {
    background-color: var(--bs-theme-hover);
    transform: scale(1.1); /* Subtle hover effect */
  }
  
  .current-month {
    padding: 8px 15px;
    border-radius: 6px;
    background-color: #f1f1f1;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    min-width: 120px;
  }
  

 
  /* Date Carousel Container */
#dateformat {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ddd;
    gap: 10px; /* Adjusted spacing */
  }
  
  /* Scroll Buttons */
  .scroll-btn {
    background-color: var(--bs-theme); /* Updated button color */
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .scroll-btn:hover {
    background-color: var(--bs-theme-hover);
    transform: scale(1.1);
  }
  
  /* Carousel Track */
  .custom-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex-grow: 1;
    white-space: nowrap;
    padding: 10px 5px;
    gap: 15px; /* Proper spacing between items */
  }
  
  .custom-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
  }
  
  /* Carousel Items */
  .custom-carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 5px;
    border-radius: 5px;
    min-width: 70px;
    /*Uniformsize*/min-height: 70px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
  
  .custom-carousel-item:hover {
    background-color: #246d92;
    color: white;
    transform: scale(1.05);
  }
  
  /* Date Design */
  .date-design {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    padding: 8px;
    width: 100%;
  }
  
  /* Active Date Styling */
  .date-design.active {
    background-color: #246d92;
    color: white;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #1d5a78;
    box-shadow: 0 4px 8px rgba(36, 109, 146, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
  

  /* time slots */

 /* General Styles for total-shift */
.total-shift {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    row-gap: 25px !important;
  }
  
  /* Shift Schedule */
  .shift-shedule {
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* Shift Header */
  .shift-head {
    display: flex;
    justify-content: space-between;
    align-items: left;
    background-color: #246c91;
    color: white;
    padding: 12px;
    border-radius: 6px;
  }
  
  .shift-head h6 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
  }
  
  .shift-head span {
    font-size: 14px;
    font-weight: normal;
  }
  
  /* Time Slot Container */
  .shift-time {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    justify-content: left;
  }
  
  /* Individual Slot Button Style */
  .shift-time button {
    background-color: white; /* White background by default */
    color: #246c91; /* Border color matches the background color */
    border: 2px solid #246c91; /* Border with same color as button text */
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    width: 90px;
    height: 40px;
    text-align: center;
    outline: none;
  }
  
  /* Hover Effect on Slot Buttons */
  .shift-time button:hover {
    background-color: #1d5a78;
    color: white;
    border-color: #1d5a78;
  }
  
  /* Active (Selected) Slot */
  .shift-time button.selected {
    background-color: #1d5a78; /* Active state color */
    color: white; /* Text color when active */
    border-color: #1d5a78; /* Border matches active color */
  }
  
  /* Shift Content */
  .shift-content {
    margin-top: 0px;
    padding: 10px;
    font-size: 14px;
    color: #555;
    text-align: left;
  }
  
  /* Save Button Container */
  .save-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  /* Save Button Styles */
  .save-button-container button {
    width: 30%;
    background-color: #246c91;
    border-color: #246c91;
    color: white;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
  }
  
  .save-button-container button:hover {
    background-color: #1d5a78;
  }
  
  /* Disabled Save Button */
  .save-button-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #888;
    border-color: #ccc;
  }
  
  /* Responsive Design for Small Screens */
  @media (max-width: 768px) {
    .total-shift {
      padding: 15px;
    }
  
    .shift-time {
      flex-direction: column;
      align-items: center;
    }
  
    .save-button-container button {
      width: 50%;
    }
  }
  
  @media (max-width: 480px) {
    .save-button-container button {
      width: 70%;
    }
  }
  


  .time-slot {
    /* Default styles */
    padding: 10px;
    margin: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
  }
  
  .time-slot.selected {
    /* Styles for selected slots */
    background-color: #246C91;
    color: white;
  }
  
  .time-slot.available {
    /* Styles for available slots */
    background-color: #e0f7fa;
  }
  
  .time-slot:disabled {
    /* Styles for disabled (unavailable) slots */
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
  }



  /* Default or unknown status */
.status-unknown {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #6c757d; /* Gray */
  border-radius: 0.25rem;
  font-size: 0.875rem; /* Slightly smaller than normal text */
}

/* 1) New Appointment */
.status-new-appointment {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #28a745; /* Green */
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* 2) Patient Arrived */
.status-patient-arrived {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #17a2b8; /* Teal/Info */
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* 3) Not Appear */
.status-not-appear {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #dc3545; /* Red */
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* 4) In Doctor's Room */
.status-in-doctors-room {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #fd7e14; /* Orange */
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* 5) In Waiting Room */
.status-in-waiting-room {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #212529;
  background-color: #ffc107; /* Yellow */
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* 6) Finished */
.status-finished {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #007bff; /* Blue */
  border-radius: 0.25rem;
  font-size: 0.875rem;
}



/* booking calender status */
.context-menu {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 10px;
}

.context-menu-header {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.context-menu-header h6 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.context-menu-body {
  max-height: 250px;
  overflow-y: auto;
}

.context-menu-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
  cursor: pointer;
}

.context-menu-item input[type="radio"] {
  margin-right: 10px;
}

.context-menu-item label {
  margin: 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.context-menu-footer {
  border-top: 1px solid #dee2e6;
  padding-top: 10px;
  text-align: right;
}

.context-menu-footer .btn {
  background-color: #007bff;
  border: none;
  padding: 5px 15px;
  font-size: 14px;
}

.context-menu-footer .btn:hover {
  background-color: #0056b3;
}

.modal-content-details {
  font-size: 16px;
  line-height: 1.6;
}

.modal-content-details p {
  margin: 5px 0;
}

.modal-content-details strong {
  color: #333;
}

/* rating */

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

.star-rating .fa-star {
  color: #ccc; /* Default color for unselected stars */
}

.star-rating .fa-star.checked {
  color: #f8d825; /* Color for selected stars */
}

.feedbackform {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

.text-danger {
  font-size: 14px;
  margin-top: 5px;
}


/* ==================================== Enquiry Model ============================================== */
.enquiry-over-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 40, 60, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.enquiry-over-modal {
  width: 90%;
  max-width: 700px;
  background: #fff;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.enquiry-over-header {
  background: var(--bs-theme);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.enquiry-over-close {
  background: none;
  color: white;
  font-size: 22px;
  border: none;
  cursor: pointer;
}

.enquiry-over-body {
  padding: 20px;
}

.enquiry-over-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.enquiry-over-icon {
  color: #0a5b78;
  width: 20px;
  height: 20px;
}

.enquiry-over-images {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.enquiry-over-images img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/* ================================== Change stauts model ======================== */
.change-status-menu {
  background-color: #f9fafa;
  border-radius: 20px;
  padding: 24px 20px;
  width: 280px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
}

.change-status-header {
  font-weight: 600;
  font-size: 16px;
  color: #256387;
  margin-bottom: 12px;
}

.change-status-header-underline {
  height: 3px;
  width: 40px;
  background-color:  var(--bs-theme);
  border-radius: 2px;
  margin-top: 4px;
}

.change-status-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.change-status-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #111;
  cursor: pointer;
}

.change-status-option input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.change-status-option input[type="radio"]:checked {
  border: 5px solid #00aaff;
  background-color: #fff;
}

.change-status-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.change-status-footer button {
  background-color:  var(--bs-theme);
  color: white;
  padding: 10px 32px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.change-status-footer button:hover {
  background-color: #1e4f6a;
}



/*  =====================Avail======== */
.avail-cal-wrapper {
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

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

.avail-cal-times-wrapper {
  display: flex;
  flex-direction: column;
}

.avail-cal-grid,
.avail-cal-times-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.avail-cal-day {
  text-align: center;
  padding: 0.5rem;
}

.avail-cal-date {
  font-weight: 300;
  font-size: small;
  margin: 1rem 0;
}

.avail-cal-times {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scrollable {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}



.avail-cal-footer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.avail-cal-showmore {
  color: #246D92;
  border: none;
  background-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.avail-cal-showmore img {
  width: 15px;
  height: 15px;
  margin-left: 5px;
}

.avail-cal-month{
font-weight: 300;
font-size: 20px;
}



/* ================================== Full Calendar Styles ======================== */

  .fc .fc-button {
          background-color: var(--bs-theme) !important; /* Default button color */
          color: white !important;
          font-size: 1rem;
          padding: 4px 10px;
          border-radius: 0.25rem;
          border: none;
        }

        .fc .fc-button:hover {
          background-color: var(--bs-theme-hover) !important; /* Hover color */
          color: white !important;
        }

        /* Smaller title */
        .fc-toolbar-title {
          font-size: 0.9rem !important;
          font-weight: 500;
        }