@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* For scrollDown function */
@keyframes nodeInserted {
  from { opacity: 0.99; }
  to { opacity: 1; }
}


:root {

  --message-primary: #111b21;
  --primary: #3b4a54;
  --secondary: #667781;
  --secondary-lighter: #8696a0;

  --col-white: #ffffff;
  --col-unsecure: #dc3545;
  --col-teal: #008069;
  --col-teal-light: #00aa84;
  --col-footer-icon: #8697a2;
  --col-loader: #00e676;

  /* --conversation-panel-background: #efeae2; */
  --conversation-panel-background: #ede7de;

  --font-family-sans-serif:"Segoe UI", "Helvetica Neue", Helvetica, 'Open Sans', system-ui, sans-serif;
  --font-family-monospace: Consolas, Menlo, Monaco, "Courier New", Courier, monospace;
  --font-family-roboto: 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  --shadow-rgb: 11, 20, 26;

  --outgoing-background: #d9fdd3;
  --incoming-background: #fff;
  --notification-background: #ffeecd;
  --notification-text: #45484a;

  --msg-padding: 6px 7px 8px 12px;
  --msg-margin: 20px;
  --msg-line-height: 1.4;
  --msg-font-size: 15px;

}


/* Scroll width */
::-webkit-scrollbar {
  width: 4px;
}

/* Scroll handle */
::-webkit-scrollbar-thumb {
  background: rgba(11, 20, 26, .2);
}

/* Scroll background */
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .1);
}


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-family-sans-serif);
  outline: none;
}

html {
  /* font-size: 62.5%; */
}

body {
  user-select: none;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
}

html, body {
  width: 100%;
  height: 100%;
}

.cover {
  display: none;
}

.cover.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: white;
}

.cover-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 6px 14px;
}

.cover-header-links {
  display: flex;
  flex-direction: row;
}

.cover-header-link {
  font-size: 12px;
  font-weight: 600;
  line-height: 40px;
  font-family: var(--font-family-roboto);
  display: block;
  margin-right: 8px;
  color: #70757A;
  text-decoration: none;
  padding: 0 8px;
}

.cover-header-link.active {
  color: #4285f4;
  border-bottom: 2px solid #4285f4;
}

.cover-header .icon-box:hover {
  background: rgba(60, 64, 67, 0.08);
}

.icon-apps {
  width: 24px;
  height: 24px;
  fill: #5f6368;
}

.cover-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  background-color: white;
}

.cover-body-logo-container {
  height: 56px;
  margin: 36px 0;
}

@media screen and (min-width: 600px) {
  .cover-body-logo-container {
    height: 92px;
  }
}

.cover-body-input {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: 90%;
  border-radius: 100px;
}

.cover-body-input:hover {
  box-shadow: 0 1px 6px rgb(32 33 36 / 12%);
}

@media screen and (min-width: 600px) {
  .cover-body-input {
    max-width: 580px;
  }
}

.cover-body-input form {
  display: flex;
  flex-grow: 1;
}

.cover-body-input input {
  flex-grow: 1;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  border-left: 1px solid #cfcfcf;
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
  border-right: none;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}

.cover-body-input button {
  height: 40px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfcfcf;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  width: 40px;
}

.cover-body-input button:hover {
  background-color: #dfdfdf;
  cursor: pointer;
}

.icon-magnifier {
  width: 24px;
  height: 24px;
  fill: #70757a;
}

.cover-body-language {
  font-family: var(--font-family-roboto);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #3c4043;
  display: inline-block;
  line-height: 28px;
  padding: 0 12px;
  margin: 24px 0;
}

.cover-body-link {
  font-size: 13px;
  color: #1558d6;
  padding: 0 8px;
  text-decoration: none;
}

.cover-body-bottom-gap {
  width: 100%;
  min-height: 100px;
}

@media screen and (min-height: 600px) {
  .cover-body-bottom-gap {
    height: 150px;
  }
}

@media screen and (min-height: 700px) and (max-width: 600px) {
  .cover-body-bottom-gap {
    height: 200px;
  }
}

.cover-logo {
  display: block;
  max-width:100%;
  max-height:100%;
}

.cover-footer {
  display: flex;
  flex-direction: column;
  background-color: #f2f2f2;
}

.cover-footer-location {
  font-size: 16px;
  color: #70757a;
  font-family: var(--font-family-roboto);
  padding: 10px 14px;
  border-bottom: 1px solid #dadce0;
}

.cover-footer-location .suspend {
  display: inline-block;
  line-height: 24px;
}

.cover-footer-location .suspend.active {
  border-bottom: 2px solid #34a853;
}

.cover-footer-container {
  padding: 5px;
}

.cover-footer-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.cover-footer-link {
  font-size: 13px;
  color: #70757a;
  font-family: var(--font-family-roboto);
  text-decoration: none;
  padding: 6px 16px;
}


.exit {
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 30%;
  right: 0;
  z-index: 9000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.exit svg {
  width: 85%;
  height: 85%;
}


.exit.active {
  display: flex;
}

.exit.solid {
  background-color: var(--col-teal);
}

.exit.solid svg {
  fill: var(--col-white);
}

.exit.outline {
  border: 2px solid var(--col-teal);
}

.exit.outline svg {
  fill: var(--col-teal);
}

#upload-file-form {
  display: none;
}

.web {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #e1e1df;
  z-index: 0;
}

.web::after {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  height: 120px;
  width: 100%;
  background-color: #00A884;
  z-index: -1;
}

.app {
  height: 100%;
  z-index: 2;
}

@media (min-width: 800px) {
  .app {
    padding: 20px;
    width: 600px;
    margin: 0 auto;
  }
}


.chat {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100%;
  background-color: var(--conversation-panel-background);
  box-shadow: 0 6px 18px rgba(var(--shadow-rgb),.05);
  z-index: 3;
}

.chat-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(/public/img/bg-chat-white.png);
  opacity: 0.4;
  z-index: -1;
}

header {
  flex: none;
  background-color: var(--col-teal);
  position: relative;
  height: 60px;
}

footer {
  flex: none;
}

/* Addition for emoji menu */
footer {
  display: flex;
  flex-direction: column;
}

main {
  /* scroll-behavior: smooth; */
  overflow-y: scroll;
  flex: auto;
  padding: 20px;
}


/* Prevent user drag images */
/* img {
user-drag: none;
-webkit-user-drag: none;
} */

/* Header */
.header-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 56px;
  padding: 0 2px;
}

.header-icons .icon-box:hover {
  cursor: pointer
}

.icon-box {
  padding: 5px;
  display: flex;
  align-items: center;
  margin-right: 4px;
  position: relative;
  transition: background-color .3s ease;
  border-radius: 50%;
}

.icon-box:active {
  background: rgb(255 255 255 / 15%);
}

.icon {
  width: 24px;
  height: 24px;
  fill: white;
}

.person-container {
  display: flex;
  flex-grow: 1;
  margin-left: -3px;
}

.person-photo:hover, .person-info:hover {
  cursor: pointer
}

.person-photo {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.person-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 8px;
}

.person-name {
  color: white;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 22px;
  font-weight: 500;
}

.person-last-seen {
  color: #e6f3f0;
  font-size: 11px;
}
/* Header - End */

/* Main */
.msg-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  /* padding: 0px 20px; */
  margin-bottom: 4px;

  /* For scrollDown function */
  animation-duration: 0.001s;
  animation-name: nodeInserted;
}

.msg-outgoing {
  justify-content: flex-end;
}

.msg-incoming {
  justify-content: flex-start;
}

.msg-notification {
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.msg {
  position: relative;
  max-width: 90%;

  padding: var(--msg-padding);
  line-height: var(--msg-line-height);
  font-size: var(--msg-font-size);
  user-select: text;

  /* box-shadow: 0 1px 0.5px rgba(var(--shadow-rgb),.13); */
  filter: drop-shadow(0 1.8px 0.5px rgba(var(--shadow-rgb),.13));
}

.msg-outgoing .msg {
  border-radius: 7.5px 0 7.5px 7.5px;
  background-color: var(--outgoing-background);
}

.msg-incoming .msg {
  border-radius: 0 7.5px 7.5px 7.5px;
  background-color: var(--incoming-background);
}

.msg-notification .msg {
  border-radius: 7.5px;
  background-color: var(--notification-background);
  padding: 6px 20px 6px 20px;
}

.msg-notification .msg .msg-text {
  font-size: 12.5px;
  color: var(--notification-text);
  text-align: center;
}

.msg::after {
  /* Tail */
  content: "";
  display: block;
  width: 8px;
  height: 13px;

  position: absolute;
  top: 0;
  right: -8px;

  /* background-color: red; */
  clip-path: path('M 5.2 0 H 0 V 11.2 L 6.5 2.6 C 7.5 1.2 7 0 5.2 0 Z');
}

.msg-outgoing .msg::after {
  /* Tail - Right */
  right: -8px;
  background-color: var(--outgoing-background);
}

.msg-incoming .msg::after {
  /* Tail - Left */
  left: -8px;
  transform: scaleX(-1);
  background-color: var(--incoming-background);
}

.msg-text {
  display: inline;

  white-space: pre-wrap;
  overflow-wrap: break-word; /* CSS3'te yeni adı overflow-wrap oldu. */
  word-break: break-word;
}

.msg-image {
  display: inline;
  overflow-wrap: break-word; /* CSS3'te yeni adı overflow-wrap oldu. */
  word-break: break-word;
}

.msg-image img {
  display: block;
  max-width: 100%;
  max-height: 250px;
}

.msg-info {

  float: right;
  margin: 10px 0 -5px 20px;
  position: relative;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  margin-left: 20px;

  color: var(--secondary);
  font-size: 11px;
}

.msg-info::after {
  content: "";
  clear: both;
}

.icon-check {
  margin-left: 3px;
  width: 16px;
  height: 15px;
}

.icon-lock {
  fill: var(--notification-text);
  margin-right: 2px;
  width: 10px;
  height: 12px;
}

.msg-gap {
  margin-bottom: 14px;
}

.scroll-down {
  display: none;

  position: absolute;
  right: 10px;
  bottom: 70px;
  z-index: 1;

  /* display: flex; */
  align-items: center;
  justify-content: center;

  color: rgb(136 141 144);

  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--col-white);
  box-shadow: 0 1px 1px 0 rgba(var(--shadow-rgb),.06),0 2px 5px 0 rgba(var(--shadow-rgb),.2);
  cursor: pointer;
}

.scroll-down svg {
  width: 20px;
  height: 20px;
}
/* Main - End */



/* Contacts */
.contacts-container {
  overflow-y: auto;
}

.contacts {
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  visibility: hidden;
  transform: translateX(-100%);
  transition: all 0.5s ease;
  background-color: var(--col-white);
}

.contacts.active {
  visibility: visible;
  transform: translateX(0);
}

.contacts-header {
  flex: none;
  background-color: var(--col-teal);
}

.contacts-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 8px;
}

.contacts-header-text {
  color: white;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 22px;
  font-weight: 500;
}

.contacts-list {
  overflow-y: overlay;
  /* background-color: var(--col-white); */
  flex-grow: 1;
}

.add-new-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px 14px 8px;
  /* background-color: var(--col-white); */
}

.add-new-contact:hover {
  background-color: rgb(245, 245, 245);
  cursor: pointer;
}

.add-new-contact .contact-photo img {
  background-color: #00a884 !important;
  border-radius: 50%;
  padding: 7px;
}

.contacts-text {
  color: var(--secondary);
  padding: 10px;
  font-weight: 500;
  font-size: 14px;
}

.contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px 14px 8px;
}

.contact:hover {
  background-color: rgb(245, 245, 245);
  cursor: pointer;
}

.contact-photo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 8px;
  flex-shrink: 0;
}

.contact-photo.active {
  border: 1px solid var(--col-teal-light);
}

.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-info-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
}

.contact-name {
  display: flex;
  align-items: center;
  flex-grow: 1;
  font-weight: 500;
}

.contact-status {
  display: flex;
  align-items: center;
  flex-grow: 1;
  font-size: 12px;
  color: var(--secondary);
}

.contact-status.active {
  color: var(--col-teal-light);
}

.contact-last-message-time {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--secondary);
}

.contact-unread-messages {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  min-width: 20px;
  height: 20px;
  background-color: #09d261;
  color: var(--col-white);
  padding: 2px;
  border-radius: 1000px;
}

.request-actions {
  display: flex;
}

.btn-request {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-request:hover {
  filter: drop-shadow(0px 4px 4px rgba(var(--shadow-rgb), 0.7));
}

.btn-request.btn-accept {
  background-color: var(--col-teal-light);
  margin-right: 6px;
}

.btn-request.btn-reject {
  background-color: var(--col-unsecure);
}

/* Contacts - End */

/* New contact */
.new-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
  background-color: rgba(10, 10, 10, 0.86);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.modal-card {
  background-color: var(--col-white);
  width: 90%;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f5f5f5;
  padding: 10px;
  font-weight: 500;
}

.modal-content {
  background-color: var(--col-white);
  padding: 20px 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  background-color: #f5f5f5;
  padding: 10px;
}

.modal-close-cross {
  background-color: crimson;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-header-text {
  color: var(--primary);
  font-size: 18px;
}

.modal-footer button {
  min-width: 60px;
  min-height: 25px;
  margin-left: 5px;
}

.modal-content label {
  display: block;
  padding-bottom: 8px;
}

.modal-content .find-user-result {
  font-size: 14px;
  padding-top: 8px;
}

.find-user-result.success {
  color: var(--col-teal);
}

.find-user-result.danger {
  color: crimson;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid grey;
}
/* New contact menu */

/* Settings */
.settings {
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.5s ease;
}

.settings.active {
  visibility: visible;
  transform: translateY(0);
}

.settings-list {
  overflow-y: overlay;
  background-color:var(--col-white);
  flex-grow: 1;
}

.setting {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px 14px 8px;
  min-height: 80px;

  border-bottom: 1px solid #DFE5E7;
}

.setting:hover {
  background-color: rgb(245, 245, 245);
  cursor: default;
}

.setting-photo {
  flex-shrink: 0;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 8px;
}

.setting-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.setting-info-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-right: 10px;
}

.setting-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
}

.setting-name {
  display: flex;
  align-items: center;
  flex-grow: 1;
  font-weight: 500;
  margin-bottom: 2px;
}

.setting-status {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--secondary);
}

.setting-option select {
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  border-color: #DFE5E7;
  min-width: 120px;
}

.setting-option {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}

/* Settings - End */

/* Contact settings */
.contact-settings {
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.5s ease;
}

.contact-settings.active {
  visibility: visible;
  transform: translateY(0);
}

.contact-settings-container {
  flex-grow: 1;
  background-color: #ECEFF1;
  overflow-y: auto;
}

.contact-settings-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--col-white);
  border-bottom: 1px solid #cfcfcf;
  padding: 10px;
}

.contact-settings-photo:hover {
  cursor: pointer
}

.contact-settings-photo {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding-bottom: 10px;
}

.contact-settings-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-display-name {
  font-size: 22px;
}

.contact-username {
  color: #546E7A;
  padding-bottom: 10px;
}

.contact-additional-settings, .contact-gallery {
  margin-top: 5px;
  background-color: var(--col-white);
  border-bottom: 1px solid #cfcfcf;
  padding-bottom: 10px;
}

.additional-settings-text, .gallery-text {
  color: var(--secondary);
  padding: 10px;
  font-weight: 500;
  font-size: 14px;
}

.additional-settings-list {
  background-color: rgb(255, 182, 216);
  height: 100px;
}

.gallery-list {
  background-color: rgb(255, 182, 216);
  height: 100px;
}

.contact-action-buttons {
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  margin-top: 5px;
  background-color: var(--col-white);
  border-bottom: 1px solid #cfcfcf;
}

.contact-action-button {
  cursor: pointer;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 6px;
  border: none;
  border-radius: 5px;
  background-color: var(--col-unsecure);;
  color: var(--col-white);
}

/* Contact settings - End*/

/* Footer*/
.input-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  padding: 5px;
}

.user-input-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  flex-grow: 1;
  margin-right: 5px;
  background-color: #ffffff;
  border-radius: 30px;
}


.icon-footer {
  fill: var(--col-footer-icon);
  width: 24px;
  height: 24px;
}

.user-input-emoji {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 10px 8px 10px 12px;
}

.user-input-attachment {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 8px;
}

.user-input-text {
  padding: 10px;
  flex-grow: 1;

  min-height: 40px;
  max-height: 160px;
  color: var(--message-primary);

  overflow-wrap: break-word;
  word-break: break-word;

  line-height: 20px;

  overflow-x: hidden;
  overflow-y: auto;
  font-size: 15px;
  font-weight: 400;
  align-self: center;
}

.btn-send {
  display: block;
  background-color: var(--col-teal-light);
  border-radius: 100px;
  width: 44px;
  height: 44px;
  border: none;

  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-send {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  fill: #ffffff;
}


/* Emoji Menu */
.hide {
  display: none !important;
}

.emoji-menu {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  height: 300px;
  background-color: #ebeff2;
  padding: 10px;
  /* For scrollDown function */
  animation-duration: 0.001s;
  animation-name: nodeInserted;
}

.emoji-heading {
  font-size: 14px;
  padding: 5px;
  color: var(--secondary-lighter);
}

.emoji-last {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

/* https://stackoverflow.com/questions/18744164/flex-box-align-last-row-to-grid */
.emoji-last::after {
  content: "";
  flex: auto;
}

.emoji-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.emoji-list::after {
  content: "";
  flex: auto;
}

.emoji-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0px 4px 0px 0px;
}

/* Footer - End */

/* Loader - Start */
.loader-container {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-container.active {
  display: inline;
}

.loader-container.bg {
  background-color: rgb(0 0 0 / 20%);
  border-radius: 50%;
  padding: 2px;
}

.loader {
  border: 6px solid rgb(255 255 255 / 0%);
  border-top: 6px solid var(--col-loader);
  border-bottom: 6px solid var(--col-loader);
  border-left: 6px solid var(--col-loader);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.3s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Loader - End */


.typing {
  display: none;
  color: #6c757d;
  background-color: rgba(255, 245, 196, 0.95);
  font-size: 14px;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  margin: 8px;
  vertical-align: bottom;
}

.typing.active {
  display: block;
}
