@font-face {
    font-family: 'GT Planar';
    src: url('fonts/GT-Planar-Light.woff2') format('woff2');
    font-weight: 880;
    font-style: normal;
  }

body {
    font-family: 'GT Planar', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #181818;
    color: #ffffff;
 
}

#chat-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #181818;
    
}

#chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.date-divider {
    text-align: center;
    margin: 20px 0;
    color: #1f1f1f;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    text-align: center;
}
.date-divider::before,
.date-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #1f1f1f;
}

.separator:not(:empty)::before {
  margin-right: .25em;
}

.separator:not(:empty)::after {
  margin-left: .25em;
}

.message {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
.message-time {
    font-size: 0.8em;
    color: #888;
    align-self: flex-end;
    white-space: nowrap;
}
input {
    /* Remove the default focus outline */
    outline: none;
  
    /* Hide the default selection color */
    -webkit-tap-highlight-color: transparent;
  }
  

  input:focus {

    border: 2px solid #007bff;
  }

.message-content {
    background-color: #1f1f1f;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 10px;
    display: inline-block;
    max-width: 80%;
    font-size: 0.9em;
    margin-right: 10px;
}
.message img {
    max-width: 100%;
    border-radius: 10px;
    padding-bottom: 6px;
}

#chat-form {
    display: flex;
    padding: 20px;
    background-color: #181818;
    align-items: center;
}

.input-container {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    border-radius: 20px;
    padding: 5px 10px;
    flex-grow: 1;
    margin-right: 10px;
}

#message-input {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    color: #ffffff;
    padding: 10px;
    resize: none;
    overflow-y: hidden;
    min-height: 24px;
    max-height: 300px;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    outline: none;
}

#attach-file, #send-button {
    background: none;
    border: none;
    cursor: pointer;
}

#attach-file img, #send-button img {
    width: 24px;
    height: 24px;
}
.date-span {
    background-color: #1f1f1f;
    border-radius: 15px;
    color: white;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}
