body {
  background: rgb(233, 233, 226);
}

.card-header-tabs .nav-link.active {
  border: none;
  background-color: #f5f5f5;
}

#back-button-arrow {
  text-decoration: none;
  color: black;
}

#back-button-arrow svg {
  width: 1.8rem;
  height: 1.8rem;
}

#back-button-arrow svg:hover {
  scale: 1.2;
}

.navbar-brand-small {
  display: none;
}

.hamburger-small-screen {
  display: none;
}

.header-logo-small {
  display: none;
}

/* SIDEBAR STYLE

.sidebar {
  width: 20rem;
  background: rgb(233, 233, 226);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  transition: transform 0.3s ease;
  z-index: 9999999;
}

.sidebar.collapsed {
  transform: translateX(-20rem);
}

.sidebar.opened {
  transform: translateX(0rem);
} */

/* LOGO */
/* .main-logo {
  cursor: pointer;
  scale: 1.2;
}

.main-logo:hover {
  scale: 1.2;
  cursor: pointer;
}

.sidebar-icons {
  margin-right: 2.5rem;
}

.navbar {
  align-items: center;
}

.navbar .navbar-nav {
  margin-left: 6.5rem;
}

.sidebar-icons svg {
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0rem;
}

.sidebar-icons svg:hover {
  scale: 1.1;
} */

/* COMPOSE BUTTON */
.compose-btn {
  border-radius: 2rem;
  align-items: center;
  background-image: linear-gradient(to right,
      red,
      rgb(232, 98, 50),
      rgb(255, 55, 0));
  background-size: 150%;
  border: none;
  transition: 0.4s;
}

.compose-btn:hover {
  border-radius: 2rem;
  align-items: center;
  background-position: right;
  border: none;
}

/* LEFT BUTTONS */
.left-btns {
  background-color: white;
  padding: 1rem;
}

.left-btns button {
  border-radius: 2rem;
}

.mail-buttons.selected {
  background: #2978f8;
  border-radius: 2rem;
}

/* TASKS PANELS */
.task-container {
  padding-top: 0;
  max-height: 160px;
  overflow-y: auto;
}

.task-container::-webkit-scrollbar {
  width: 8px;
}

.task-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.task-container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* For Firefox */
.task-container {
  scrollbar-width: thin;
  scrollbar-color: #888;
}

/* NOTIFICATION PANELS */
.notification-container {
  max-height: 160px;
  overflow-y: auto;
}

.notification-container::-webkit-scrollbar {
  width: 8px;
}

.notification-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.notification-container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.notification-container {
  scrollbar-width: thin;
  scrollbar-color: #888;
}

/* MAIN CONTENT */
.main-content {
  background: rgb(233, 233, 226);
  width: calc(100% - 20rem);
  margin-left: 20rem;
  transition: margin-left 0.4s ease, width 0.4s ease;
}

.main-content.collapsed {
  margin-left: 0;
  width: 100%;
}

.user-details {
  background-color: grey;
  color: white;
  border-radius: 1.5rem;
}

/* COMPOSE AREA */
.options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.container .option .button {
  height: 2rem;
  width: 2rem;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: none;
  background-color: #fff;
  outline: none;
  color: #020929;
}

.container .option .select {
  padding: 7px;
  border: 1px solid black;
  border-radius: 3px;
}

.options label,
.options select {
  font-family: Georgia, "Times New Roman", Times, serif;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  width: 3rem;
  height: 2rem;
  border: none;
  cursor: pointer;
}

input[type="color"]::-webkit-color-swatch {
  border-radius: 1rem;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #020929;
}

input[type="color"]::-moz-color-swatch {
  border-radius: 1rem;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #020929;
}

#text-input {
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px solid #dddddd;
  height: 50vh;
}

.active {
  background-color: #e0e9ff;
}

.btn {
  border: none;
}

.user-dropdown {
  background-color: grey;
  padding: 0.5rem 1rem;
  color: white;
  border-radius: 2rem;
}

.navbar {
  background-color: rgb(233, 233, 226);
}

.header-div {
  margin: 1rem;
  width: 9rem;
}

@import url("https://rsms.me/inter/inter.css");

:root {
  --tblr-font-sans-serif: "Inter Var", -apple-system, BlinkMacSystemFont,
    San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}

/* .sidebar .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
}

.hamburger {
  cursor: pointer;
}

.hamburger svg {
  margin-bottom: 0.2rem;
}

.input-icon {
  width: 50%;
}

.input-icon input {
  border-radius: 50px;
}

.btn.rounded {
  border-radius: 50px;
}

.compose-btn-div {
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.mail-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mail-buttons:hover {
  background-color: #2978f8;
  color: white;
  border-radius: 2rem;
}

.button .rounded {
  border-radius: 2rem;
}

#home-link {
  cursor: pointer;
  text-decoration: none;
  color: black;
  margin-left: 0.5rem;
}

.accordion-item {
  background-color: white;
  margin: 1.5rem;
}

.accordion-button {
  color: red;
  font-weight: bold;
}

/* MAIN CONTAINER */
.font-large {
  font-size: 1rem;
}

.font-larger {
  font-size: 1.2rem;
}

.email-part:hover {
  background-color: rgb(219, 219, 213);
  cursor: pointer;
}

.ref-icon svg {
  width: 2.8rem;
  margin-bottom: 1rem;
}

.ref-icon svg:hover {
  scale: 1.2;
  cursor: pointer;
}

.row1 {
  min-height: 5vh;
}

.row2 {
  min-height: 70vh;
}

hr {
  margin: 0;
}

.accordion-item {
  border-radius: 2rem;
}

.task-container {
  max-height: 170px;
  overflow-y: scroll;
}

.search-input {
  border: 1px solid black;
  width: 90%;
}

.search-input::-webkit-input-placeholder {
  font-size: 1.2rem;
  color: black;
}

.search-icon {
  margin-left: -8rem;
}

.selected {
  background-color: #007bff;
  color: white;
}

.theme-icon,
.msg-icon,
.hamburger_close {
  width: 1.8rem;
  height: 1.8rem;
}

.navbar .navbar-nav .nav-link .badge {
  padding: 0.3rem;
  top: 0.7rem;
  right: 0.2rem;
}


.add-task {
  margin-top: 0.7rem;
  margin-right: 0.8rem;
  margin-left: -3rem;
  font-size: 2rem;
  z-index: 1000;
  color: rgb(89, 89, 89);
  font-weight: normal;
}

.add-task:hover {
  color: rgb(255, 0, 0);
  cursor: pointer;
  scale: 1.05;
}

.accordion-button:after {
  opacity: 0;
}

.accordion-button:not(.collapsed):after {
  opacity: 0;
}

.accordion-button:not(.collapsed) {
  color: red;
  font-weight: bold;
}

.accordion-button-notification:after {
  opacity: 0.7;
}

.accordion-button-notification:not(.collapsed):after {
  opacity: 1;
}
/* 
.sidebar-icons-sideclose {
  margin-right: -6rem;
}

.sidebar-icons-sideclose {
  display: none;
} */

#hamburger_close:hover {
  scale: 1.1;
}

/* Show the sideclose icon when it's not in d-none class */
/* .sidebar-icons-sideclose:not(.d-none) {
  display: block;
} */

.header-div {
  margin-left: 4rem;
  margin-bottom: 0;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 0;
}

.hidden {
  display: none;
}

.confirmation-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(0, 0, 0);

  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

.confirmation-content {
  text-align: center;
  color: white;
  font-size: 1rem;
}

.confirmation-content button {
  margin: 1rem;
  padding: 0.6rem 1rem;
}

#attached-files {
  display: flex;
  padding: 0rem 1rem;
}

.attached-file-div {
  color: white;
  background-color: rgb(52, 100, 214);
  padding: 0.3rem 1rem;
  margin: 1rem;
  border-radius: 1rem;
}

.attached-file-div button {
  border: none;
  border-radius: 1rem;
  margin-left: 1rem;
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 1200px) {
  /* .sidebar {
    width: 15rem;
  }

  .sidebar.collapsed {
    transform: translateX(-15rem);
  } */

  .main-content {
    width: calc(100% - 15rem);
    margin-left: 15rem;
  }

  .main-content.collapsed {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 992px) {
  /* .sidebar {
    width: 10rem;
  }

  .sidebar.collapsed {
    transform: translateX(-10rem);
  } */

  .main-content {
    width: calc(100% - 10rem);
    margin-left: 10rem;
  }

  .main-content.collapsed {
    margin-left: 0;
    width: 100%;
  }

  .main-logo {
    scale: 1;
  }

  .compose-btn {
    border-radius: 1.5rem;
  }

  /* .sidebar-icons svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .sidebar-icons svg:hover {
    scale: 1.05;
  } */
}

@media (max-width: 768px) {
  /* .sidebar {
    width: 100%;
    height: auto;
    transform: translateY(-100%);
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
  }

  .sidebar.collapsed {
    transform: translateY(-100%);
  }

  .sidebar.opened {
    transform: translateY(0);
  } */

  .main-content {
    width: 100%;
    margin-left: 0;
    margin-top: 3rem;
  }

  .main-content.collapsed {
    margin-top: 3rem;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  

  .header-div {
    margin-left: 1rem;
  }

  .compose-btn-div {
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .mail-buttons {
    justify-content: center;
  }

  .input-icon {
    width: 70%;
  }

  .search-icon {
    margin-left: -3rem;
  }
}

@media (max-width: 576px) {
  /* .sidebar {
    width: 100%;
    transform: translateX(-100%);
  }

  .sidebar.collapsed {
    transform: translateX(-100%);
  }

  .sidebar.opened {
    transform: translateX(0);
  } */

  .main-content {
    width: 100%;
    margin-left: 0;
  }

  .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }



  .header-div {
    margin-left: 0.5rem;
  }

  .compose-btn-div {
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .mail-buttons {
    justify-content: center;
  }

  .input-icon {
    width: 70%;
  }

  .search-icon {
    margin-left: -2rem;
  }
}

/* EMAIL AREA */
.email-area .container {
  overflow-y: auto;
  align-items: center;
  scroll-behavior: smooth;
}

.main-content.collapsed {
  width: 90%;
  margin: auto;
}

/* COMMENTS AREA */
.comments-area {
  min-width: 18rem;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 1rem;
  max-height: 85vh;
  overflow-y: auto;
  align-items: center;
  scroll-behavior: smooth;
  height: 85vh;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.comments-area::-webkit-scrollbar {
  width: 6px;
  /* Adjust the width of the scrollbar */
}

.comments-area::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Color of the scrollbar track */
}

.comments-area::-webkit-scrollbar-thumb {
  background: #b7b7b7;
  /* Color of the scrollbar thumb */
  border-radius: 10px;
  /* Rounded corners for the scrollbar thumb */
}

.comments-area::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
  /* Color of the scrollbar thumb when hovered */
}

/* For Firefox */
.comments-area {
  scrollbar-width: thin;
  /* Makes scrollbar thin in Firefox */
  scrollbar-color: #c1c1c1;
  /* Thumb color and track color for Firefox */
}

.comments-area hr {
  margin: 0.6rem 0rem;
  color: black;
}

.signature-div-text {
  text-align: right;
}

.message-div {
  min-height: 20rem;
  max-height: 20rem;
  margin-bottom: 1.5rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  text-align: justify;
}

.message-div::-webkit-scrollbar {
  width: 3px;
  /* Adjust the width of the scrollbar */
}

.message-div::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Color of the scrollbar track */
}

.message-div::-webkit-scrollbar-thumb {
  background: #888;
  /* Color of the scrollbar thumb */
  border-radius: 6px;
  /* Rounded corners for the scrollbar thumb */
}

.message-div::-webkit-scrollbar-thumb:hover {
  background: #7e7e7e;
  /* Color of the scrollbar thumb when hovered */
}

/* For Firefox */
.message-div {
  scrollbar-width: thin;
  /* Makes scrollbar thin in Firefox */
  scrollbar-color: #b9b9b9;
  /* Thumb color and track color for Firefox */
}

.msg-body {
  font-weight: normal;
}

.comment-img-div img {
  border-radius: 50%;
}

.name-des-div p {
  margin-bottom: 5px;
}

.comment-designation p {
  margin-bottom: 0;
  margin-top: 0.6rem;
}

.approve-btn {
  border-radius: 5px;
  background-color: #0B6A40;
  color: white;
  border: none;
  font-size: 1.1rem;
  padding: 0.3rem;
  padding: 10px 25px;
}

.approve-btn-grey {
  border-radius: 5px;
  background-color: #dbdbdb;
  color: rgb(0, 0, 0);
  border: none;
  font-size: 1.1rem;
  padding: 0.3rem;
  padding: 10px 25px;
}

.approve-btn:hover {
  box-shadow: 0px 2px 2px 3px rgb(232, 232, 232);
  scale: 1.03;
}
.approve-btn-grey:hover {
  background-color: #e6e6e6;
}

.reject-btn {
  border-radius: 5px;
  background-color: #f83333;
  color: white;
  border: none;
  font-size: 1.1rem;
  padding: 0.3rem;
  padding: 10px;
}

.reject-btn:hover {
  box-shadow: 0px 2px 2px 3px rgb(232, 232, 232);
  scale: 1.03;
}

.signature h3,
.To h3,
.message-div h3 {
  font-size: 1.1rem;
}

.main-cont {
  background-color: rgb(255, 255, 255);
  margin-right: 1rem;
  border-radius: 10px;
  padding: 1rem;
  align-items: center;
  height: 85vh;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.email-area {
  min-width: 18rem;
  background-color: rgb(255, 255, 255);
  margin-right: 1rem;
  border-radius: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  align-items: center;
  position: relative;
}

.message-div {
  max-height: none;
  /* Remove specific max-height to avoid double scrollbars */
}

.fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.email-area.fullscreen {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  overflow-y: auto;
}