

#loading-screen{
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
    z-index: 9999 !important;
    position: fixed !important;
}





@media (max-width: 600px) {
    .form-control {
        font-size: .85rem;
    }
}




/* Navbar Dropdown Item Styles */
.dropdown-item {
  white-space: normal; /* Allows text within dropdown items to wrap to the next line if needed. */
  min-width: 250px; /* Ensures each dropdown item has a minimum width of 250px for better readability and consistency. */
}

.navbarBadge {
  font-size: 12px !important;
}










    @keyframes celebration {
      0% { transform: scale(1); }
      50% { transform: scale(1.5); }
      100% { transform: scale(1); }
    }

    .celebration-animation {
      font-size: 3rem;
      text-align: center;
      animation: celebration 1s;
    }


.toast-container {
  z-index: 10000; /* This will ensure the toast is above all other elements */
}

.toast {
  width: 400px; /* Adjust this as per your needs */
  margin-top: .5em;
}












.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 40;
  vertical-align: bottom;
}




.material-symbols-outlined.filter-icon {
  margin: 0;
  padding: 0;
  line-height: 1; /* Ensure there's no extra vertical space */
  display: inline-block; /* This might help in removing any surrounding whitespace */
}









  body {
    padding-top: 20px;
    padding-bottom: env(safe-area-inset-bottom);
  }



html {
  height: -webkit-fill-available;
}









  


   .list-trash-title {
      font-family: 'Lobster', cursive;
      font-size: 84px;
      color: #337ab7;
      padding-bottom: 20px;
    }
    
    .form-check-label {
      font-size: 16px;
    }
  
  .login {
      max-width: 400px;
      margin: auto;
      padding: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
    }

#loginEmailInput, #loginPasswordInput {
  margin-top: 20px;
  margin-bottom: 20px;
}

#loginPasswordInput {
  margin-bottom: 10px;
}

.forgot-password-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}







/* Material Symbol Styles */
/* ------------------------ */
/* Sets the style of the material icons used within the Tabulator */
.material-symbols-outlined[data-icon="visibility_off"],
.material-symbols-outlined[data-icon="filter_alt"] {
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 48;
}

/* Media Queries */
/* -------------- */
/* Style adjustments for specific screen sizes or conditions */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  select, textarea, input {
    font-size: 16px;
  }
}

/* For small screens */
@media (max-width: 767px) {
  .tabulator {
    font-size: 12px;
  }
  .hide-icon {
    font-size: 20px !important;
  }
}

/* Explicitly set the header to 16px */
.tabulator .tabulator-header .tabulator-col-title {
  font-size: 16px;
}


/* Rank Menu Styles (within Tabulator Table) */

.rank-menu-container {
  min-width: 200px;  
  width: auto;
}

.rank-menu-option {
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 2px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  white-space: nowrap;  
}

.rank-menu-option .material-symbols-outlined {
  font-size: 20px;
  margin-right: 10px;
}

.rank-menu-option:hover {
  background-color: #f0f0f0;
}

/* Apply hover effect only on screens wider than 1024px, which are likely to be desktops */
@media (min-width: 1024px) {
  .tabulator-row:hover .custom-bg {
      filter: brightness(85%);
  }
}













/* Filter Icon Badges */
/* (Excluding the Hidden Job Count badge */

/* Default size for larger screens */
.badge.bg-danger:not(#hidden-jobs-count) {
  font-size: 10px;
}

/* Mobile view */
@media only screen and (max-width: 768px) {
  .badge.bg-danger:not(#hidden-jobs-count) {
      font-size: 9px;
  }
}





  .job-rank-blank .job-cell-content {
    font-weight: 500;
  }

  .job-rank-not-blank .job-cell-content {
    font-weight: 900;
  }


  #user-data {
    border: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: #f0f0f0;
  }

#signupDisclaimerBox {
  padding-top: 10px;
  margin-bottom: auto;
  font-size: 0.9rem;
}

.disclaimer-wrapper {
  display: flex;
  align-items: center;
}

#signupDisclaimerBox .form-check-label {
  margin-left: 0.5rem;
}

#signupDisclaimerCheck,
#overrideCheckbox {
  min-width: 16px; /* Set the minimum width of the checkbox to a standard size */
  min-height: 16px; /* Set the minimum height of the checkbox to a standard size */
  margin-top: 0; /* Remove any potential margin that might affect the rendering */
  margin-bottom: 0; /* Remove any potential margin that might affect the rendering */
}





.navbar {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  background-color: white;
}


/* Default styles for larger screens */
.navbar-title {
  font-size: 38px;
}


/* Styles for small screens */
@media (max-width: 768px) {
  .navbar-title {
    font-size: 32px;  
  }

  /* #navbar-brand-date {
    font-size: 14px; 
  } */
}


.navbar-brand .navbar-title {
  margin-right: 15px;
  font-family: 'Lobster', cursive;
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
}


/* Trial Alert: Styles for small screens */
@media (max-width: 768px) {
  #trial-alert-text.small-text {
    font-size: 14px; 
  }
}









.border-bottom-custom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Adjust the border color as needed */
}


/* Define the keyframes for the fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Define the keyframes for the fade-out animation */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}


.alert {
  animation: fadeIn 0.5s ease-in-out forwards;
  margin-bottom: 0;
}

/* Apply the fade-out animation when the fade-out class is added */
.alert.fade-out {
  animation: fadeOut 0.5s ease-in-out forwards;
}



.alert-space {
  margin-bottom: 10px; /* Adjust this value as needed */
}
  
  .modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }







/* Image Modal */
/* Trackwork Program */
.modal-trackwork-adjustment {
  font-family: Arial, sans-serif;
  font-size: 16px; /* Larger font size for the modal */
  line-height: 1.4;
  color:red;
}
.modal-trackwork-adjustment-title {
  font-weight: bold;
}
.modal-trackwork-adjustment-details {
  font-size: 14px; /* Slightly smaller font size for details */
  color:red;
}


/* Puff of Smoke Animation for Hiding Rows */

#puff {
  cursor:pointer;
  display:none;
  position:absolute;
  height:32px;
  width:32px;
  background: url('/smokepuff.png') no-repeat;
  pointer-events: none;
}




/* Disable double tap zoom */
.disable-dbl-tap-zoom {
  touch-action: manipulation;
}

body{
  touch-action: manipulation;
}



/* For Resizing Text Inputs on Smaller Screens */



/* Default font size for larger screens */
input.form-control,
select.form-select {
  font-size: 16px !important; 
}

/* Smaller font size for medium screens */
@media screen and (max-width: 768px) {
  input.form-control,
  select.form-select {
    font-size: 14px !important;
  }
  /* Smaller font size for empty input */
  input.form-control.empty-input,
  select.form-select.empty-input {
    font-size: 11px !important;
  }
}

/* Even smaller font size for small screens */
@media screen and (max-width: 480px) {
  input.form-control,
  select.form-select {
    font-size: 12px !important;
  }
  /* Smaller font size for empty input */
  input.form-control.empty-input,
  select.form-select.empty-input {
    font-size: 10px !important;
  }
}



/* SmartPicks Modal */
.spm-table {
  width: 100%; 
}

.striped-row td:first-child {
  width: 40%; 
}

.striped-row td:last-child {
  width: 60%; 
}

.striped-row {
  height: 65px; 
}

.icon-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

  




  








/* Tippy Slider Popover (Header Filter Popup)*/
.tippy-slider-popover-container {
  width: 300px; /* Default width */
  height: 100px; /* Default height */
  padding-top: 30px;
  padding: 10px 20px 0px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* Ensure parent is relative for absolute positioning of children */
  background-color: white; /* Background color */
}


.tippy-popover-close-button {
  position: absolute;
  top: 0; /* Top of the container */
  right: 0.5rem; /* Right of the container */
  cursor: pointer;
  font-size: 26px; /* Size of the "X" */
  color: black; /* Color of the "X" */
}

.tippy-slider-filter-header {
  position: absolute;
  top: 10px; /* Align with the "X" button vertically */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center the element */
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: black; /* Text color */
}

.tippy-content {
  padding: 0;
}

.tippy-arrow {
  color: #337ab7;
}

.tippy-slider .noUi-connect {
  background: #337ab7;
}

.tippy-box {
  background-color: white;
  color: black;
}





.irs--flat .irs-bar {
  background-color: #337ab7;
}

.irs--flat .irs-handle > i:first-child {
  background-color: #337ab7;
}

.irs--flat .irs-from, 
.irs--flat .irs-to, 
.irs--flat .irs-single {
  background-color: #337ab7;
}

.irs--flat .irs-from:before,
.irs--flat .irs-to:before,
.irs--flat .irs-single:before {
  border-top-color: #337ab7;
}



/* Adjust grid text size and color */
.irs-grid-text {
  font-size: 11px;
  color: #666;
}

/* Active handle color */
.irs--flat .irs-handle.state_hover > i:first-child,
.irs--flat .irs-handle:hover > i:first-child {
  background-color: #286090;
}



/* Adjust handle size and appearance */
.irs--flat .irs-handle {
  width: 16px;
  height: 16px;
  top: 26px;
  border-radius: 50%;
  cursor: pointer;
  /* Remove margin-left from here */
}

.irs--flat .irs-handle > i:first-child {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #337ab7;
  position: absolute;
  display: block;
  left: 50%;          /* Center the handle */
  transform: translateX(-50%);  /* Center the handle */
  top: -3px;
}

/* Handle hover state */
.irs--flat .irs-handle.state_hover > i:first-child,
.irs--flat .irs-handle:hover > i:first-child {
  background-color: #286090;
}

/* Make grid numbers clickable */
.irs-grid-text {
  cursor: pointer;
  font-size: 11px;
  color: #666;
}



/* IonRangeSlider Round Skin - Two-toned Blue Theme */
.irs--round .irs-bar {
  background-color: #337ab7;
}

.irs--round .irs-handle {
  border: 4px solid #337ab7;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.irs--round .irs-handle:hover {
  border-color: #286090;
}

.irs--round .irs-from, 
.irs--round .irs-to, 
.irs--round .irs-single {
  background-color: #337ab7;
  font-size: 12px;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
  border-top-color: #337ab7;
}

/* Grid text styling */
.irs--round .irs-grid-text {
  font-size: 11px;
  color: #666;
  cursor: pointer;
}

/* Handle hover and active states */
.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:hover {
  border-color: #286090;
  background-color: white;
}

/* Make min/max labels match grid text */
.irs--round .irs-min, 
.irs--round .irs-max {
  color: #666;
  font-size: 11px;
}












.info-bar-toggle {
  display: flex;          /* Enables Flexbox */
  justify-content: center; /* Centers horizontally */
  align-items: center;    /* Centers vertically */
  cursor: pointer;
  text-align: center;
  padding: 5px;
  background-color: #eee;
  border-top: 1px solid #ddd;
  height: 20px; /* Adjust height as needed */
}


/* Initial state of the info bar */
#info-bar {
  transition: max-height 0.3s ease-out;
  overflow: hidden;
  max-height: 200px; /* Adjust this based on your content */
}

#toggle-text {
  font-size: 11px; 
  /* font-style: italic; */
  color: black; /* Dark grey color; adjust as needed */
}



/* Container specific to notifications for distinct styling */
#notificationsContainer {
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow-y: auto;
  overflow-x: auto;
  height: calc(10 * 22px); /* Height for 10 lines, considering 12px font size and 10px padding */
  margin-top: 20px;
}

#notificationsContainer table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px; /* Optional: Set a minimum width to ensure table structure */
}

#notificationsContainer thead th {
  position: sticky;
  top: 0;
  background-color: lightgray;
  color: black;
  z-index: 1;
}

#notificationsContainer tbody tr {
  cursor: pointer; /* Indicates rows are clickable */
}

#notificationsContainer th, #notificationsContainer td {
  text-align: left;
  padding: 3px;
  font-size: 12px;
  border-bottom: 1px solid #ddd;
}

/* Prevents header from highlighting on hover */
#notificationsContainer thead tr:hover {
  background-color: transparent;
}

#notificationsContainer tr.unread {
  font-weight: bold;
  background-color: #f9f9f9;
}

/* Style for icon buttons within the notifications modal */
#notificationsModal .icon-button i {
  cursor: pointer;
  display: inline-block;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#notificationsModal .icon-button i:hover {
  background-color: #eee;
}

.unread-dot {
  height: 10px;
  width: 10px;
  background-color: #007bff; /* Blue color */
  border-radius: 50%;
  display: inline-block;
}

.unread-indicator {
  width: 15px; /* Minimal width to accommodate the dot */
  text-align: center; /* Center the dot in the column */
}

/* Adjusting column widths to accommodate the new "For Date" column */
#notificationsContainer th:nth-child(3), #notificationsContainer td:nth-child(3) {
  width: 20%; /* Reduced width for "Sent At" column */
  min-width: 90px;
}

#notificationsContainer th:nth-child(4), #notificationsContainer td:nth-child(4) {
  width: 15%; /* New "For Date" column */
  min-width: 70px;
}

#notificationsContainer th:nth-child(5), #notificationsContainer td:nth-child(5) {
  width: 65%; /* Adjusted width for "Subject" column */
}


/* Base styles for larger screens */
.notification-body {
  font-size: 14px; /* Default font size */
  line-height: 1.5; /* Default line height */
  text-align: left;
}

.notification-title {
  font-size: 24px; /* Default title size */
}

.notification-date {
  font-size: 18px; /* Default date text size */
}

/* Styles for screens less than 768px wide */
@media (max-width: 768px) {
  .notification-body {
      font-size: 12px; /* Smaller font size for smaller screens */
      line-height: 1.4; /* Adjust line height for readability */
  }

  .notification-title {
      font-size: 16px; /* Smaller title size */
  }

  .notification-date {
      font-size: 12px; /* Smaller date text size */
  }

  .driver-popover {
    max-width: 200px !important;
  }

  .alert-dismissible {
    font-size: 12px;
  }

  .custom-toast {
    font-size: 12px;
  }
}

 






/* .my-swal {
  z-index: 1000000001 !important;
} */

.freeze-background.modal-open .modal,
.freeze-background.modal-open .modal *,
.freeze-background.modal-open .modal-backdrop {
  pointer-events: none !important;
}

/* Ensure SweetAlert is on top and remains interactive */
.swal2-container,
.swal2-popup {
  z-index: 999999 !important; 
  pointer-events: auto !important;
}

/* Keep the background modals visible but non-interactive */
/* .modal.fade.show {
  pointer-events: none;
}
.modal.fade.show .modal-dialog,
.modal.fade.show .modal-content {
  pointer-events: none;
} */

/* .swal2-confirm {
  background-color: #337ab7 !important;
  border-color: #337ab7 !important;
}

.swal2-confirm:hover {
  background-color: #286090 !important;
  border-color: #204d74 !important;
} */



/**************
 *
 * Launcher
 *
 **************/

 #launcher-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* was vh */
  background-color: #f8f9fa; /* Light grey background */
  padding-bottom: 20px;
}

.container {
  width: 80%;
  margin: 20px auto; /* Centering the container */
  padding: 20px; /* Check if padding here affects child alignment */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 8px;
  box-sizing: border-box; /* Include padding in the width calculation */
}


.app-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Ensure this matches the desired width */
  gap: 25px;
  justify-content: center;
  align-items: start;
  margin: 20px auto;
  width: 100%;
}

.app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Set a specific width */
  height: 100%; /* Set a specific height to accommodate text */
  cursor: pointer;
  transition: transform 0.3s;
  overflow: hidden; /* Add overflow hidden to ensure contents do not affect size */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Base styles for the icon wrapper and badge */
.app-icon .icon-wrapper {
  position: relative;
  padding-top: 16px;
  padding-right: 19px;
  padding-left: 19px;
}

.app-icon .launcherIconBadge {
  position: absolute;
  transform: translate(50%, -50%);
  font-size: 16px !important;
  z-index: 1;
}

/* Mobile styles */
@media (max-width: 767px) {
  .app-icon .icon-wrapper {
    padding-top: 12px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .app-icon .launcherIconBadge {
    font-size: 12px !important;
  }
}


.app-icon .icon-image-container {
  position: relative;
  display: inline-block;
}

.app-icon img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}


.app-icon p {
  margin-top: 5px;
  text-align: center;
  color: #333;
  font-size: 14px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  margin: 5px 0; /* Ensure margin does not affect sizing */
}

.app-icon img {
  width: 100%; /* Ensure image fills the icon width */
  height: 80%; /* Allocate height percentage to image */
  object-fit: cover; /* Cover fit to handle different aspect ratios */
  border-radius: 8px;
}

.app-icon:hover {
  transform: translateY(-5px) scale(1.1); /* Lift and slightly enlarge icon on hover */
}

.app-icon.disabled {
  opacity: 0.5;
}

.app-icon.clicked {
  transform: scale(0.95);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
  transition: all 0.1s ease-in-out;
}

/* Animation for dragging */
@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.grabbing, .grabbing *, .sortable-ghost, .sortable-drag {
  cursor: move !important; /* fallback: no `url()` support or images disabled */
  cursor: -webkit-grabbing !important; /* Chrome 1-21, Safari 4+ */
  cursor: -moz-grabbing !important; /* Firefox 1.5-26 */
  cursor: grabbing !important; /* W3C standards syntax, should come last */
}

.app-icon-grabbed, .sortable-ghost, .sortable-drag {
  animation: shake 0.2s infinite;
}

.sortable-drag {
  visibility: hidden;
}

.form-check-input:checked {
  background-color: #337ab7 !important;
  border-color: #337ab7 !important;
}





/* New styles for when there are no apps */
.no-apps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin: 20px auto;
}

.no-apps-message {
  text-align: center;
  padding: 2rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  width: 90%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.no-apps-message p {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.no-apps-message a {
  color: #007bff;
  text-decoration: none;
}

.no-apps-message a:hover {
  text-decoration: underline;
}


.launcher-header {
  text-align: center;
  margin-bottom: 20px;
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
}


.launcher-header .alert {
  font-size: 14px;
  font-style: italic;
}

.container {
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.app-selection-prompt {
  text-align: center;
  color: #337ab7;
  font-family: 'Lobster', cursive;
  font-size: 60px;
  margin-bottom: 10px;
  font-weight: bold;
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .container {
    width: 90%;
    padding: 10px;
    margin: 20px auto;
  }

  .app-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .app-icon {
    width: 100%;
    height: auto;
  }

  .app-icon img {
    height: auto;
    margin: 0 auto;
  }

  .app-icon p {
    font-size: 12px;
    padding: 0 5px;
  }

  .no-apps-message {
    padding: 1rem;
    cursor: default;
    user-select: text;
  }

  .launcher-header .alert {
    font-size: 12px;
  }

  .launcher-header .disclaimer {
      font-size: 0.8rem;
  }

  .container {
      width: 90%;
      padding: 15px;
  }

  .app-selection-prompt {
      font-size: 40px;
      margin-bottom: 10px;
  }
}




@media (max-width: 767.98px) {
  #listsContainer .list-group-item {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  #listsContainer h6 {
    font-size: 1rem;
  }
  #listsContainer .p-3 {
    padding: 0.75rem !important;
  }
}

/* Updated styles for list items and PDF container */
#packetsList .list-group-item:not(.text-muted),
#crewbooksList .list-group-item:not(.text-muted),
#pdfContainer {
  cursor: pointer;
}

/* Prevent text selection on list items */
#packetsList .list-group-item,
#crewbooksList .list-group-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Ensure empty list items (with 'text-muted' class) have default cursor */
#packetsList .list-group-item.text-muted,
#crewbooksList .list-group-item.text-muted {
  cursor: default;
}



/* Subscription Modal */
.modal-header {
  background-color: #337ab7;
  color: white;
}

.toggle-container {
  display: flex;
  justify-content: center;
}

.toggle-input {
  display: none;
}

.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 180px;
  height: 34px;
  border-radius: 17px;
  background-color: #f0f0f0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid #d0d0d0;
}

.toggle-option {
  width: 50%;
  text-align: center;
  z-index: 1;
  transition: color 0.3s ease;
  color: #555;
  font-size: 0.9em;
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 4px);
  height: calc(100% - 4px);
  border-radius: 15px;
  background-color: #337ab7;
  transition: transform 0.3s ease;
}

.toggle-input:checked + .toggle-label .toggle-slider {
  transform: translateX(calc(100% + 4px));
}

.toggle-input:checked + .toggle-label .toggle-option.monthly,
.toggle-input:not(:checked) + .toggle-label .toggle-option.annually {
  color: #555;
}

.toggle-input:checked + .toggle-label .toggle-option.annually,
.toggle-input:not(:checked) + .toggle-label .toggle-option.monthly {
  color: white;
}

#subscribeButtonContainer {
  position: sticky;
  bottom: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
}

#subscribeButtonContainer.fixed {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.lead-text {
  font-size: 1rem;
  line-height: 1.5;
}

.pricing-card-title {
  font-size: 2.5rem;
  color: #337ab7;
}

.pricing-period {
  font-size: 1.25rem;
}

.modal .btn-primary:not(.timebook-day-type-btn) {
  background-color: #337ab7;
  border-color: #337ab7;
  transition: background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.modal .btn-primary:not(.timebook-day-type-btn):hover, 
.modal .btn-primary:not(.timebook-day-type-btn):focus {
  background-color: #286090;
  border-color: #204d74;
}

.modal .btn-primary:not(.timebook-day-type-btn):active,
.modal .btn-primary:not(.timebook-day-type-btn).active {
  background-color: #204d74 !important;
  border-color: #122b40 !important;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

.modal .btn-primary:not(.timebook-day-type-btn):disabled,
.modal .btn-primary:not(.timebook-day-type-btn).disabled {
  background-color: #337ab7;
  border-color: #337ab7;
  opacity: 0.65;
  cursor: not-allowed;
}

/* Styles for day type buttons */
.modal .timebook-day-type-btn.btn-primary,
.modal .timebook-day-type-btn.btn-primary:hover,
.modal .timebook-day-type-btn.btn-primary:focus,
.modal .timebook-day-type-btn.btn-primary:active,
.modal .timebook-day-type-btn.btn-primary.active {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.modal .day-type-btn.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
  background-color: transparent;
}

.modal .timebook-day-type-btn.btn-outline-primary:hover,
.modal .timebook-day-type-btn.btn-outline-primary:focus,
.modal .timebook-day-type-btn.btn-outline-primary:active {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.modal .timebook-day-type-btn:disabled,
.modal .timebook-day-type-btn.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}


.text-primary {
  color: #337ab7 !important;
}

.app-indicator {
  font-family: 'Arial', sans-serif;
  font-size: 0.9em;
  font-weight: bold;
  color: #6c757d;
  background-color: #f8f9fa;
  padding: 2px 4px;
  border-radius: 3px;
  margin-right: 5px;
}

@media (min-width: 768px) {
  .lead-text {
    font-size: 1.25rem;
  }

  .pricing-card-title {
    font-size: 3rem;
  }

  .pricing-period {
    font-size: 1.5rem;
  }
}




/* Styles for accordions and lists in modals */
.modal .accordion-button,
.modal .list-group-item {
  background-color: #fff;
  border-color: #286090;
  color: #000;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.modal .accordion-button:hover,
.modal .accordion-button:focus,
.modal .list-group-item:hover,
.modal .list-group-item.active {  /* Added .active here */
  background-color: #337ab7;
  border-color: #204d74;
  color: white;
}

.modal .accordion-button:active,
.modal .accordion-button:not(.collapsed) {
  background-color: #337ab7;
  border-color: #122b40;
  color: white;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/* Ensure accordion button text and icon remain visible when expanded */
.modal .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Styles for list items */
.modal .list-group-item {
  margin-bottom: 1px;  /* Add a small gap between items */
}

.modal .list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.modal .list-group-item:last-child {
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}


.timebook-info-container {
  width: 100%;
  margin: 20px auto; /* Centering the container */
  padding: 20px; /* Check if padding here affects child alignment */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 8px;
  box-sizing: border-box; /* Include padding in the width calculation */
}






.no-validation {
  background-image: none !important;
  border-color: #dee2e6 !important;
}

.no-validation:focus {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%) !important;
}

.no-validation.form-control:valid,
.no-validation.form-select:valid,
.no-validation.form-control:invalid,
.no-validation.form-select:invalid {
  background-image: none !important;
  border-color: #dee2e6 !important;
}

.no-validation.form-control:valid:focus,
.no-validation.form-select:valid:focus,
.no-validation.form-control:invalid:focus,
.no-validation.form-select:invalid:focus {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%) !important;
}



/* Timebook & Job Write Up Pagination */
.pagination-mobile .page-link {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

@media (max-width: 576px) {
  .pagination-mobile .page-link {
    font-size: 14px !important;
    padding: 0.4rem 0.6rem !important;
  }
}