body {
  color: #333;
  background-color: #fce4ec;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
}

.chat-container {
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 15px;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  max-width: 1000px;
  height: 90vh;
  padding: 30px;
  display: flex;
  position: relative;
  box-shadow: 0 8px 16px #0003;
}

h1 {
  color: #e91e63;
  text-align: center;
  text-shadow: 1px 1px 2px #0000001a;
  margin-bottom: 15px;
  font-size: 2.5em;
}

h2 {
  color: #ad1457;
  border-bottom: 2px solid #f48fb1;
  margin-top: 0;
  margin-bottom: 10px;
  padding-bottom: 5px;
  font-size: 1.5em;
}

input[type="text"] {
  box-sizing: border-box;
  border: 1px solid #f48fb1;
  border-radius: 8px;
  width: calc(100% - 20px);
  padding: 12px;
  font-size: 1em;
  transition: border-color .3s;
}

input[type="text"]:focus {
  border-color: #e91e63;
  outline: none;
  box-shadow: 0 0 5px #e91e6380;
}

button {
  color: #fff;
  cursor: pointer;
  background-color: #e91e63;
  border: none;
  border-radius: 8px;
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 1em;
  transition: background-color .3s, transform .2s;
}

button:hover {
  background-color: #ad1457;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

.profile-button {
  padding: 10px 15px;
  font-size: .9em;
  position: absolute;
  top: 20px;
  right: 20px;
}

.profile-modal {
  z-index: 1;
  background-color: #0006;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
}

.modal-content {
  background-color: #fefefe;
  border: 1px solid #888;
  border-radius: 15px;
  width: 80%;
  max-width: 500px;
  margin: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 15px #0000004d;
}

.close-button {
  color: #aaa;
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close-button:hover, .close-button:focus {
  color: #e91e63;
  cursor: pointer;
  text-decoration: none;
}

.profile-info p {
  word-break: break-all;
  background-color: #f8bbd0;
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 8px;
  font-size: .9em;
}

.main-chat-area {
  flex-grow: 1;
  gap: 20px;
  min-height: 0;
  display: flex;
}

.sidebar {
  background-color: #fce4ec;
  border-radius: 10px;
  flex-direction: column;
  flex: 0 0 250px;
  gap: 10px;
  padding: 15px;
  display: flex;
  overflow-y: auto;
}

.chat-window {
  flex-direction: column;
  flex-grow: 1;
  gap: 15px;
  min-height: 0;
  display: flex;
}

.identity-setup, .whitelist-management, .fingerprint-exchange, .topic-selection, .input-area {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.identity-setup input, .whitelist-management input, .fingerprint-exchange input, .topic-selection input {
  flex-grow: 1;
}

.identity-setup button, .whitelist-management button, .fingerprint-exchange button, .topic-selection button {
  width: auto;
}

#currentTopicDisplay {
  color: #4a148c;
  word-break: break-all;
  background-color: #f8bbd0;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: .9em;
}

.messages {
  background-color: #fcfcfc;
  border: 1px solid #f48fb1;
  border-radius: 8px;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
  min-height: 200px;
  max-height: 400px;
  padding: 15px;
  display: flex;
  overflow-y: auto;
}

.message {
  word-wrap: break-word;
  background-color: #ffe0b2;
  border-radius: 12px;
  align-self: flex-start;
  max-width: 80%;
  padding: 10px 15px;
  box-shadow: 0 2px 4px #0000001a;
}

.message.self {
  background-color: #c8e6c9;
  align-self: flex-end;
}

.message.verified {
  border: 2px solid #4caf50;
}

.message.unverified {
  border: 2px solid #f44336;
}

#whitelistDisplay {
  color: #666;
  background-color: #fce4ec;
  border: 1px dashed #f48fb1;
  border-radius: 8px;
  min-height: 50px;
  max-height: 150px;
  padding: 10px;
  font-size: .85em;
  overflow-y: auto;
}

#whitelistDisplay div {
  border-bottom: 1px dotted #f8bbd0;
  padding: 3px 0;
}

#whitelistDisplay div:last-child {
  border-bottom: none;
}

.whitelist-management label {
  color: #555;
  align-items: center;
  gap: 5px;
  font-size: .9em;
  display: flex;
}

.whitelist-management input[type="checkbox"] {
  accent-color: #e91e63;
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

.conversation-list {
  background-color: #fff;
  border: 1px solid #f48fb1;
  border-radius: 8px;
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
}

.conversation-item {
  cursor: pointer;
  background-color: #f8bbd0;
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 8px 10px;
  transition: background-color .2s;
}

.conversation-item:hover {
  background-color: #f48fb1;
}

.conversation-item.active {
  color: #fff;
  background-color: #e91e63;
  font-weight: bold;
}

@media (width <= 768px) {
  .main-chat-area {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
    max-height: 200px;
  }

  .chat-container {
    height: auto;
    min-height: 90vh;
  }

  .profile-button {
    width: 100%;
    margin-bottom: 15px;
    position: static;
  }

  .modal-content {
    width: 95%;
  }
}

@media (width <= 480px) {
  .chat-container {
    padding: 20px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.3em;
  }

  button {
    padding: 10px 15px;
  }

  .identity-setup, .whitelist-management, .fingerprint-exchange, .topic-selection, .input-area {
    flex-direction: column;
    align-items: stretch;
  }

  .identity-setup input, .whitelist-management input, .fingerprint-exchange input, .topic-selection input, .identity-setup button, .whitelist-management button, .fingerprint-exchange button, .topic-selection button {
    width: 100%;
  }
}
/*# sourceMappingURL=bambi_trigger.2cdaf7bc.css.map */
