
.msg-input {
  margin-left: 2px !important;
  /* width: calc(100% - 57px) !important; */
  background-color: var(--hl-brighter) !important;
  border: 1px solid var(--theme-bg) !important;
  transition: 0ms;
}

.msg-input:focus {
    background: var(--bg-brighter) !important;
    border: 1px solid var(--theme-bg) !important;
}
.msg-input:focus::placeholder {
    color: var(--bg-555) !important
}

.dm-msg.dm-mine {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.yes-ic {
    width: 14px;
    height: 14px;
    position: relative;
    display: inline-block;
    /*margin-top: 2px;*/
    margin-left: 3px;
    background: var(--yes-ic);
}

.dm-space {
    height: 24px;
}

.dm-user-circle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 42px;
    /*background-color: #f1f1f1;*/
    background-size: cover;
    border-radius: 11%;
    margin-right: 10px;
    margin-bottom: 2px;
}

#message {
    position: relative;
}

#message-image {
  display: block;
  width: 48px;
  height: 48px;
  background: url(./../static/tiny-camera.svg) no-repeat;
  background-position: center;
  background-size: 49%;
  opacity: 0.5;
  position: absolute;
  top: -5px;
  left: 0px;
  cursor: pointer;
}

#message-image:hover {
    opacity: 1;
}

#send-message-button {
  position: absolute;
  background: var(--send-chat-message);
  background-size: cover;
  background-color: var(--theme-bg);
  border-radius: 9%;
  background-size: 66%;
  background-position: 8px 7px;
  z-index: 10000000000000;
  bottom: 18px !important;
  right: 12px !important;
  width: 35px;
  height: 35px;
}

body.iphone #send-message-button {
  bottom: 15px !important;
  right: 10px !important;
  width: 40px;
  height: 40px;
}

#sender {
  padding-bottom: 8px;
  padding-top: 8px;
  padding-left: 8px;
}



.chat-container {
  margin-left: 21px !important;
  justify-content: flex-end;
}

.dm-timestamp {
  font-size: 14px !important;
  color: gray;
}

.dm-mine .dm-timestamp {
  padding-right: 13px;
}

#navnum-msg {
  color: var(--theme-bg);
  font-weight: 700;
  margin-top: 0px;
  background: var(--theme-bg);
  color: white;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 2px;
  line-height: 1.1;
}

#post-message-container-main {
  width: 94.4% !important;
  display: block;
  /* margin: 23px; */
  /*background: var(--hl-brighter);*/
  padding-right: ;
  /* padding-top: 8px; */
  border-radius: 8px;
  /* margin-top: -6px; */
  margin-top: 5px;
  /* border: 2px solid var(--hl-slightly-brighter); */
  padding-bottom: 15px;
  background-color: var(--navbar-bg-input-area) !important;
  box-shadow: 0 -1px 25px -23px #000000;
}

body #post-message-container-main.highlighted {
  border: 2px solid #ffffff;
  /*border: 2px solid #70e6eb55;*/
}

body.darkmode #post-message-container-main.highlighted {
  border: 2px solid #1c979d55;
  /* border: 2px solid #111111; */
}

.dm-bubble {
  overflow-wrap: break-word;
  background-color: var(--theme-bg); /* rgb(235 238 240); */
  color: var(--chat-my-text-color);
  margin: 2px;
  padding: 10px 19px;
  padding-bottom: 10px;
  padding-left: 14px;
  padding-right: 13px;
  /*font-size: 14.8px;*/
  font-size: 17px;
  /*     font-size: 16px; */
  /*border-radius: 6px;
  border-bottom-left-radius: 0;*/
  /*max-width: 300px;  */
  max-width: 64%;
  margin-right: 8px;
  margin-left: 16px;
  border-radius: 14px !important;
}

/* NEW

background-color: var(--theme-bg);
color: var(--chat-my-text-color);
margin: 2px;
margin-top: 7px;
padding: 10px 19px;
padding-bottom: 10px;
padding-left: 14px;
padding-right: 13px;
font-size: 14.8px;
max-width: 400px;
border-radius: 14px !important;
*/

.dm-mine .dm-bubble {
padding-right: 9px !important;
margin-right: 16px;
margin-left: 16px !important;
border-radius: 25px;
border-top-right-radius: 7px !important;
border-bottom-right-radius: 7px !important;
}

.dm-theirs .dm-bubble {
background: var(--chat-recipient-bg-color);
color: var(--chat-text-color);
align-self: end;
/*white-space-collapse: preserve;*/
}

.dm-theirs .dm-user-circle {
align-self: end;
margin-bottom: 3px;
}

.dm-mine .dm-user-circle {
/* display: none; */
}

.dm-mine .delete-dm {
display: block !important;
}

#dm-warning {
  background: #307679;
  padding: 10px 15px;
  border-radius: 8px;
  margin-left: 2px;
  margin-right: 8px;
  margin-bottom: 9px;
  font-size: 15px;
  line-height: 20px;
  display: flex;
  color: #d2d2d2
}

#dm-warning {
  
}

.dm-warn-button {
  background: white;
  color: #111111 !important;
  border-radius: 15px;
  min-width: 67px;
  max-height: 35px;
  min-height: 25px;
  display: flex;
  justify-content: center;
  align-self: center;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
  font-weight: bold;
}

body.DM #dm-payment-info {
  margin-top: 50px;
}

.gpt-subject {
  position: absolute;
  bottom: 0;
  left: 58px;
  /* height: 10px; */
  color: var(--hl-slightly-brighter-text);
  font-size: 14px;
  padding-bottom: 9px;
  /* background: var(--hl-faintest-lines); */
  width: 100%;
  margin-left: -12px;
  padding-left: 14px;
  /* padding-top: 0px; */
  font-style: italic;
}

.attachment-bubble,
.dm-bubble {
  white-space: pre-line;
}

.quick-dm-bubble {
    overflow-wrap: break-word;
    background-color: var(--theme-bg);
    color: var(--chat-my-text-color);
    max-width: 219px;
    border-radius: 11px !important;
    padding: 7px 10px;
    margin-top: 10px;
    font-size: 16px;
}

#more-messages-indicator {
  background: teal;
  padding: 4px;
  color: white;
  border-radius: 100px;
  margin-top: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 18px;
  max-width: 200px;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
}

.pb-30px {
  padding-bottom: 30px !important;
}

.unlock1 {
  min-width: 126px;
  display: flex;
  justify-content: center;
  font-size: 17px;
  border-radius: 50px;
  padding: 8px 11px;
  
  border: 0 !important;
}