.sched-popup {
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sched-popup-content {
  height: 90%;
  background-color: #faf8f5;
  margin: 10% auto;
  border-radius: 4px;
  width: 50%;
  position: relative;
  max-width: 600px;
  flex-direction: column;
  overflow: scroll;
  display: flex;
}

.sched-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
}

.employeeSelect {
  width: 100%;
  height: 40px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(94, 97, 100);
  border: 1px solid rgb(229, 229, 234);
  width: 100%;
  border-radius: 6px;
  padding: 0 10px;
  box-sizing: border-box;
}

.timeField {
  width: 100%;
  height: 40px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(94, 97, 100);
  border: 1px solid rgb(229, 229, 234);
  width: 100%;
  border-radius: 6px;
  padding: 0 10px;
  box-sizing: border-box;
}

.shiftNotes {
  width: 100%;
  height: 40px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(94, 97, 100);
  border: 1px solid rgb(229, 229, 234);
  width: 100%;
  border-radius: 6px;
  padding: 8px 10px;
  box-sizing: border-box;
  min-height: 80px;
}

.h3-shifts {
  color: black;
  letter-spacing: 0.24px;
  font-size: 14px;
}

.button-container {
  text-align: right;
  /* Aligns the button to the right */
}

.schedule-action-buttons {
  border: none;
  /* Removes default border */
  border-radius: 5px;
  /* Slightly rounded corners */
  color: white;
  /* Text color */
  padding: 10px 20px;
  /* Padding inside the button */
  cursor: pointer;
  /* Changes cursor to pointer on hover */
  margin: 10px;
  /* Adds some space around the button */
  letter-spacing: 0.34px;
  font-weight: 600;
  font-size: 14px;
}

#publish-click {
  background-color: royalblue;
  /* Red background color */
}

#closePopup {
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  color: #374151;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.34px;
  transition: all 0.15s ease;
}

#closePopup:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

#calloff-click {
  background-color: #f0f0f0;
  color: black;
  border: 1px solid black;
}

.time-suggestions {
  display: none;
  /* Hidden by default */
  position: absolute;
  /* To position it below the textarea */
  border: 1px solid #ddd;
  border-top: none;
  z-index: 1000;
  /* To ensure it's above other content */
}

.time-suggestion-item {
  padding: 5px;
  cursor: pointer;
  background-color: #fff;
}

.time-suggestion-item:hover {
  background-color: #f0f0f0;
}

.shift_error {
  color: #C70000;
}

.schedHours {
  background-color: #465E8E;
  color: white;
  font-size: 13px;
  font-weight: 700;
  height: 44px;

}

.td_row>.schedHours:not(:first-child) {
  margin-top: 4px;
}

.td_row {
  background-color: white;
  height: 64px;
  padding: 4px;
  vertical-align: top;
  padding-bottom: 60px;
}


.today-highlight {
  background-color: beige;
}

.box-with-triangle {
  position: relative;
}

.box-with-triangle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 20px solid orangered;
  /* Adjust the size of the triangle */
  border-left: 20px solid transparent;
  /* This should be the same size as border-top */
  border-right: 0;
  border-bottom: 0;
}

.notes_popup {
  position: absolute;
  width: 100px;
  background-color: white;
  border: 1px solid #000;
  padding: 5px;
  z-index: 100;
  top: -38px;
  right: 0px;
}

.staffName {
  text-align: left;
  padding-left: 20px;
  width: 220px;
}

#datePicker {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 5px;
}

#datePicker .buttonOutline {
  background-color: white;
  color: darkslategray;
  border: 1px solid cadetblue;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}



#removeBase {
  display: inline-block;
}

#remove-click {
  background-color: #c70000;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  letter-spacing: 0.34px;
  font-weight: 600;
  font-size: 14px;
}

h2 {
  color: black;
}

/* Container for the checkbox */
.checkbox-container {
  display: block;
  align-items: center;
  position: relative;
  margin: 12px 0 0;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  /* Prevent text selection */
}

/* Hide the default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkmark/indicator */
.checkbox-container .checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input~.checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked */
.checkbox-container input:checked~.checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 7px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}


.shaded-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-edit {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modHeader {
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .1px;
  line-height: 24px;
  color: black;
}

.modSelection {
  padding: 4px 0;
  color: dimgray;
  font-size: 15px;
}

.timeDivider:not(:last-child) {
  margin-left: 20px;
  height: 2px;
  width: 8px;
  background-color: #465E8E;
}

.time-container {
  cursor: pointer;
  height: 100%;
}

.time-container:not(:last-child) {
  margin-bottom: 12px;

}

.weekly {
  background-color: #f0f0f0;
  border: 1px solid red;
}

.dropdown-options {
  display: flex;
}

.dropdown-option {
  width: 50%;
  margin-right: 10px;
}


.roleSelect {
  height: 34px;
  width: 100%;

}


#week-header {
  position: sticky;
  top: 0;
}

.notesBase {
  border: 1px solid darkslategray;
  background: white;
  font-size: 12px;
}


#staff-table {
  table-layout: fixed;
  min-height: 400px;
}

.week-container {
  display: flex;
  background-color: #E0E0E0;
  padding: 5px;
  justify-content: space-between;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 12px;
}

.week-container-checkbox {
  display: flex;
  background-color: #E0E0E0;
  padding: 5px;
  justify-content: space-between;
  overflow: hidden;
  /* This ensures the border radius is applied to the child divs as well */
}

.day {
  flex-grow: 1;
  text-align: center;
  background-color: #FFFFFF;
  margin: 0 4px;
  /* this creates 8px space between the divs */
  border: 1px solid #C0C0C0;
  position: relative;
  /* Needed to position the check mark absolutely */
}

.day:first-child,
.day:last-child {
  margin-left: 0;
  margin-right: 0;
}

.open_shift_main {
  background-color: #E8FFE7;
}

.open_shift_icon {
  background-color: orangered;
  border-radius: 22px;
  height: 22px;
  width: 22px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
}

.presetDiv {
  background-color: #f5f5f5;
  padding: 4px;
  margin-top: 4px
}

.job_title {
  font-size: 11px;
  font-weight: 700;
  overflow-x: auto;
  white-space: nowrap;
}

.time_shift {
  display: flex;
  padding: 2px 4px;
}

.time_shift:hover {
  /* Your hover styles go here */
  background-color: gray;
  /* Example: Change background color on hover */
  color: #fff;
  /* Example: Change text color on hover */
  cursor: pointer;
  /* Example: Change the cursor to a pointer to indicate it's clickable (if applicable) */
}

.callOff {
  background-color: gray;
}

#undo-calloff-click {
  background-color: gray;
}

#printDiv {
  padding: 32px;
  text-align: left;
}

.printHeader {
  display: flex;
}

#print_staff_table {
  table-layout: fixed;
}

#print_loc_name {
  font-size: 24px;
  font-weight: bold;
  color: black;
}

#print_week {
  margin-left: auto;
}

#print-week-header {
  background-color: #444444;
}

.highlight-shiftTime {
  background-color: #D9D9D9;
}

.print_td {
  text-align: left;
}

tr>td.print_td:first-child {
  width: initial;
  padding: 0 20px;
}

tr>th.print_th:first-child {
  width: initial;
}

.printTHText {
  font-size: 18px;
  font-weight: 700;
}

#click-spinner {
  display: none;
  justify-content: center;
}

.spinner {
  border: 5px solid rgba(0, 0, 0, .1);
  border-left-color: #09f;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin-top: 12px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.selectedTag {
  display: flex;
  align-items: center;
  background-color: lightgray;
  padding: 0 8px;
  margin: 4px 8px 4px 0;
  border-radius: 4px;
  color: black;
}

.calendar-event {
  cursor: pointer;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  padding: 0 0 6px 0;
  position: relative;
  text-align: left;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.calendar-event h2 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.calendar-event .time {
  color: black;
}

.calendar-event .location,
.calendar-event .instructor {
  color: #777;
}

.calendar-event .instructor {
  font-style: italic;
}

.calendar-event .repeat-icon {
  position: absolute;
  right: 20px;
  font-size: 18px;
  color: #888;
  cursor: pointer;
}

.calendar-event .repeat-icon:hover {
  color: #333;
}

.calendar-event:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}


.day-calendar-event {
  cursor: pointer;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  padding: 0 0 6px 0;
  position: relative;
  text-align: left;
  overflow: hidden;
  height: fit-content;
  display: flex;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.day-event-indicator {
  height: 30px;
  width: 8px;
  margin-left: 12px;
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 0;
}

.day-calendar-event h2 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.day-calendar-event .time {
  color: black;
}

.day-calendar-event .location,
.day-calendar-event .instructor {
  color: #777;
}

.day-calendar-event .instructor {
  font-style: italic;
}

.day-calendar-event .repeat-icon {
  position: absolute;
  right: 20px;
  font-size: 18px;
  color: #888;
  cursor: pointer;
}

.day-calendar-event .repeat-icon:hover {
  color: #333;
}

.day-calendar-event:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.td_row div:not(:last-child) {
  margin-bottom: 16px;
}

.repeat-popup {
  z-index: 44
}

.radio-buttons {
  margin: 20px 0;
}

/* Close button */
.repeat-action-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cancel-btn {
  color: black;
}

.ok-btn {
  color: #007BFF;
  ;
}

.all-day-activity {
  margin-left: auto;
  padding: 0px 8px;
}

.print-weekly_part {
  flex: 1;
  /* This makes each part take up equal space */
  padding: 12px 8px;
  box-sizing: border-box;
  /* Include border in the element's dimensions */
  overflow: auto;
}

.save-button {
  background-color: royalblue;
}

.color-selection {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin: 2px;
}

.themeColorPicker {
  padding: 3px 7px 2px;
  width: 160px;
  background: white;
  border: 1px solid #cccccc;
  border-radius: 8px;
}

#colorPopup {
  position: absolute;
  top: 0;
  left: 120px;
  z-index: 10;
}


#fontSizePopup {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 10;
}

#font-size-num {
  border: 2px solid transparent;
  border-radius: 8px;
}

#font-size-num:hover {
  border: 2px solid #bbb;
}

#font-size-num:focus {
  border: 2px solid #bbb;
}


#transparencyPopup {
  position: absolute;
  top: 42px;
  left: 0;
  z-index: 10;
}

.transparencyPicker {
  padding: 4px 8px;
  min-width: 160px;
  background: white;
  border: 1px solid #cccccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

#transparency-num {
  border: 2px solid transparent;
  border-radius: 8px;
}

.quick-attendance-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.quick-attendance-btn:hover {
  background: #5e5efd;
  color: white;
  border-color: #5e5efd;
  box-shadow: 0 2px 4px rgba(94, 94, 253, 0.2);
}

.quick-attendance-btn span {
  font-size: 20px;
}

#transparency-num:hover {
  border: 2px solid #bbb;
}

#transparency-num:focus {
  border: 2px solid #bbb;
}

#logo-size-num {
  border: 2px solid transparent;
  border-radius: 8px;
}

#logo-size-num:hover {
  border: 2px solid #bbb;
}

#logo-size-num:focus {
  border: 2px solid #bbb;
}


.backgroundOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.0);
}

.weekly-dotw {
  border: 1px solid #DDDDDD;
  border-radius: 2px;
  flex-grow: 1;
}

/* Container */
#create-event {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  /* Gradient background */
  border-radius: 12px;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
  display: none;
}

/* Hover effect */
#create-event:hover {
  transform: translateY(-4px);
  /* Lift up on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  /* Enhanced shadow */
}

/* Icon styling */
#create-event .material-symbols-outlined {
  font-size: 28px;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover icon effect */
#create-event:hover .material-symbols-outlined {
  transform: rotate(20deg);
  /* Slight rotation */
  color: #fffbcd;
  /* Subtle color change */
}

/* Responsive design */
@media (max-width: 600px) {
  #create-event {
    font-size: 16px;
    padding: 12px 20px;
  }

  #create-event .material-symbols-outlined {
    font-size: 24px;
  }
}

.timeFrames {
  margin-left: auto;
  background-color: #f5f5f5;
  display: flex;
  border: 1px solid darkgray;
  border-radius: 30px;
  padding: 2px 4px;
}

.unselectedTimeFrame {
  min-width: 50px;
  font-weight: 700;
  padding: 6px 10px;
  color: black;
  text-decoration: none;
  text-align: center;
}

.selectedTimeFrame {
  background-color: #007580;
  font-weight: 700;
  padding: 6px 10px;
  color: white;
  border-radius: 30px;
  min-width: 50px;
  text-align: center;
  text-decoration: none;
}

.selectedAllColorFrame {
  background-color: #9c27b0;
  box-sizing: content-box;
  padding: 10px;
  font-weight: 700;
  color: white;
  border-radius: 30px;
  min-width: 50px;
  text-align: center;
  text-decoration: none;
}

.selectedALColorFrame {
  background-color: #3f51b5;
  box-sizing: content-box;
  padding: 10px;
  font-weight: 700;
  color: white;
  border-radius: 30px;
  min-width: 50px;
  text-align: center;
  text-decoration: none;
}

.selectedMCColorFrame {
  background-color: #259b24;
  box-sizing: content-box;
  padding: 10px;
  font-weight: 700;
  color: white;
  border-radius: 30px;
  min-width: 50px;
  text-align: center;
  text-decoration: none;
}

.unselectedColorFrame {
  min-width: 50px;
  font-weight: 700;
  padding: 10px 10px;
  color: black;
  text-decoration: none;
  text-align: center;
}

.clickLastTitle:hover {
  background-color: #f5f5f5;
}

.rich-text-box {
  border: 1px solid #ccc;
  padding: 10px;
  min-height: 150px;
  max-width: 600px;
  font-family: sans-serif;
  outline: none;
}

#bold-btn.active {
  background-color: #d3e3fd;
  color: #000;
}

#bold-btn.active:hover {
  background-color: #d3e3fd;
}

#bold-btn:hover,
#align-left:hover,
#align-center:hover,
#align-right:hover {
  background-color: #f0f0f0;
  color: black;
}

label {
  cursor: pointer;
}

.flexRow {
  flex-direction: row !important;
}

.flexColumn {
  flex-direction: column !important;
}

#bday-size-num {
  border: 2px solid transparent;
  border-radius: 8px;
}

#bday-size-num:hover {
  border: 2px solid #bbb;
}

#bday-size-num:focus {
  border: 2px solid #bbb;
}

#location-size-num {
  border: 2px solid transparent;
  border-radius: 8px;
}

#location-size-num:hover {
  border: 2px solid #bbb;
}

#location-size-num:focus {
  border: 2px solid #bbb;
}

#dining-size-num {
  border: 2px solid transparent;
  border-radius: 8px;
}

#dining-size-num:hover {
  border: 2px solid #bbb;
}

#dining-size-num:focus {
  border: 2px solid #bbb;
}