* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, label, span, div {
    margin: 0;
    padding: 0;
}

  
:root {
    --primary-color: #fff;
    --secondary-color: #1898CB;
    --tertiary-color: #304967;
    --gray-100: #f2f3f7;
    --gray-200: #e4e8ee;
    --gray-300: #d7dce6;
    --gray-500: #c9d0dd;
    --gray-600: #b8c7ce;
    --gray-700: #a8b7c6;
    --leftContainerWidth: 18rem;
    --rightContainerWidth: 20rem;
}
  
  
  body {
    background-color: #F3F3F3;
    color: #333;
  }
  
  *::-webkit-scrollbar {
    width: .4rem;
    
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: var(--tertiary-color);
    border-radius: 2rem;
  }
  
  body, input, select, textarea, button {
    font-family: 'Roboto', sans-serif;
  }
  
  main {
    display: flex;
    min-height: 100vh;
    max-height: 100vh;
    max-width: 190rem;
    margin-inline: auto;
  }
  
  /* UPLOAD CONTAINER */
  
  main .uploadContainer  {
    width: var(--leftContainerWidth);
    max-width: 100%;
    background-color: var(--tertiary-color);
    color: var(--gray-200);
    opacity: 0.9;
  }

  main .uploadContainer .inner-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    padding: 1rem;
  }
  
  main .uploadContainer .top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  main .uploadContainer h5 {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: .5rem;
  }
  
  
  .uploadContainer #files {
    display: flex;
    gap: .5rem;
  }
  
  #files .file {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  #files .file > input:disabled  + label {
    cursor: not-allowed;
  }

  #files .file .close-file {
    position: absolute;
    right: 5px;
    top: 1px;
    display: none;
  }
  
  #files .file label {
    display: flex;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid #d7dce659;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
  }
  
  #files .file label i {
    font-weight: 500;
  }
  
  .file-name {
    font-size: .8rem;
    width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* PROGRESSBAR */
  .file-upload-progress {
    font-size: .8rem;
    width: 4.5rem;
  }

  .cursor-disabled {
    cursor: not-allowed!important;
  }
  
  /* CHAT-CONTAINER */
  
  main .chat-container {
    width: calc(100% - var(--leftContainerWidth) - var(--rightContainerWidth));
    flex: 1;
    background-color: var(--gray-100);
    position: relative;
    max-height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  main .chat-container .media-header {
    display: none;
    width: 100%;
    position: relative;
  }

  main .chat-container .media-header .talk-title h5 {
    text-align: center;
  }

  main .chat-container .media-header .right-options {
    display: none;
  }

  main .chat-container #toogle-upload-container {
    width: var(--leftContainerWidth);
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: .5rem;
  }

  main .chat-container #toogle-upload-container button {
    display: flex;
    align-items: center;
    gap: .4rem;
    border: 0;
    outline: none;
    background-color: transparent;
  }

  main .chat-container #toogle-upload-container button i {
    height: 100%;
    font-size: .8rem;
  }

  main .chat-container .media-header .right-options {
    padding: .5rem;
  }

  @media(max-width: 580px) {
    main .chat-container .media-header h6 {
      font-size: .9rem;
    }

    main .chat-container .media-header h5 {
      font-size: 1rem;
    }

    .startInfo > div p {
      display: none;
    }
  }

  main .chat-container .media-header .right-options .button-new-chat-2 {
    border: 0;
    outline: none;
    background-color: transparent;
    padding: .3rem .5rem;
  }

  main .chat-container .media-header .right-options .button-new-chat-2:hover {
    background-color: var(--tertiary-color);
    color: #fff;
    border-radius: .5rem;
  }

  main .chat-container .media-header .right-options .button-new-chat-2:active {
    transform: scale(0.95);
  }

  main .chat-container .media-header .right-options #toogle-open-history {
    border: 0;
    background-color: transparent;
    outline: none;
  }

  main .chat-container .media-header .right-options #toogle-open-history:active {
    transform: scale(0.95);
  }
  
  main .chat-container .startInfo {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  main .chat-container .startInfo h4 {
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: bold;
  }
  
  main .chat-container .startInfo p {
    font-size: 1.6rem;
  }
  
  main .chat-container .chat {
    flex: 1;
    margin-inline: auto;
    padding-block: 2rem;
    overflow-y: auto;
    width: 100%;
  }
  
  main .chat-container .chat .chat-wrapper {
    max-width: 50rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 1rem;
  } 

  main .chat .chat-wrapper .model-info-loading {
    display: none;
    text-align: center;
  }

  main .chat .chat-wrapper .model-info-loading > div {
    width: 2.5rem;
    height: 2.5rem;
  }

  .chat-wrapper > .model-info {
    background-color: #ffffffdc;
    color: #000;
    border-radius: .5rem;
    border: 1px solid #30496751;
    max-height: 15rem;
    overflow: hidden;
  }

  .chat-wrapper > .model-info .content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

.models {
  width: 100%;
  max-width: 49rem;
  max-height: 26rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  overflow-y: auto;
}

@media (max-width: 580px) {
  .models {
    margin-top: 0rem;
  }
}

.models h2.iaModelsTitle {
  padding-inline: 1rem;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--tertiary-color);
}

.models .wrapper {
  overflow-y: auto;
  padding-inline: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.models .wrapper .models-loading {
  display: flex; 
  justify-content: center; 
  height: 5rem;
}

.models .department {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  position: relative;
  padding-inline: .5rem;
}

.models .container {
  display: block;
  gap: .5rem;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow: hidden;
  min-width: 100%;
}

.model {
  min-width: 8rem;
  border: 1px solid #1898cb7c;
  border-radius: .5rem;
  padding: .4rem;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: .5rem;
}

.model .content {
  display: flex;
  gap: 0.2rem;
} 

.model .content > div {
  overflow: hidden;
}

.model .content .lines-ellipsis-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: 4.5rem;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.model .content .lines-ellipsis-text::after {
  display: block;
  position: relative;
  width: 100%;
}

.model:hover {
  background-color: #1898cb18;
}

.model h4 {
  font-weight: 500;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.model p {
  font-size: .9rem;
}

.model h4, .model p {
  color: #304967;
}

.vertical-line {
  flex: 0 0 2px;
  background-color:#1898CB;
}
  
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #304967;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
}
  
.nav-btn.left {
  display: none;
  left: 0;
}
  
.nav-btn.right {
  right: 0;
  display: none;
}

  .model-info .back-button {
    border: 0;
    outline: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: .4rem;
    color:var(--secondary-color);
    font-weight: 500;
    font-size: .8rem;
  }

  .model-info .back-button span {
    font-size: .9rem;
  }

  .model-info .back-button:hover span {
    text-decoration: underline;
  }

  .model-info .header {
    display: flex;
    flex-direction: column;
  }
  

  .model-info .header section {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid #00000013;
    padding-top: .8rem;
  }

  .model-info .header section > img {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
  }

  .model-info .header section > div h5 {
    color: var(--secondary-color);
    font-size: 1.3rem;
  }

  .model-info .header section > div p {
    font-weight: 400;
    color: #19181a8c;
  }

  .model-info .header section > div p > strong {
    font-weight: 500;
  }

  .model-info .header section > div span {
    font-weight: 400;
    color: #19181a8c;
  }


  .model-info .body p {
    text-align: justify;
    font-weight: 400;
    width: 100%;
    color: #333333c9;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .model-start-info {
    text-align: center;
  }

  .model-start-info h4 {
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: bold;
  }
  
  .model-start-info p {
    font-size: 1.6rem;
  }
  
  .chat-wrapper .chat-talk {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  /* CHAT QUESTION */
  
  .chat-talk .chat-question {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
  }

  .chat-talk .chat-question i {
    flex-shrink: 0;
    flex-basis: auto;
  }

  .chat-talk .chat-question > div {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-width: 0;
  }

  .chat-talk .chat-question > div pre {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: justify;
    text-wrap: wrap;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
  }
  
  /* CHAT ANSWER */
  .chat-talk .chat-answer {
    display: flex;
    gap: .5rem;
    justify-content: start;
    flex-direction: row-reverse;
  }
  
  .chat-answer .wrapper {
    flex: 1;
  }
  
  .chat-answer .wrapper h6 {
    text-align: right;
    margin-bottom: .4rem;
  }
  
  .chat-answer .answer-container {
    overflow: hidden;
    border-radius: .5rem;
    color: var(--primary-color);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, .4);
  }
  
  .answer-container .answer {
    padding: 1.4rem;
    font-weight: 300;
    background-color: #343541;
    text-align: justify;
    font-size: 1rem;
    color: var(--gray-400);
    display: flex;
    flex-direction: column;
    gap: .9rem;
  }

  .answer-container .answer a {
    color: var(--secondary-color);
  }
  
  .answer-container .answer strong {
    font-weight: 500;
  }
  
  .answer-container .answer ol {
    display: flex;
    flex-direction: column;
    gap: .7rem;
  }

  .code-toolbar {
    display: flex;
    flex-direction: column-reverse;
    
  }

  .code-toolbar > pre {
    border-bottom-right-radius: .2rem;
    border-bottom-left-radius: .2rem;
  }

  .code-toolbar > .toolbar {
    width: 100%;
    background-color: var(--tertiary-color);
    padding: .2rem;
    display: flex;
    justify-content: flex-end;
    border-top-right-radius: .2rem;
    border-top-left-radius: .2rem;
  }

  .code-toolbar > .toolbar .toolbar-item button {
    background-color: transparent;
    color: #fff;
    outline: 0;
    border: 0;
    font-size: .875rem;
    font-weight: 400;
  }
  
  .answer-container .answer ol p strong {
    font-weight: 500;
    font-style: normal;
    color: #ffffffd2;
  
  }
  
  .answer-container .answer ol p code {
    color: #aaa6c1;
    font-weight: 900;
  }
  
  .answer-container .options-buttons {
    background-color: var(--gray-600);
    display: flex;
    justify-content: flex-end;
    padding: .2rem;
    
  }
  
  .answer-container .options-buttons > div button {
    border: 0;
    background: transparent;
  }
  
  .answer-container .options-buttons > div button:nth-child(2):active {
    transform: scale(0.95);
  }

  .answer-container .options-buttons button span.copied-text {
    display: none;
  }
  
  
  /* CHAT-INPUT */

  .chat-form-area {
    width: 100%;
    max-width: 54rem;
    padding-inline: 1rem;
    margin-bottom: 2rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
  }

  .chat-form-area .suggested-questions {
    position: absolute;
    bottom: calc(4rem + 1.5rem);
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-inline: 1rem;
    display: none;
  }

  .suggested-questions .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }

  .suggested-questions .content button {
    border: 0;
    padding: .5rem;
    border-radius: .5rem;
    border: 1px solid #00000028;
    font-size: .95rem;
    position: relative;
    background-color: #ffffffbd;
    color: rgb(75, 73, 73);
    max-height: 4rem;
    position: relative;
  }

  .suggested-questions .content button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #ffffffbd;
    border-radius: inherit;
    z-index: -1;
  }
  
  .suggested-questions .content button:hover::before {
    background-color: #f5efef;
  }

  .suggested-questions .content button > span {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .suggested-questions .content button:hover {
    background-color: #f5efef;
  }

  .suggested-questions .content button:active {
    transform: scale(.95);
  }

  .suggested-questions .content button .send-icon {
    background-color: #fff;
    width: max-content;
    padding: .3rem .8rem;
    font-size: .7rem;
    border-radius: .5rem;
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.75);
    display: none;
  }

  .suggested-questions .content button:hover .send-icon {
    display: block;
  }
  
  .chat-input-form {
    max-height: 12rem;
    height: 4rem;
    position: relative;
  }

  .stop-generating {
    display: none;
    justify-content: center;
    position: absolute;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5.5rem;
  }

  .stop-generating button {
    border: 1px solid rgba(128, 128, 128, 0.377);
    outline: none;
    border-radius: 3rem;
    padding: .5rem 1rem;
    display: flex;
    gap: .5rem;
    align-items: center;
    color: rgb(128, 13, 13);
    background-color: #fff;
  }

  .stop-generating button:active {
    transform: scale(0.95);
  }

  .stop-generating button > i {
    font-size: 1.1rem;
  }
  
  .chat-input-form > div {
    position: relative;
    height: 100%;
  }
  
  .chat-input-form #user-prompt {
    height: 100%;
    background-color: var(--primary-color);
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    padding-right: 4.2rem;
    text-align: justify;
    width: 100%;
    resize: none;
    outline: none;
    box-sizing: border-box;
    color: rgb(88, 87, 87);
    overflow-y: auto;
  }

  .chat-input-form #user-prompt:disabled {
    cursor: not-allowed;
  }
  
.chat-input-form #user-prompt:focus {
    border: 1px solid var(--secondary-color);
}

.chat-input-form #send-button {
    height: calc(4rem - 1rem);
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    background-color: #1898CB;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .chat-input-form #send-button:hover {
    filter: brightness(0.95);
  }

  .chat-input-form #send-button:disabled {
    opacity: 0.6;
    cursor: auto;
  }
  
  /* CHAT HISTORY */
  
main .chat-history {
    width: 20rem;
    max-width: 100%;
    max-height: 100vh;
    background-color: var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

main .chat-history .close-btn {
    position: fixed;
    top: .5rem;
    right: 21rem;
    border-radius: 50%;
    border: 0;
    outline: none;
    width: 3rem;
    height: 3rem;
    padding: .5rem;
    background-color: var(--tertiary-color);
    font-weight: 200;
    color: #fff;
    display: none;
    animation: floatAnimation 2s infinite alternate;
    z-index: 3;
}

@media (max-width: 480px) {
  main .chat-history {
    width: 17rem;
  }

  main .chat-history .close-btn {
    right: 18rem;
  }
}

main .chat-history .close-btn:hover i {
    animation: rotateAnimation 0.5s forwards;
}

@keyframes floatAnimation {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-5px); /* Move para cima */
    }
}

@keyframes rotateAnimation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg); /* Rotação de 360 graus */
    }
  }

.chat-history h4 {
    text-align: center;
}
  
.chat-history .empty-history {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-400);
}

.chat-history .empty-history i {
    font-size: 3.5rem;
}
  
.chat-history .new-chat-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #30496741;
    padding-bottom: .5rem;
    padding: 1rem 1rem 1rem .5rem;
    height: 3.5rem;
}
  
.new-chat-button > div {
    display: flex;
    align-items: center;
    gap: .5rem;
}
  
.new-chat-button > div span {
    color: var(--tertiary-color);
    font-weight: 500;
}

.button-new-chat {
    border: 0;
    outline: none;
    background-color: var(--tertiary-color);
    color: #fff;
    border-radius: .3rem;
    padding: .4rem;
    font-size: .9rem;
}

.button-new-chat:active {
    transform: scale(0.95);
}
  
.chat-history .history-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.history-container .history {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    padding: 0 .5rem 1rem .5rem;
}

.history .date-container {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.history .date-container > h6 {
  font-size: .95rem;
  color: #000000c0;
}

.history .date-container .talks {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
  
.history .talk {
  border: 0;
  border-radius: .3rem;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  width: 100%;
  text-align: left;
  padding: .4rem;
  cursor: pointer;
  background-color: #6493a533;
  box-shadow: 0px 0px 5px -4px rgba(0,0,0,0.75);
  -webkit-box-shadow: 0px 0px 5px -4px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 5px -4px rgba(0,0,0,0.75);
  position: relative;
}

.history .talk.active {
  background-color: var(--tertiary-color);
  color: #fff;
}

.history .talk .time {
  font-size: .8rem;
  white-space: nowrap;
}

.history .talk:hover {
  background-color: var(--tertiary-color);
  color: #fff;
}

.history .talk .options {
  height: fit-content;
  display: none;
  position: absolute;
  right: 2.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  color: var(--secondary-color);
}

.history .talk:hover .options {
  display: block;
}

.history .talk .ellipsis-text {
  font-size: .95rem;
}

.history .talk:hover .options > button {
  height: fit-content;
  padding: 0 .5rem;
  outline: none;
}

.history .talk:hover .options > button:active, .history .talk:hover .options > button:focus {
  box-shadow: none;
  outline: none;
}

.history .talk:hover .options > ul {
  border-radius: .3rem;
  padding: .2rem;
}

.history .talk:hover .options > ul li button {
  font-size: .9rem;
}

.history .talk:hover .options > ul li button i {
  font-size: .9rem;
}

.history .talk .options .delete-option {
  border: 0;
  outline: none;
  background: transparent;
  color: #EF4444;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.history .talk .options .delete-option:active {
  transform: scale(0.90);
}

.history .talk .options .delete-option i {
  font-size: .9rem;
}

.ellipsis-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lines-ellipsis-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.backdrop, .backdrop2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1;
}


.backdrop2 {
  width: calc(100% - 18rem);
  left: 18rem;
}

code {
  white-space: pre-wrap; 
  overflow-x: auto;
}

.swal2-icon {
  margin-inline: auto;
  margin-top: 1rem;
}

@media (max-width: 380px) {
  main .uploadContainer {
    width: 15rem;
  }

  main .chat-container .media-header #toogle-upload-container {
    width: 15rem;
  }

  .uploadContainer .inner-content .top > p {
    text-align: justify;
  }

  .backdrop2 {
    width: calc(100% - 15rem);
    left: 15rem;
  }
}

@media (max-width: 1400px) {
    body {
      overflow-x: hidden;
    }

    main .uploadContainer {
      position: absolute;
      left: 0;
      z-index: 1;
      top: 3.5rem;
      height: 0;
      transition: height .8s ease-out;
      overflow: hidden;
      box-sizing: border-box;
      z-index: 2;
    }

    main .uploadContainer.show {
      height: calc(100% - 3.5rem);
    }

    main .chat-container .media-header {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #30496741;   
        justify-content: space-between;
        height: 3.5rem;
    }

    main .chat-container .media-header .talk-title {
      flex: 1;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
    }

    main .chat-container .media-header.changeBorderColor {
      border-bottom: 1px solid rgba(0, 0, 0, 0.322);
    }
  
    main .chat-container .media-header #toogle-upload-container.changeBG {
      background-color: var(--tertiary-color);
      z-index: 2;
    }

    main .chat-container .media-header #toogle-upload-container.changeBG button {
      color: var(--gray-200);
    }

    main .chat-container .media-header #toogle-upload-container.changeBG button h6 {
      font-weight: 300;
    }
}

@media (max-width: 1080px) {
    main .chat-history {
      position: fixed;
      height: 100%;
      right: -20rem;
      transition: right 0.7s;
      z-index: 2;
    }

    main .chat-history.show {
      right: 0;
    }

    main .chat-history.show .close-btn {
      display: inline-block;
    }

    main .chat-container .media-header .right-options {
      display: block;
    }
}

.swal2-popup {
  padding: .5rem;
}

.errorIcon {
  margin-inline: auto;
}