body {
    background: rgb(233, 233, 226);
  }
  /* BODY STYLE */
  
  .main-composition-page-body {
    background: rgb(233, 233, 226);
    width: 100%;
  }
  
  /* MAIN CONTENT */
  
  .main-content {
    background: rgb(233, 233, 226);
    width: 75%;
  }
  
  .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;
  }
  
  #text-input {
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid #dddddd;
    height: 50vh;
  }
  
  .active {
    background-color: #e0e9ff;
  }
  
  /* MAIN CONTAINER */
  
  .email-container {
    min-height: 80vh;
    background-color: white;
    border-radius: 10px;
    padding: 1rem 0rem;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
  
  .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;
  }
  
  .navbar-brand-image {
    width: 4rem;
    height: 3rem;
    margin-right: 1rem;
    margin-left: 2rem;
  }
  .navbar-brand-image:hover {
    scale: 1.1;
  }
  
  .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;
  }
  

  
  #hamburger_close:hover {
    scale: 1.1;
  }
 
  
  .email-form {
    max-width: 90%;
    margin: auto;
  }
  .input-group {
    margin-bottom: 15px;
    display: flex;
  }
  .email-input {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
  }
  .email-input input {
    border: none;
    outline: none;
    flex-grow: 1;
  }
  .email-tag {
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 20px;
    margin: 2px;
  }
  .email-tag span {
    margin-right: 10px;
  }
  .email-tag button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
  }
  .email-tag button:hover {
    color: red;
  }
  .input-group label {
    display: block;
    margin-bottom: 5px;
  }
  .input-group input,
  .input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }
  .input-group input[type="file"] {
    padding: 3px;
  }
  .send-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .send-button:hover {
    background-color: #45a049;
  }
  .compose-area {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
  }
  .email-form {
    margin-bottom: 20px;
  }
  .input-group {
    margin-bottom: 15px;
  }
  .email-input {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    border-radius: 5px;
    border: none;
  }
  .email-input input {
    border: none;
    outline: none;
    flex-grow: 1;
  }
  .email-tag {
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 20px;
    margin: 2px;
  }
  .email-tag span {
    margin-right: 10px;
  }
  .email-tag button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
  }
  .email-tag button:hover {
    color: red;
  }
  .input-group label {
    display: block;
    margin-bottom: 5px;
  }
  .input-group input,
  .input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }
  .input-group input[type="file"] {
    display: none;
  }
  .attachment-button {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .attachment-button i {
    font-size: 20px;
  }
  .attached-files {
    margin-top: 10px;
  }
  .attached-file {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }
  .attached-file span {
    margin-left: 10px;
  }
  .attached-file button {
    background: none;
    border: none;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
    color: red;
  }
  
  .options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
  }
  .option-button,
  .adv-option-button {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
  }
  .option-button i,
  .option-button div,
  .adv-option-button i {
    font-size: 18px;
  }
  .input-wrapper {
    display: flex;
    align-items: center;
  }
  .input-wrapper label {
    margin-left: 5px;
  }
  #text-input {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    min-height: 150px;
    background: #fff;
    overflow-y: scroll;
  }
  .image-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
  }
  
  .compose-area {
    max-width: 100%;
    margin: 0;
  }
  .input-group {
    margin-bottom: 10px;
  }
  .email-input {
    display: flex;
    flex-wrap: wrap;
  }
  .email-tag {
    display: flex;
    align-items: center;
    background: #e0e0e0;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 3px;
  }
  .email-tag button {
    background: none;
    border: none;
    margin-left: 5px;
    cursor: pointer;
  }
  .attached-file {
    display: flex;
    align-items: center;
    margin: 5px 0;
  }
  .attached-file button {
    background: none;
    border: none;
    margin-left: 10px;
    cursor: pointer;
  }
  
  #text-input {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 100px;
    max-height: 16rem;
    margin-bottom: 10px;
  }
  #image-options {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  #image-options button {
    cursor: pointer;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  
  .float-left {
    float: left;
    margin: 10px 10px 10px 0;
  }
  .float-right {
    float: right;
    margin: 10px 0 10px 10px;
  }
  .float-center {
    display: block;
    margin: 10px auto;
  }
  
  #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;
  }
  .compose-area {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
  
  .compose-area table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
  }
  .compose-area table,
  th,
  td {
    border: 1px solid black;
  }
  .compose-area th,
  td {
    padding: 5px;
    text-align: left;
  }
  
  .email-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #ddd;
    margin-right: 5px;
    border-radius: 3px;
  }
  .email-tag span {
    cursor: pointer;
  }
  .send-button {
    padding: 10px 20px;
  }
  #text-input {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 150px;
    margin-bottom: 20px;
    position: relative;
  }
  #text-input table {
    border-collapse: collapse;
    width: 100%;
  }
  #text-input table th,
  #text-input table td {
    border: 1px solid #ccc;
    padding: 8px;
  }
  #text-input table:hover .table-options {
    display: block;
  }
  .table-options {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: white;
    border: 1px solid #ccc;
  }
  .table-options button {
    padding: 5px 10px;
  }
  #text-input table th {
    background-color: #f2f2f2;
  }
  #text-input table th:hover,
  #text-input table td:hover {
    background-color: #f0f0f0;
  }
  #text-input table th:hover button,
  #text-input table td:hover button {
    display: inline-block;
  }
  
  #text-input {
    border: 1px solid #ccc;
    min-height: 100px;
    padding: 10px;
    margin-bottom: 20px;
  }
  
  .table-options {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 999;
  }
  
  .email-form {
    margin: 20px;
  }
  .input-group {
    margin-bottom: 10px;
  }
  .send-button {
    background-color: #1676bf;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
  }
  .send-button:hover {
    background-color: #d82929;
  }
  .dropdown-arrow {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  #users {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    width: 200px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1;
  }
  .email-input {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    min-height: 40px;
    width: 92%;
  }
  .email-input input {
    border: none;
    outline: none;
    flex-grow: 1;
  }
  .email-tag {
    background-color: #e2e2e2;
    border-radius: 3px;
    padding: 5px;
    display: flex;
    align-items: center;
  }
  .email-tag span {
    margin-right: 5px;
  }
  .email-tag button {
    background: none;
    border: none;
    cursor: pointer;
  }
  
  #email-tags-container {
    display: flex;
    flex-wrap: wrap;
  }
  
  .email-input input {
    padding: 0;
  }
  
  .input-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .email-to {
    margin-right: 2rem;
  }
  .email-tag {
    background-color: #217fe3;
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 1rem;
  }
  #subject {
    border: none;
    margin-left: 2rem;
  }
  .subject-div {
    width: 100%;
  }
  .email-tag button {
    color: white;
  }
  .clip-icon {
    font-size: 1.6rem;
    cursor: pointer;
  }
  
  .input-group label {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .option-button,
  .adv-option-button {
    border: none;
  }
  
  .attach-snd-btn {
    width: 100;
  }
  .send-button {
    justify-content: end;
  }
  .clear-button {
    margin-right: 1rem;
  }
  
  .send-btn-div {
    align-items: end;
    justify-content: flex-end;
  }
  
  .attached-files {
    background-color: blue;
  }
  
  .full-screen {
    position: relative;
  }
  
  #text-input.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    background: white;
    z-index: 10000000;
    padding: 20px;
    overflow: auto;
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 95vh;
    margin-top: 5rem;
  }
  .options {
    color: #4b4b4b;
  }
  .options.fullscreen {
    color: #ffffff;
  }
  #exitFullScreen {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000001;
  }
  
  .navbar-brand-small {
    display: none;
  }
  .hamburger-small-screen {
    display: none;
  }
  .header-logo-small {
    display: none;
  }
  

  
  /* LOGO */
  .main-logo {
    cursor: pointer;
    scale: 1.2;
  }
  .main-logo:hover {
    scale: 1.2;
    cursor: pointer;
  }
  

  
  /* 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;
  }
  
  
  
  .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;
  }
  
  
  
  
  
  #hamburger_close:hover {
    scale: 1.1;
  }
  
  /* Show the sideclose icon when it's not in d-none class */
 
  
  .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) {
    
    .main-content {
      width: calc(100% - 15rem);
      margin-left: 15rem;
    }
    .main-content.collapsed {
      margin-left: 0;
      width: 100%;
    }
  }
  
  @media (max-width: 992px) {
    
    .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;
    }
   
  }
  
  @media (max-width: 768px) {
   
    .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) {
    
    .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;
    }
  }
  

  .accordion-body{
    background-color: white ;
  }