.notification-messages-modal .modal-content {
  min-width: 40%;
  min-height: 20%;
  display: flex;
  flex-direction: column;
}

.notification-messages-modal .modal-header {
  display: flex;
  justify-content: space-between;
  padding: 2px 20px;
  margin: 0;
  align-items: center;
}

.notification-messages-modal .modal-header h3 {
  margin: 0;
  color: #000;
}

.notification-messages-modal table {
  width: 100%;
}

.notification-messages-modal table th,
.notification-messages-modal table td {
  padding: 0 0.5rem;
}

.notification-messages-modal .back-to-notification-messages-list {
  font-size: 12px !important;
}

.notification-messages-modal table tr {
  line-height: 3rem;
}

.notification-messages-modal table tr:not(:last-child),
.notification-messages-modal table thead tr {
  border-bottom: solid #ddd 1px;
}

.notification-messages-modal table .notification-message-subject {
  text-align: left;
  width: 60%;
}

.notification-messages-modal table .notification-message-date,
.notification-messages-modal table .notification-message-attachment {
  text-align: center;
  width: 20%;
}

.notification-messages-modal table .notification-message-attachment i {
  color: black;
  font-size: 18px;
}

.notification-messages-modal table .unread-notification-message {
  font-weight: 600;
}

.notification-messages-modal table .read-notification-message {
  color: #666;
}

.notification-messages-modal .back-to-notification-messages-list {
  border: none;
  background: transparent;
  padding: 0;
}

.notification-messages-modal table .open-notification-message {
  cursor: pointer;
}

.notification-messages-modal table .open-notification-message:hover {
  background-color: #e6e6e6;
}

.notification-messages-modal .notification-message-body {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1rem;
}

.notification-messages-modal .back-to-notification-messages-list {
  width: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  &:hover{
    cursor: pointer;
  }
}

.notification-messages-modal .back-to-notification-messages-list i {
  font-size: 18px;
}

.notification-message-detail-date {
  font-weight: 600;
  color: #666;
  width: fit-content;
}

.notification-messages-modal .notification-message-filename {
  text-decoration: underline;
  font-weight: 600;
}

.notification-messages-modal .notification-message-body .notification-message-file-link {
  color: black;
  font-size: 15px;
}

.notification-messages-modal .notification-message-content {
  white-space: pre-line;
  padding: 0;
  text-align: justify;
}

.notification-messages-modal .modal-loader-area {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-loader-area .loader-btn {
  width: 64px;
  height: 64px;
}

.notification-messages-modal .modal-footer {
  margin-top: 4rem;
}

@media only screen and (max-width: 600px) {
  .notification-messages-modal .modal-content {
    min-height: 40%;
    min-width: 90%;
  }
  
  .notification-messages-modal table {
    width: 100%;
  }

  .notification-messages-modal .modal-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:2px 20px;
    align-items: center;
    margin-top: auto;
  }

}
 
