* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body > #root > div {
  height: 100vh;
  width: 100%;
}

html {
  width: 100vw;
}

.navbar {
  background-color: #fff !important;
  border: none;
  border-bottom: 1px solid #edf2f9;
}

.navbar-collapse {
  background-color: #fff !important;
}

.navbar-bottom {
  background-color: #fff !important;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.navbar .navbar-nav .nav-link.active {
  background-color: #6d8be6 !important;
  color: white;
  font-weight: 400 !important;
  font-size: 14px !important;
  padding: 0.375rem 0.8rem;
  letter-spacing: 1px;
}

.nav-link:hover {
  background-color: rgb(174, 193, 248) !important;
}

.navbar .navbar-nav .nav-link {
  text-transform: uppercase;
  color: black;
  font-weight: 400 !important;
  font-size: 16px !important;
  font-family: "Source Sans Pro", sans-serif;
  padding: 0.375rem 0.8rem;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
  }
}

.navbar-nav .nav-link.active:before {
  border-bottom: none !important;
}

.font-verdana {
  font-family: Verdana !important;
}

.avatar {
  display: flex;
  height: 40px;
  width: 40px;
  background: black !important;
  border-radius: 50%;
  color: white;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: 500 !important;
}

.avatar:hover {
  background: #275cf6 !important;
  color: white !important;
}

.segmenter_avatar {
  display: flex;
  height: 30px;
  width: 30px;
  background: rgb(160, 216, 234) !important;
  border-radius: 50%;
  color: black;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 400 !important;
}

.designer_avatar {
  display: flex;
  height: 30px;
  width: 30px;
  background: #f4b183;
  border-radius: 50%;
  color: brown;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 400 !important;
}

.navbar-toggler {
  font-size: 2rem !important;
  padding: none;
  color: rgb(5, 5, 5) !important;
  padding: 0 !important;
}

.navbar-nav .nav-link.active:before {
  border-left: 3px solid #275cf6 !important;
}

.MuiPickersToolbar-toolbar {
  background-color: #275cf6 !important;
}

.MuiPickersDay-daySelected {
  background-color: #275cf6 !important;
}

input.form-control:focus,
input:focus {
  border-color: #275cf6 !important;
  border-width: 1.5px;
}

input.form-control {
  border-width: 1.5px;
}

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

.bg-primary {
  background-color: #275cf6 !important;
}

.bg-light-primary {
  background-color: #90caf9 !important;
}

.myLayout {
  display: grid;
  grid-template-rows: 100px 1fr;
  grid-template-areas: "head" "side";
}

.btn-primary {
  background-color: #275cf6 !important;
  color: white;
  font-size: 16px;
  padding: 8px;
  border-radius: 5px;
}

.btn-primary:hover {
  background-color: #003df4 !important;
  color: white;
  box-shadow:
    rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.btn-reset {
  background-color: rgb(83, 82, 82) !important;
  color: white;
  font-size: 18px;
  padding: 8px;
  border-radius: 5px;
}

.btn-reset:hover {
  background-color: #fff !important;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.btn-shadow {
  box-shadow:
    0px 3px 4px -5px rgba(24, 24, 28, 0.03),
    0px 1px 2px rgba(24, 24, 28, 0.04);
}

.btn-white {
  font-weight: 600;
  font-size: 1.25rem;
  color: #888;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.btn-purple {
  background-color: #6075de;
  color: white;
  font-size: 1rem;
  padding: 8px;
  border-radius: 5px;
}

.main-title {
  color: rgb(83, 82, 82);
  font-weight: 700 !important;
  font-size: 16px;
  padding: 10px;
  margin: 0;
  font-family: sans-serif;
  justify-content: center !important;
  align-items: center !important;
}

.side-nav {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px !important;
}

.swal-text {
  text-align: center;
}

.swal-footer {
  text-align: center;
}

.form-control:disabled {
  background-color: #f2f2f2;
  opacity: 1;
}

.table-container {
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  margin-bottom: 0;
}

.flex-parent-element {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.flex-child-element {
  flex: 1;
  border: 1px solid #d2ddec;
  margin: 10px;
  min-height: 40vh;
  max-height: 60vh;
  padding: 30px;
  overflow: scroll;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px !important;
  scrollbar-width: thin;
  scrollbar-color: #878787 #fff;
}

.flex-child-element {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #878787 #fff;
}

/* Webkit-based browsers (Chrome, Safari) */
.flex-child-element::-webkit-scrollbar {
  width: 8px;
  height: 5px;
  border-radius: 8px;
}

.flex-child-element::-webkit-scrollbar-thumb {
  background: #878787;
  border-radius: 8px;
}

.flex-child-element:first-child {
  margin-right: 20px;
}

.form-check-input[type="checkbox"] {
  width: 1.4rem;
  height: 1.4rem;
}

.wrapping-div {
  display: flex;
  justify-content: center;
  scroll-behavior: smooth;
}

.list-item {
  overflow-y: hidden;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 8px;
}

.draggable-item {
  color: black;
  background-color: #ffffff;
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(27, 31, 35, 0.12);
  border-radius: 6px;
  border: 1px solid #d0d7de;
  margin: 5px;
  word-break: break-all;
}

/* CSS */
.custom-modal-content {
  max-height: 500px;
  /* Set the desired max-height */
  max-width: 1200px;
  /* Set the desired max-width */
  overflow: auto;
  /* Add both horizontal and vertical scrollbars when content exceeds max-height and max-width */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.1);
}

.scrollable-content {
  overflow: auto;
  /* Add scrollbars when content exceeds the size of the container */
  max-height: 100%;
  /* Allow the content to expand vertically */
  max-width: 100%;
  /* Allow the content to expand horizontally */
}

.table-wrapper {
  overflow: auto;
  /* Add scrollbars to the table wrapper */
  max-height: 100%;
  /* Allow the table wrapper to expand vertically */
}

.table-responsive-planner {
  width: 100%;
  /* Ensure the table takes full width */
}

/* Customize scrollbar appearance */
.custom-modal-content::-webkit-scrollbar {
  width: 8px;
  /* Set the width of the scrollbar */
}

.custom-modal-content::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
  /* Set the background color of the scrollbar track */
}

.custom-modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  /* Set the color of the scrollbar thumb */
  border-radius: 4px;
  /* Set the border radius of the scrollbar thumb */
}

.table-responsive-planner {
  max-height: 700px;
  width: 100%;
  /* Ensure the table container takes full width */
  overflow-x: auto;
  /* Add horizontal scrollbar when content exceeds the width */
}

.multiline-ellipsis {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  white-space: pre-wrap;
}

.circle {
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: "Manrope";
  color: #fff;
  text-align: center;
  background: #5757f0de;
}

.image-div {
  width: 100px;
  height: 80px;
}

/* =============================================================== */
/* CSS Responsive for planner (Version Optimized foor Laptops 13,14,15,16 Inches)   */
/* =============================================================== */

/* droppable-div / undroppable-div styles managed by MUI sx in planner-day-column.js */

.scrollable-div {
  font-family: sans-serif;
  text-align: center;
  display: flex;
  position: relative;
  align-items: center;
}

.arrow-separator {
  flex-grow: 1;
  width: 100%;
}

/* planner-container, planner-column, and scrollbar styles managed by MUI sx */
/* Only responsive media queries remain below */

/* --- from 0px and upper --- */
@media (max-width: 767px) {
  .planner-container {
    flex-direction: column;
  }

  .planner-column {
    width: 100%;
    flex: none;
  }
}

/* --- 768px and up (Tablets & Small Laptops) --- */
@media (min-width: 768px) {
  .planner-container {
    flex-direction: row;
  }

  .planner-column {
    flex: 1 1 12rem;
  }
}

/* --- Medium Laptops (1280px and up) --- */
/* For screens ~13 to 14 inches. */
@media (min-width: 1280px) {
}

/* --- Large Laptops (1440px and up) --- */
/* For screens ~15 to 16 inches. */
@media (min-width: 1440px) {
}

/* --- Extra Large Screens (1920px and up) --- */
/* For desktop monitors. */
@media (min-width: 1920px) {
}

/* =============================================================== */

.card-action-separator {
  border-top: 1px solid #cccccc;
  border: "none";
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.loader {
  border: 8px solid #f3f3f3;
  /* Light gray border */
  border-top: 8px solid #3498db;
  /* Blue border on top */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  /* Spin animation */
  margin: 0 auto;
}

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

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

.progress {
  height: 0.75rem !important;
}

#lock .rdrDefinedRangesWrapper {
  display: none !important;
}

#lock .rdrCalendarWrapper {
  color: #000000 !important;
  font-size: 0.9rem !important;
}
#calendar .rdrDefinedRangesWrapper {
  display: none !important;
}

#calendar .rdrCalendarWrapper {
  color: #000000 !important;
  font-size: 0.9rem !important;
}

.fa-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.violet {
  color: rgba(148, 75, 203, 1) !important;
  background-color: rgba(85, 66, 246, 0.1) !important;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: "Manrope";
}
.chip-violet {
  color: rgba(148, 75, 203, 1) !important;
  background-color: rgba(85, 66, 246, 0.1) !important;
  font-weight: 600;
  font-size: 0.8rem;
}

.chip-orange {
  background-color: rgba(250, 227, 219, 1);
  color: rgba(227, 100, 54, 1);
  font-weight: 600;
  font-size: 0.8rem;
}

.chip-blue {
  color: rgba(0, 80, 255, 1);
  background-color: rgba(219, 231, 255, 1) !important;
  font-weight: 600;
  font-size: 0.8rem;
}
.light-purple {
  color: #8080ff;
  background-color: #e6e6ff;
}

.light-blue {
  color: rgba(1, 144, 228, 1) !important;
  background: rgba(209, 232, 246, 1) !important;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: "Manrope";
}

.green {
  color: rgba(57, 132, 57, 1) !important;
  background: rgba(219, 240, 219, 1) !important;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: "Manrope";
}

.brown {
  background-color: rgba(227, 100, 54, 1);
  color: rgba(250, 227, 219, 1);
  font-weight: 600;
  font-size: 0.8rem;
  font-family: "Manrope";
}

.dark-blue {
  color: rgba(0, 80, 255, 1);
  background-color: rgba(219, 231, 255, 1) !important;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: "Manrope";
}

.light-violet {
  background-color: #8080ff !important;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Manrope";
}
.badge.bg-brown-soft {
  color: white;
}

.bg-brown-soft {
  background-color: rgb(227, 107, 63) !important;
}

.card-custom {
  background-color: #fff !important;
  border: none;
}

.form-color {
  background-color: #fafafa !important;
}

.form-control-custom:focus {
  color: #495057;
  background-color: #fff;
  border-color: #8080ff;
  outline: 0;
  box-shadow: none;
  text-indent: 10px;
}

.comment-text {
  font-size: 13px;
}

.issue-data-block {
  border-bottom: 1px solid #c1c7d0;
  padding: 10px;
}

.icon-dark {
  color: #275a82;
}

.faded-btn {
  border-radius: 3.01px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid rgba(9, 30, 66, 0.08);
  background-color: rgba(9, 30, 66, 0.08);
  color: #344563;
  height: 2.14285714em;
  line-height: 1.42857143em;
  padding: 4px 10px;
  vertical-align: initial;
}

.active-btn {
  background-color: #344563;
  color: #fff;
}

.active-btn:hover {
  background-color: #475368;
  color: #fff;
}

.aui-avatar-inner {
  height: 2.1875rem;
  width: 2.1875rem;
  border-radius: 100%;
  overflow: hidden;
}

.btn-camp {
  background-color: rgb(254, 112, 98) !important;
  color: white;
  font-size: 16px;
  padding: 8px;
  border-radius: 5px;
}

/* style applied when update comments modal is open */
.body-backdrop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  /* Adjust z-index to make sure it's above the modals */
  display: none;
}

.modal-open .body-backdrop-overlay {
  display: block;
}

.btn-close {
  background-color: #f7c1c1 !important;
  margin: -0.5rem -0.75rem -0.5rem auto !important;
}

.border-bottom-planner {
  border-bottom: 1px solid rgb(213 216 220) !important;
}

.border-top-planner {
  border-top: 1px solid rgb(213 216 220) !important;
}

.form-switch.form-switch-sm .form-check-input {
  height: 1.2rem;
  width: calc(1.7rem + 0.75rem);
  border-radius: 2.3rem;
}
/* Hide the time in the Day view popup */
.rbc-time-content > .rbc-time-gutter {
  display: none;
}

.rbc-btn-group .rbc-btn-group-agenda {
  display: none;
}

.rbc-label {
  padding: 0 !important;
}

.rbc-show-more {
  color: #282893 !important;
}

.inputDrop {
  border: 2px dashed red;
  border-radius: 5px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  background: #f1f2f1;
  cursor: pointer;
}
.imagePreview {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border: 1px solid #f1f2f3;
  padding: 2px;
}
.previewImage {
  position: relative;
}
.previewImage img {
  width: 120px;
  height: 120px;
  margin: 3px;
}
.removeImg {
  position: absolute;
  color: red;
  width: 15px;
  height: 20px;
  z-index: 100;
  right: 0;
  box-sizing: border-box;
  cursor: pointer;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #878787 #fff;
}

/* Webkit-based browsers (Chrome, Safari) */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
  width: 8px;
  height: 5px;
  border-radius: 8px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
  background: #878787;
  border-radius: 8px;
}

.tableFixHead {
  overflow: auto;
  max-height: 60vh;
  scrollbar-width: 8px;
  scrollbar-width: thin;
  scrollbar-color: #878787 #cfcfcf;
}

.tableFixHead thead th {
  position: sticky !important;
  top: 0;
  z-index: 1;
}

/* Webkit-based browsers (Chrome, Safari) */
.tableFixHead::-webkit-scrollbar {
  width: 8px;
  height: 5px;
  border-radius: 8px;
}

.tableFixHead::-webkit-scrollbar-thumb {
  background: #878787;
  border-radius: 8px;
}
.user-badge {
  position: relative;
  padding: 2px 5px;
  display: inline-block;
  font-size: 1.2rem;
}

.button__badge {
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;

  padding: 1px 3px;
  font-size: 10px;

  position: absolute;
  /* Position the badge within the relatively positioned button */
  top: 0;
  right: 0;
  border-radius: 30%;
}

.custom-file-upload {
  position: relative;
  display: inline-block;
}

.custom-file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  height: 100%;
  width: 100%;
}
