:root {
  --light-grey: #E5E7EB;
  --dark-grey: #64738B;
  --light-blue: #E5F2FF;
  --dark-blue: #004AB2;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-size: 14px;
}

body {
  color: #1a202c;
  background: var(--light-blue);
  /* background-image: linear-gradient(#eaeaeb, #ffffff); */
  /* text-align: left; */
  font-family: 'Inter';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #020817
}

table {
  color: rgb(0,0,0);
}

input {
  border: solid 1px !important;
  border-color: #bdbdbd !important;
}

select {
  border: solid 1px !important;
  border-color: #bdbdbd !important;
}

h2 {
  color: var(--Svart, #020817) !important;
  font-feature-settings: 'liga' off, 'clig' off !important;
  font-family: Inter !important;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 28.8px !important; 
}

h3 {
  font-weight: 600 !important;
  font-size: 24px !important;
}

h5 {
  font-weight: 600 !important;
}

textarea {
  resize: none;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background: var(--light-grey) !important;
}

::-webkit-scrollbar-track {
  background: #fff !important;
}

.mr-1 {
  margin-right: 1rem !important;
}

.mr-05 {
  margin-right: 0.5rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.ml-1 {
  margin-left: 1rem !important;
}

.ml-15 {
  margin-left: 1.5rem !important;
}

.ml-2 {
  margin-left: 2rem !important;
}

.pl-025 {
  padding-left: 0.25rem !important;
}

.pl-1 {
  padding-left: 1rem !important;
}

.pl-2 {
  padding-left: 2rem !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pr-1 {
  padding-right: 1rem !important;
}

.ta-c {
  text-align: center !important;
}

.h-100 {
  height: 100vh !important;
}

.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.top-right {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.colx-1 {
  flex: 0 0 auto;
  width: 11%;
}

.colx-11 {
  flex: 0 0 auto;
  width: 89%;
}

.org-pick-panel {
  background-color: rgb(255, 255, 255);
  box-shadow: 0 4px 16px 0 rgba(187, 223, 247, 0.1);
  border-radius: 1.5rem;
  padding: 1.5rem 3rem;
  height: auto;
  min-height: 130px;
}

.org-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-org {
  border: 2px solid var(--Dus-tekst, #64738B);
  background: var(--Hvit, #FFF);
  color: var(--dark-blue);
  font-weight: 600;
  /* Liten boks */
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin-bottom: 12px;
}

.btn-org:hover {
  background-color: #ececec !important;
  transition: all 0.2s !important;
}

.btn-transparent {
  background: transparent;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  color: var(--dark-blue);
}

.panel {
  padding: 84px 76px 84px 76px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 4px 16px 0 rgba(187, 223, 247, 0.1);
  border-radius: 1.5rem;
  width: 100%;
  overflow-y: scroll;
}

.mini-panel {
  border-radius: 16px;
  border: 1px solid var(--light-grey);
  background: var(--Hvit, #FFF);
  width: 300px;
  height: 200px;
  margin: 1rem;
  /* Liten boks */
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.mini-panel:hover {
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2);
}

.holidays-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  max-width: 100%;
  gap: 20px 24px; /* row gap, column gap */
  margin-bottom: 2rem;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.holidays-reloading {
  opacity: 0.2;
  pointer-events: none;
}

.list-panel {
  padding: 15px;
  margin-bottom: 1rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  border: solid 2px var(--light-grey);
  width: 100%;
}

.spread-horizontally {
  display: flex;
  justify-content: space-between;
}

.bg-white {
  background-color: #ffffff;
}

.grey-text {
  color: #64738B !important;
}

.main-text {
  font-size: 1.2rem;
  color: #42526b !important;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.secondary-text {
  font-size: 0.9rem;
  color: #64738B !important;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.btn-subtle {
  background-color: rgb(255, 255, 255);
  color: #64738B;
  border: 2px solid var(--Dus-tekst, #64738B);
  border-radius: 0.25rem;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 1rem;
}

.btn-subtle:hover {
  color: #2e2e2e;
  border: 2px solid var(--Dus-tekst, #2e2e2e);
  transition: all 0.2s;
}

.btn-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #E5F2FF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-play:hover {
  background-color: #CCE6FF;
  transition: all 0.2s ease;
}

.btn-light-icon {
  border-radius: 4px;
  border: 2px solid var(--Dus-tekst, #64738B);
  background: var(--Hvit, #FFF);
  color: #64738B;
  font-weight: 600;
  padding: 8px 12px;
}

.btn-light-icon:hover  {
  border: 2px solid #363d47;
  color: #363d47;
  transition: all 0.2s !important;
}


.smaller {
  font-size: small!important;
}

.org-choice {
  border-radius: 0.5rem;
}

.org-choice:hover {
  background-color: #E5F2FF;
  transition: all 0.2s;
}

.btn-common {
  border-radius: 4px;
  border: 2px solid var(--Dus-tekst, #64738B);
  background: var(--Hvit, #FFF);
  color: var(--dark-blue);
  font-weight: 600;
  /* Liten boks */
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
  padding: 8px 16px;
}

.btn-common:hover  {
  background-color: #dfdfdf !important;
  transition: all 0.2s !important;
}

.btn-common:disabled {
  color: #bdbdbd !important;
  background-color: #dfdfdf !important;
  transition: all 0.2s !important;
  cursor: not-allowed;
}

.btn-delete {
  display: flex;
  color: #FFFFFF;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: var(--Rd, #800000);
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
}

.btn-delete:hover {
  background: var(--Rd-hover, #A00000);
  transition: all 0.2s;
}

.hov-blue:hover {
  color: rgb(30, 167, 205);
  transition: all 0.2s;
}

.blue {
  color: #004DB8;
}

.hov-red:hover {
  color: rgb(180, 20, 105);
  transition: all 0.2s;
}

.highlighted-panel {
  background-color: rgb(255, 255, 255);
  margin: 1rem;
  padding: 1rem;
  min-height: 400px;
  border-radius: 1rem;
  border: 1px solid rgba(254, 248, 240, 0.46);
}

.list-group {
  min-height: 200px;
}

.list-group-item {
  border-radius: 0.25rem;
  border: dashed 2px rgba(128, 93, 255, 0.562);
  background-color: rgba(245, 242, 255, 0.562);
  border-top-width: 2px !important;
  margin: 0.5rem;
}

.event-title {
  font-size: 14px;
}


.list-group-item:hover {
  background-color: rgb(250, 250, 250);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s;
}

.clickable {
  cursor: pointer;
}

.hov-blue:hover {
  color: rgb(30, 167, 205);
  transition: all 0.2s;
}

.hov-grey:hover {
  color: rgb(148, 148, 148);
  transition: all 0.2s;
}

#external-events .fc-event {
  cursor: move;
  margin: 3px 0;
}

.outside-nav-content {
  margin-left: 170px;
  margin-right: 1rem;
  height: 100%;
}

.nav-element {
  font-size: 1.25rem;
  width: 100%;
  cursor: pointer;
}

.nav-element:hover {
  color: rgb(30, 167, 205);
}

.nav-button {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  border-radius: 12px;
  color: #1a202c;
  padding: 12px 16px 12px 2rem;
  margin-top: 0.25rem;
  
}

.nav-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding-left: 4px;
  width: 100%;
}

.nav-button.highlighted {
  background-color: #CCE6FF;
}

.nav-button:hover {
  background-color: #CCE6FF;
  transition: all 0.2s;
}

#calendar {
  margin-bottom: auto;
  margin-top: 20px;
  height: auto;
  max-height: 80vh;
  z-index: 1;
}
/* Base styles for the sidebar */
.sidebar {
  width: 160px;
  height: 100%;
  background-color: #ffffff;
  padding: 0;
  position: fixed;
  transition: width 0.3s ease;
}

.sidebar-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  flex-shrink: 0; /* Prevent it from growing to fill space */
}

.configurator {
  background: #F2F2F7;
}

.configurator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: solid 1px #f0f0f0
}

.panel-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.configurator.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}


.header-left {
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
}

.header-right {
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
}

.panel-body {
    padding: 16px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.form-row label {
    color: #333;
    font-size: 14px;
    margin-right: 1rem;
}

.selector {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px;
    min-height: 20px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 0.5rem;
    height: 100%;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #0066cc;
    cursor: pointer;
}

.radio-option label {
  cursor: pointer;
}

.time-section {
    margin-top: 16px;
}

.time-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.time-row label {
    width: 50px;
    margin-right: 12px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.time-inputs {
    display: flex;
    gap: 8px;
    flex-grow: 1;
}

.date-input {
    width: 55%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.time-input {
    width: 40%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.multiple-dates-choice {
    min-width: 200px !important;
}


.org-panel {
  position: fixed;
  padding: 15px;
  top: 100px;
  left: 12%;
  width: 300px;
  background: #ffffff;
  box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: none;
  z-index: 100000000;
}

.org-panel.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

.org-panel .panel-header {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  z-index: 100000000;

}

.org-panel .panel-body {
  padding: 15px;
  z-index: 100000000;
}

.org-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.org-panel ul li {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: black;
}

.org-panel ul li ul li:hover {
  background: #f7f7f7;
}

.tooltip {
  opacity: 1 !important;
}

.tooltip-inner {
  text-align: left;
  box-shadow: 0 0 16px 8px rgba(0, 0, 0, 0.2);
  background-color: white;
  color: black;
  opacity: 1;
  font-size: 1rem;
}

.tooltip-arrow::before {
  border-top-color: rgba(0,0,0,0) !important; /* Adjust this based on tooltip placement */
  border-bottom-color: rgba(0,0,0,0) !important;
  border-left-color: white !important;
  border-right-color: white !important;
}

.queue-button {
  color: #64738B !important;
  background-color: #ffffff !important;
  border-radius: 32px !important;
  border: 1px solid var(--light-grey) !important;
  display: flex !important;
  padding: 8px 16px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  margin-right: 1rem !important;
  font-size: 16px !important;
}

.queue-button:hover {
  background-color: var(--Valgt-knapp-dus, #EFF1F5) !important;
  transition: all 0.25s !important;
}

.queue-button.active {
  background-color: var(--Valgt-knapp-dus, #EFF1F5) !important;
  color: #404d61 !important;
}

.create-new-option {
  font-weight: bold !important;
  background-color: #f8f9fa !important;
}

/* Style for the optgroup to make it visually distinct */
optgroup {
  font-weight: bold;
  color: #6c757d; /* Bootstrap secondary color */
}

/* Style for options within the optgroup */
optgroup option {
  font-weight: normal;
  color: #212529; /* Bootstrap dark color */
}

.fc-event {
  white-space: normal; /* Prevents text from wrapping to a new line */
  overflow-y: hidden; /* Hides any text that overflows */
  overflow-x: auto;
  text-overflow: ellipsis; /* Adds "..." to indicate truncated text */
  word-break: break-word; /* Breaks words that are too long */
  border-radius: 1rem;
}

.fc-event::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none; /* Ensures the fade effect doesn't interfere with interactions */
}

.fc-prev-button {
  margin-right: 1rem !important;
}

.fc-next-button {
  margin-left: 1rem !important;
}

.fc-col-header-cell {
  padding: 0.5rem !important;
}

.fc-col-header-cell.fc-day-today .fc-scrollgrid-sync-inner {
  background-color: var(--Valgt-knapp-dus, #EFF1F5);
  border-radius: 30px !important;
}

.fc-button-primary {
  font-family: 'Inter', sans-serif !important;
  background-color: white !important;
  color: var(--dark-grey) !important;
  border: solid 1px #bdbdbd !important;
  border-radius: 32px !important;
  font-size: 16px !important;
  padding: 8px 16px !important;
}

.fc-button-primary:hover {
  background-color: var(--light-grey) !important;
  transition: all 0.2s !important;
}

.fc-addNewBlock-button {
  color: white !important;
  background-color: #004DB8 !important;
  border-radius: 4px !important;
  display: flex !important;
  padding: 12px 20px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

.fc-addNewBlock-button:hover {
  background-color: #02429b !important;
  transition: all 0.2s !important;
}

.fc-saveChanges-button {
  color: var(--dark-blue) !important;
  font-weight: 600 !important;
  background-color: #ffffff !important;
  border: 2px solid var(--dark-grey) !important;
  border-radius: 4px !important;
  display: flex !important;
  padding: 12px 20px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: 1rem !important;
}

.fc-saveChanges-button:hover {
  background-color: #dfdfdf !important;
  transition: all 0.2s !important;
}

.fc-saveChanges-button:disabled {
  color: #bdbdbd !important;
  box-shadow: none !important;
  border: 2px solid var(--Dus-tekst, #7e8ba0) !important;
  background-color: #f0f0f0 !important;
}

.fc-closeNow-button {
  color: #64738B !important;
  background-color: #ffffff !important;
  border-radius: 4px !important;
  border: 2px solid var(--Dus-tekst, #64738B) !important;
  display: flex !important;
  padding: 12px 20px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: 1rem !important;
}

.fc-closeNow-button:hover {
  background-color: var(--light-grey) !important;
  transition: all 0.2s !important;
}

.fc-closeNow-button:disabled {
  color: #bdbdbd !important;
  box-shadow: none !important;
  background-color: #f0f0f0 !important;
}

.fc-timegrid-slot {
  border: none !important; /* horizontal lines */
}

.fc-timegrid-event-harness {
  border-right: 10px solid transparent !important; /* vertical lines */
  border-left: 10px solid transparent !important; /* vertical lines */
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1;
}

.fc-timegrid-event-harness:last-child {
  z-index: 2;
}

.fc-timegrid-col-frame {
  border: none !important; /* vertical lines */
}

.fc-timegrid .fc-daygrid-body {
  position: sticky;
  top: 92px; /* Adjust based on your header height */
  z-index: 9 !important;
  background: white;
}

/* Ensure proper layering */
.fc-timegrid .fc-scrollgrid-sync-table {
  position: relative;
  z-index: 9991;
}

.fc-timegrid-col.fc-day-today {
  background-color: transparent !important;
}

/* .fc-timegrid .fc-scrollgrid-sync-table {
  position: sticky;
  top: 40px; 
  z-index: 1;
} */

/* .fc-toolbar.fc-header-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 100px;
  background-color: white;
  margin-bottom: 0rem;
  padding-bottom: 25px;
} */

/* .fc-scrollgrid {
  position: sticky;
  top:85px;
} */
/* 
.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>* {
  top: 36px;
  border-top: solid 1px rgba(0,0,0, 0.1);
} */

.fc-col-header-cell-cushion {
  color: #64738B !important;
  font-size: 1.25rem;
  font-weight: 300;
  border-radius: 30px;
  /* text-decoration: none; */
}

.fc .fc-timegrid-axis-frame {
  display: none !important;
}

.fc .fc-timegrid-slot-label-frame {
  display: none !important;
}

.fc .fc-timegrid-axis-cushion {
  display: none !important;
}

.fc .fc-timegrid-slots table {
  border-left: none !important;
}

/* Remove the width from the time axis column */
.fc .fc-timegrid-axis {
  width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.fc-scrollgrid {
  border: none !important;
}

.fc-timegrid-slot-label {
  border-left: solid 4px white !important;
}

.fc-timegrid-slot-label-frame {
  border-left: solid 4px white !important;
}

.fc-timegrid-body {
  z-index: 2;
}

.fc-timegrid-slot-label-cushion {
  color: #ffffff !important;
  border: none !important;
  /* text-decoration: none; */
}
/* .fc-col-header-cell-cushion:hover {
  color: rgb(0,0,0);  
} */

.fc-description {
  max-height: initial;
  width: 100% !important;
  word-wrap: break-word;
  font-size: 1rem;
  padding: 0.25rem;
}

.fc-timegrid-slot {
  height: 0.5rem !important;
  border: none !important;
}

.fc-timegrid-col {
  border: none !important;
}

/* .fc-toolbar.fc-header-toolbar {
  position: sticky;
  top: 0;
  z-index: 999; 
  background: white; 
} */

.fc .fc-col-header {
  position: sticky;
  top: 650px !important;
  background: rgb(255, 255, 255);
}

.fc .fc-col-header-cell {
  border-right: none;
  border-left: none;
}

.fc-timegrid-body .fc-scroller {
  overflow-y: auto !important;
}

.fc-view-harness {
  position: relative;
  overflow-y: scroll;
  border: none !important;
}

.fc-event-main {
  cursor: pointer;
  height: 100%;
}

.fc-theme-standard .fc-scrollgrid,
.fc-theme-standard td,
.fc-theme-standard th {
  border-right: none !important;
  box-shadow: none !important;
}

.static-event {
  z-index: 1000;
}

.custom-select-container {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.custom-select-container select {
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.modal-content {
  border-radius: 18px !important;
}

.img-fluid {
  width: 50px;
  height: 50px;
}

.top-nav-element {
  margin-bottom: 100px;
}

.calendar-fade-wrapper {
  position: relative;
  /* Set a max-height or height if you want the fade to appear when scrolling */
  /* max-height: 600px; */
  /* overflow: hidden; */
}

.calendar-fade-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px; /* Height of the fade effect */
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
  /* Adjust #fff to match your calendar's background */
  z-index: 10;
}

.flatpickr-calendar {
  z-index: 2000 !important;
}

#phone-status-panel {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1050;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 10px 18px;
  display: flex;
  align-items:center;
  gap: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Validation feedback styles */
.border-danger {
  border: 2px solid #dc3545 !important;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.3);
}

.border-warning {
  border: 2px solid #ffc107 !important;
  box-shadow: 0 0 5px rgba(255, 193, 7, 0.3);
}

/* Animation for validation feedback */
@keyframes validationPulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.border-danger, .border-warning {
  animation: validationPulse 2s ease-in-out;
}

@media (max-width: 1919px) {

  body {
    font-size: 1rem;
  }

  h5 {
    font-size: 1.1rem;
  }

  h6 {
    font-size: 1rem;
  }
  
  .colx-1 {
    width: 80px;
  }

  .colx-11 {
    width: calc(100% - 80px);
  }

  .org-name {
    display: none !important;
  }

  .fc-addNewBlock-button {
    font-size: 1rem !important;
    padding: 8px 12px !important;
    margin-left: 0.5rem !important;
  }

  .fc-saveChanges-button {
    font-size: 1rem !important;
    padding: 8px 12px !important;
    margin-left: 0.5rem !important;
  }

  .fc-closeNow-button {
    font-size: 1rem !important;
    padding: 8px 12px !important;
    margin-left: 0.5rem !important;
  }


  .fc-next-button {
    margin-left: 0.2rem !important;
    border-radius: 16px !important;
    padding: 4px 8px !important;
  }

  .fc-prev-button {
    margin-right: 0.2rem !important;
    border-radius: 16px !important;
    padding: 4px 8px !important;
  }

  .fc-today-button {
    margin: 0 !important;
    border-radius: 16px !important;
    padding: 4px 8px !important;
  }

  .holidays-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .list-panel {
    min-width: 200px;
  }

  .queue-button {
    font-size: 1rem !important;
    padding: 8px 12px !important;
  }

  .top-nav-element {
    margin-bottom: 30px;
  }

  .sidebar {
    padding: 0;
  }

  .panel {
    margin: 0;
    margin-top: 0.25rem;
    padding: 1.5rem;
  }

  .list-group-item {
    padding: 0.5rem;
  }

  .form-control {
    font-size: 0.8rem;
  }

  .form-select {
    font-size: 0.8rem;
  }

  .modal-body {
    padding: 0.5rem;
  }

  .sidebar-header {
    display: none !important;
  }

  .fc-event-main {
    font-size: 0.8rem;
  }

  .sidebar {
    width: 30px;
  }

  .outside-nav-content {
    margin-left: 30px;
    overflow-x: scroll;
  }

  .sidebar-header {
    display: none;
  }

  .nav-title {
    display: none;
  }

  .org-panel {
    top: 1rem;
    left: 5%;
  }

  #phone-status-panel {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    top: auto;
    width: auto;
    min-width: 250px;
    /* Optionally, add a little padding or adjust as needed */
    z-index: 1050;
  }

}

/* MOBILE NAVIGATION: Only show on screens <= 650px */
@media (max-width: 650px) {
  h5 {
    font-size: 1rem;
  }

  h6 {
    font-size: 0.8rem;
  }

  .mobile-topbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 56px;
    background: var(--light-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #004488;
  }
  .hamburger-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
  }
  .hamburger-icon {
    width: 28px;
    height: 3px;
    background: #004488;
    display: block;
    position: relative;
  }
  .hamburger-icon::before,
  .hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: #004488;
    transition: 0.2s;
  }
  .hamburger-icon::before {
    top: -8px;
  }
  .hamburger-icon::after {
    top: 8px;
  }
  .mobile-nav-drawer {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    height: auto;
    background: var(--light-blue);
    z-index: 10002;
    transform: translateY(-100%);
    transition: transform 0.2s;
    overflow-y: auto;
    display: none;
  }
  .mobile-nav-drawer.open {
    display: block;
    transform: translateY(0);
  }
  .mobile-nav-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  /* Hide sidebar on mobile */
  .colx-1 {
    display: none !important;
  }
  .colx-11 {
    width: 100%;
  }

  .panel {
    padding: 1rem 1.5rem;
  }

  .mini-panel {
    width: 100%;
    height: 100px;
    padding: 0.5rem;
  }

  .holidays-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .img-fluid {
    width: auto;
    height: auto;
  }

  .fc-button-primary {
    padding: 0.2rem 0.5rem 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    gap: 0.2rem !important;
  }

  .fc-next-button {
    margin-left: 0.2rem !important;
  }

  .fc-prev-button {
    margin-right: 0.2rem !important;
  }

  .fc-today-button {
    margin: 0 !important;
  }

  .big-screen-only {
    display: none;
  }

  .nav-title {
    display: block;
  }

  .queue-button {
    font-size: 0.8rem !important;
    padding: 4px 6px !important;
    border-radius: 0.5rem !important;
  }

  .btn-light-icon {
    font-size: 0.8rem !important;
    padding: 0.5rem !important;
  }

  #calendar {
    margin-top: 1rem;
    width: auto;
  }

}

/* DESKTOP/TABLET: Hide mobile nav elements above 430px */
@media (min-width: 650px) {
  .mobile-topbar,
  .mobile-nav-drawer {
    display: none !important;
  }
  .colx-1 {
    display: block !important;
  }
}

/* Contextual toast notifications */

.toast-body {
  white-space: pre-wrap;
}

/* Custom width for warning toasts */
#warning-toast {
  min-width: 600px;
  max-width: 800px;
}

.contextual-toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  max-width: 600px;
  font-size: 14px;
  line-height: 1.4;
  border-left: 4px solid;
  animation: contextualToastSlide 0.3s ease-out;
}

.contextual-toast-error {
  border-left-color: #dc3545;
}

.contextual-toast-warning {
  border-left-color: #ffc107;
}

.contextual-toast-content {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contextual-toast-content i {
  margin-top: 2px;
  flex-shrink: 0;
}

.contextual-toast-error .contextual-toast-content i {
  color: #dc3545;
}

.contextual-toast-warning .contextual-toast-content i {
  color: #ffc107;
}

.text-bg-error {
  background-color: #dc3545;
  color: #ffffff;
}

@keyframes contextualToastSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.highlighted-default {
  border: 2px solid #e9e9e9;
  background: #f5f5f5;
}


