/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

#chat {
  border: lightblue;
  border-style: solid;
  border-radius: 1em;
  background: aliceblue;
  margin: 2em;
  width: 40em;
  padding: 0.25em;
  float: left;
}

#chat input[type="submit"] {
  visibility: hidden;
}

.chat-message {
  border-style: solid;
  border-width: 0.1em;
  border-radius: 0.5em;
  width: max-content;
  margin-bottom: 0.5em;
  padding: 0.25em;
}

.chat-message.system {
  border-color: green;
  background: #C8F8C8;
  margin-right: 100%;
  float: left;
}

.chat-message.user {
  border-color: orange;
  background: lightyellow;
  margin-left: 100%;
  float: right;
}

input.chat-message {
  margin-left: 2em;
  margin-left: 100%;
  float: right;
}

#packet-view {
  background: #DDD;
  border-style: solid;
  border-width: 0.1em;
  border-radius: 1em;
  margin: 2em;
  padding: 0.25em;
  width: 40em;
  float: right;
}

th, td {
  border-style: solid;
  border-width: 0.05em;
  background: #EEE;
}
