/*!************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/prosemirror-example-setup/style/style.css ***!
  \************************************************************************************************************************************************************************************************************/
/* Add space around the hr to make clicking it easier */

.ProseMirror-example-setup-style hr {
  padding: 2px 10px;
  border: none;
  margin: 1em 0;
}

.ProseMirror-example-setup-style hr:after {
  content: "";
  display: block;
  height: 1px;
  background-color: silver;
  line-height: 2px;
}

.ProseMirror ul, .ProseMirror ol {
  padding-left: 30px;
}

.ProseMirror blockquote {
  padding-left: 1em;
  border-left: 3px solid #eee;
  margin-left: 0; margin-right: 0;
}

.ProseMirror-example-setup-style img {
  cursor: default;
}

.ProseMirror-prompt {
  background: white;
  padding: 5px 10px 5px 15px;
  border: 1px solid silver;
  position: fixed;
  border-radius: 3px;
  z-index: 11;
  box-shadow: -.5px 2px 5px rgba(0, 0, 0, .2);
}

.ProseMirror-prompt h5 {
  margin: 0;
  font-weight: normal;
  font-size: 100%;
  color: #444;
}

.ProseMirror-prompt input[type="text"],
.ProseMirror-prompt textarea {
  background: #eee;
  border: none;
  outline: none;
}

.ProseMirror-prompt input[type="text"] {
  padding: 0 4px;
}

.ProseMirror-prompt-close {
  position: absolute;
  left: 2px; top: 1px;
  color: #666;
  border: none; background: transparent; padding: 0;
}

.ProseMirror-prompt-close:after {
  content: "✕";
  font-size: 12px;
}

.ProseMirror-invalid {
  background: #ffc;
  border: 1px solid #cc7;
  border-radius: 4px;
  padding: 5px 10px;
  position: absolute;
  min-width: 10em;
}

.ProseMirror-prompt-buttons {
  margin-top: 5px;
  display: none;
}

/*!***************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/style.scss ***!
  \***************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.octopus-react-app {
  padding: 20px;
  border: 2px solid #0073aa;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.octopus-react-app h2 {
  color: #0073aa;
  margin-top: 0;
  font-size: 24px;
}

.octopus-react-counter {
  margin: 20px 0;
  padding: 15px;
  background-color: #e8f4f8;
  border-radius: 4px;
}

.octopus-react-button {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.octopus-react-button:hover {
  background-color: #005a87;
}

.octopus-react-button:active {
  background-color: #004a6f;
}

.octopus-react-info {
  margin-top: 15px;
  padding: 10px;
  background-color: #fff;
  border-left: 4px solid #0073aa;
}

.octopus-react-info p {
  margin: 0;
  color: #555;
}

.octopus-messages-container {
  display: flex;
  height: 80vh;
  max-height: 800px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  width: 100%;
}

.octopus-messages-sidebar {
  width: 350px;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1215686275);
  margin: 6px;
}

.octopus-messages-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}
.octopus-messages-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #000;
}
.octopus-messages-header .octopus-messages-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.octopus-messages-header .octopus-messages-header-actions .octopus-user-display {
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: #0073aa;
  cursor: help;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #e8f4f8;
}
.octopus-messages-header .octopus-messages-header-actions .octopus-icon {
  font-size: 20px;
  cursor: pointer;
  color: #666;
}
.octopus-messages-header .octopus-messages-header-actions .octopus-icon:hover {
  color: #000;
}

.octopus-messages-search {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.octopus-messages-search input {
  flex: 1;
  padding: 10px 15px 10px 45px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  width: 100%;
}
.octopus-messages-search input:focus {
  border-color: #0073aa;
}
.octopus-messages-search .octopus-search-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 25px;
}
.octopus-messages-search .octopus-search-button {
  padding: 8px 16px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.octopus-messages-search .octopus-search-button:hover {
  background-color: #005a87;
}
.octopus-messages-search .octopus-search-button:active {
  background-color: #004a6f;
}

.octopus-conversations-list {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  position: relative;
  height: 426px;
}

.octopus-loading-conversations,
.octopus-no-conversations {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 14px;
}

.octopus-loading-user,
.octopus-not-logged-in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 400px;
  color: #666;
  font-size: 16px;
  width: 100%;
}
.octopus-loading-user p,
.octopus-not-logged-in p {
  margin-top: 16px;
}

.octopus-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0073aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.octopus-conversations-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}
.octopus-conversations-pagination .octopus-pagination-btn-small {
  width: 32px;
  height: 32px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.octopus-conversations-pagination .octopus-pagination-btn-small:hover:not(:disabled) {
  background-color: #005a87;
}
.octopus-conversations-pagination .octopus-pagination-btn-small:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}
.octopus-conversations-pagination .octopus-pagination-text {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

.octopus-load-more-container {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  background: #fafafa;
}

.octopus-load-more-btn {
  padding: 10px 20px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  max-width: 250px;
}
.octopus-load-more-btn:hover:not(:disabled) {
  background-color: #005a87;
}
.octopus-load-more-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.octopus-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.octopus-conversation-item {
  display: flex;
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.15s;
  position: relative;
}
.octopus-conversation-item:hover {
  background-color: #f5f5f5;
}
.octopus-conversation-item.active {
  background-color: #e8e8e8;
}
.octopus-conversation-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #0073aa;
}
.octopus-conversation-item .octopus-conversation-avatar {
  width: 48px;
  height: 48px;
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f0f0;
}
.octopus-conversation-item .octopus-conversation-content {
  flex: 1;
  min-width: 0;
}
.octopus-conversation-item .octopus-conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.octopus-conversation-item .octopus-conversation-header .octopus-conversation-name {
  font-weight: 600;
  font-size: 15px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.octopus-conversation-item .octopus-conversation-header .octopus-unread-dot {
  width: 10px;
  height: 10px;
  background-color: #122b46;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 8px;
}
.octopus-conversation-item .octopus-conversation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  gap: 10px;
}
.octopus-conversation-item .octopus-conversation-footer .octopus-conversation-message {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.octopus-conversation-item .octopus-conversation-footer .octopus-conversation-time {
  flex-shrink: 0;
  color: #999;
  font-size: 12px;
}

.octopus-messages-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 8px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1215686275);
  margin: 6px;
}

.octopus-chat-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #777;
  font-size: 14px;
  border: 1px solid #ccc;
}

.octopus-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  position: relative;
  gap: 12px;
}
.octopus-chat-header .octopus-mobile-back-btn {
  display: none;
}
.octopus-chat-header .octopus-chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.octopus-chat-header .octopus-chat-header-left .octopus-chat-avatar {
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f0f0;
  flex-shrink: 0;
}
.octopus-chat-header .octopus-chat-header-left .octopus-chat-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info .octopus-chat-name {
  font-weight: 600;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info .octopus-chat-description {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.octopus-chat-header .octopus-icon {
  font-size: 20px;
  cursor: pointer;
  color: #666;
  flex-shrink: 0;
}
.octopus-chat-header .octopus-icon:hover {
  color: #000;
}
.octopus-chat-header .octopus-mobile-back-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  margin-right: 8px;
  cursor: pointer;
  color: #666;
  font-size: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}
.octopus-chat-header .octopus-mobile-back-btn:hover {
  background-color: #f5f5f5;
  color: #000;
}
.octopus-chat-header .octopus-mobile-back-btn:active {
  background-color: #e8e8e8;
}
.octopus-chat-header .octopus-chat-header-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.octopus-chat-header .octopus-chat-header-menu .octopus-chat-close-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #666;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.octopus-chat-header .octopus-chat-header-menu .octopus-chat-close-btn:hover {
  background-color: #f0f0f0;
  color: #000;
}
.octopus-chat-header .octopus-chat-header-menu .octopus-context-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  overflow: hidden;
}
.octopus-chat-header .octopus-chat-header-menu .octopus-context-menu .octopus-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s;
}
.octopus-chat-header .octopus-chat-header-menu .octopus-context-menu .octopus-menu-item:hover {
  background-color: #f5f5f5;
}
.octopus-chat-header .octopus-chat-header-menu .octopus-context-menu .octopus-menu-item .octopus-menu-icon {
  font-size: 24px;
  width: 20px;
  text-align: center;
}
.octopus-chat-header .octopus-new-message-label {
  font-weight: 600;
  font-size: 14px;
  color: #666;
  margin-right: 8px;
  flex-shrink: 0;
}
.octopus-chat-header .octopus-new-message-cancel {
  background: transparent;
  border: 1px solid #ccc;
  padding: 8px;
}
.octopus-chat-header .octopus-recipient-selector {
  position: relative;
  flex: 1;
  min-width: 0;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 32px;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 16px;
  padding: 4px 8px 4px 12px;
  font-size: 13px;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-chip .octopus-recipient-name {
  color: #1976d2;
  font-weight: 500;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-chip .octopus-recipient-remove {
  background: none;
  border: none;
  color: #1976d2;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-chip .octopus-recipient-remove:hover {
  background-color: rgba(25, 118, 210, 0.1);
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #000;
  flex: 1;
  min-width: 150px;
  padding: 4px 0;
  box-shadow: none;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-input::-moz-placeholder {
  color: #999;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-chips .octopus-recipient-input::placeholder {
  color: #999;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-loading,
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-empty {
  padding: 16px;
  text-align: center;
  color: #666;
  font-size: 14px;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-item:hover {
  background-color: #f5f5f5;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-info .octopus-recipient-name {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.octopus-chat-header .octopus-recipient-selector .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-info .octopus-recipient-email {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.octopus-contacts-list {
  flex: 1;
  overflow-y: auto;
  background: #fff;
}
.octopus-contacts-list .octopus-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s;
}
.octopus-contacts-list .octopus-contact-item:hover {
  background-color: #f5f5f5;
}
.octopus-contacts-list .octopus-contact-item.octopus-contact-selected {
  background-color: #e0f7fa;
}
.octopus-contacts-list .octopus-contact-item .octopus-contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.octopus-contacts-list .octopus-contact-item .octopus-contact-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.octopus-contacts-list .octopus-contact-item .octopus-contact-info .octopus-contact-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.octopus-contacts-list .octopus-contact-item .octopus-contact-info .octopus-contact-message {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.octopus-message-context-menu {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  overflow: hidden;
}
.octopus-message-context-menu .octopus-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s;
}
.octopus-message-context-menu .octopus-menu-item:hover {
  background-color: #f5f5f5;
}
.octopus-message-context-menu .octopus-menu-item .octopus-menu-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.octopus-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.octopus-modal-overlay .octopus-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-header .octopus-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-header .octopus-modal-close:hover {
  background-color: #f5f5f5;
  color: #000;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list .octopus-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list .octopus-member-item:hover {
  background-color: #f5f5f5;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list .octopus-member-item .octopus-member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list .octopus-member-item .octopus-member-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list .octopus-member-item .octopus-member-info .octopus-member-name {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  margin-bottom: 4px;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-members-list .octopus-member-item .octopus-member-info .octopus-member-email {
  font-size: 12px;
  color: #666;
}
.octopus-modal-overlay .octopus-modal-content .octopus-modal-body .octopus-no-members {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.octopus-delete-mode-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-bottom: 2px solid #ff6b6b;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}
.octopus-delete-mode-header .octopus-delete-mode-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #d63031;
  font-weight: 600;
}
.octopus-delete-mode-header .octopus-delete-mode-info::before {
  content: "🗑️";
  font-size: 18px;
}
.octopus-delete-mode-header .octopus-delete-mode-actions {
  display: flex;
  gap: 12px;
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-secondary {
  padding: 10px 20px;
  border: 2px solid #ddd;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-secondary:hover {
  background: #f8f9fa;
  border-color: #bbb;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-secondary:active {
  transform: translateY(0);
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger {
  padding: 10px 24px;
  border: none;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #ee5a6f 0%, #dc3545 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger:hover:not(:disabled)::before {
  left: 100%;
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}
.octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.octopus-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f5f5f5;
  height: 241px;
}

.octopus-date-separator {
  text-align: center;
  margin: 20px 0;
}
.octopus-date-separator .octopus-date-separator-text {
  display: inline-block;
  padding: 4px 12px;
  background-color: #e8e8e8;
  border-radius: 12px;
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.octopus-message-wrapper {
  position: relative;
  transition: all 0.3s ease;
}

.octopus-message-item {
  display: flex;
  margin-bottom: 16px;
  align-items: flex-end;
  gap: 8px;
  position: relative;
}
.octopus-message-item .octopus-message-checkbox {
  position: absolute;
  top: 8px;
  right: -32px;
  z-index: 10;
  flex-shrink: 0;
}
.octopus-message-item .octopus-message-checkbox input[type=checkbox] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  margin: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.octopus-message-item .octopus-message-checkbox input[type=checkbox]:hover {
  border-color: #ff6b6b;
  background-color: #fff5f5;
  transform: scale(1.1);
}
.octopus-message-item .octopus-message-checkbox input[type=checkbox]:checked {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  border-color: #ff6b6b;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}
.octopus-message-item .octopus-message-checkbox input[type=checkbox]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}
.octopus-message-item .octopus-message-checkbox input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}
.octopus-message-item.octopus-message-selected {
  animation: pulseSelection 0.3s ease;
}
.octopus-message-item.octopus-message-selected .octopus-message-bubble {
  border: 2px solid #ff6b6b;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
  transform: scale(1.02);
  transition: all 0.3s ease;
}
.octopus-message-item.octopus-message-mine {
  justify-content: flex-end;
}
.octopus-message-item.octopus-message-mine .octopus-message-checkbox {
  right: 0;
}
.octopus-message-item.octopus-message-mine .octopus-message-bubble {
  margin-left: 50px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  position: relative;
}
.octopus-message-item.octopus-message-mine .octopus-message-bubble .octopus-message-content p {
  margin: 0;
}
.octopus-message-item.octopus-message-theirs {
  justify-content: flex-start;
  padding-right: 32px;
}
.octopus-message-item.octopus-message-theirs .octopus-message-checkbox {
  right: 0;
}
.octopus-message-item.octopus-message-theirs .octopus-message-avatar {
  margin-right: 8px;
}
.octopus-message-item.octopus-message-theirs .octopus-message-bubble {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  margin-right: 50px;
  position: relative;
}

@keyframes pulseSelection {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}
.octopus-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.octopus-message-bubble {
  max-width: 65%;
  padding: 10px 14px;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
  word-break: break-word;
}
.octopus-message-bubble.octopus-bubble-mine {
  border-bottom-right-radius: 4px;
}
.octopus-message-bubble.octopus-bubble-theirs {
  border-bottom-left-radius: 4px;
}

.octopus-message-highlight {
  animation: octopusMessageHighlightPulse 1.5s ease-out;
  background: rgba(0, 123, 255, 0.1294117647);
  border-radius: 15px;
}

@keyframes octopusMessageHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.15);
    transform: scale(1.01);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    transform: scale(1);
  }
}
.octopus-message-reply-preview {
  margin-bottom: 8px;
  margin-top: 4px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.05);
  border-left: 3px solid #007bff;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.octopus-message-reply-preview .octopus-reply-preview-line {
  width: 3px;
  background: #007bff;
  border-radius: 2px;
  flex-shrink: 0;
}
.octopus-message-reply-preview .octopus-reply-preview-content {
  flex: 1;
  min-width: 0;
}
.octopus-message-reply-preview .octopus-reply-preview-sender {
  font-size: 12px;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.octopus-message-reply-preview .octopus-reply-preview-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.octopus-reply-preview-banner {
  margin: 0 20px;
  padding: 10px 14px;
  background: linear-gradient(90deg, #e5f2ff 0%, #eef5ff 100%);
  border: 1px solid rgba(18, 43, 70, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(18, 43, 70, 0.08);
}
.octopus-reply-preview-banner .octopus-reply-preview-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.octopus-reply-preview-banner .octopus-reply-preview-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.octopus-reply-preview-banner .octopus-reply-preview-banner-left .octopus-reply-preview-line {
  width: 3px;
  height: 40px;
  background: #007bff;
  border-radius: 2px;
  flex-shrink: 0;
}
.octopus-reply-preview-banner .octopus-reply-preview-info {
  flex: 1;
  min-width: 0;
}
.octopus-reply-preview-banner .octopus-reply-preview-label {
  font-size: 12px;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 4px;
}
.octopus-reply-preview-banner .octopus-reply-preview-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.octopus-reply-preview-banner .octopus-reply-preview-cancel {
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
.octopus-reply-preview-banner .octopus-reply-preview-cancel:hover {
  background: rgba(0, 0, 0, 0.05);
}
.octopus-reply-preview-banner .octopus-reply-preview-cancel i {
  font-size: 14px;
}

.octopus-message-attachments {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.octopus-attachment-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  color: #fff;
  min-width: 200px;
}

.octopus-attachment-card-photo {
  width: 340px;
}

.octopus-attachment-photo-inner {
  position: relative;
  display: block;
  cursor: pointer;
}

.octopus-attachment-photo-image {
  display: block;
  width: 100%;
  max-height: 340px;
  -o-object-fit: cover;
     object-fit: cover;
  min-height: 340px;
}

.octopus-attachment-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.deleted-message, .group-joined-message {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  padding: 5px 15px 5px 10px;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  background-color: #f2f4f5;
  border-color: transparent;
}

.octopus-attachment-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.octopus-attachment-action:focus,
.octopus-attachment-action:hover {
  transform: translateY(-1px);
}

.octopus-attachment-preview {
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  border: none;
  cursor: pointer;
}

.octopus-attachment-preview:hover {
  background: rgba(15, 23, 42, 0.85);
}

.octopus-attachment-download {
  background: rgba(255, 255, 255, 0.9);
  color: #1f2933;
  border: none;
}

.octopus-attachment-download:hover {
  background: #fff;
}

.octopus-attachment-icon-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.octopus-attachment-icon-button:hover,
.octopus-attachment-icon-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
}

.octopus-attachment-icon-button-download {
  background: rgba(255, 255, 255, 0.92);
  color: #1f2933;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.octopus-attachment-icon-button-download:hover,
.octopus-attachment-icon-button-download:focus {
  background: #fff;
}

.octopus-attachment-icon {
  font-size: 14px;
  line-height: 1;
}

.octopus-attachment-fallback {
  display: block;
  padding: 16px;
  font-size: 13px;
  color: #e2e8f0;
}

.octopus-attachment-card-video {
  width: 100%;
  max-width: 412px;
  background: #0f172a;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.octopus-attachment-video-player {
  width: 100%;
  border-radius: 10px;
  background: #000;
}

.octopus-attachment-download-link {
  align-self: flex-end;
  background: #1d4ed8;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.octopus-attachment-download-link:hover {
  background: #1e40af;
}

.octopus-attachment-card-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: none;
  min-width: 260px;
}

.octopus-attachment-file-icon {
  font-size: 20px;
}

.octopus-attachment-file-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.octopus-attachment-unavailable {
  font-size: 12px;
  color: #94a3b8;
}

.octopus-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 24px;
}

.octopus-preview-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.octopus-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.octopus-preview-close:hover {
  background: rgba(15, 23, 42, 0.95);
}

.octopus-preview-image {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 12px;
  -o-object-fit: contain;
     object-fit: contain;
}

.octopus-preview-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2933;
  text-align: center;
  word-break: break-word;
}

.octopus-sender-name {
  font-size: 12px;
  font-weight: 600;
  color: #122b46;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: capitalize;
}

.octopus-message-content {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
  white-space: pre-wrap;
}
.octopus-message-content p {
  margin: 0;
}

.octopus-message-time {
  font-size: 11px;
  color: #999;
  display: block;
  text-align: right;
}
.octopus-message-time.octopus-my-time {
  color: rgba(255, 255, 255, 0.8);
}
.octopus-message-time.octopus-their-time {
  color: #999;
}

.octopus-message-image {
  max-width: 400px;
}
.octopus-message-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}
.octopus-message-image .octopus-message-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}
.octopus-message-image .octopus-message-file-info .octopus-file-icon {
  font-size: 20px;
}
.octopus-message-image .octopus-message-file-info .octopus-file-details {
  flex: 1;
}
.octopus-message-image .octopus-message-file-info .octopus-file-details .octopus-file-name {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 2px;
}
.octopus-message-image .octopus-message-file-info .octopus-file-details .octopus-file-size {
  font-size: 12px;
  color: #666;
}

.octopus-message-text {
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.octopus-message-text .octopus-message-content {
  font-size: 14px;
  color: #000;
  line-height: 1.5;
  margin-bottom: 8px;
  word-wrap: break-word;
}
.octopus-message-text .octopus-message-author {
  font-size: 12px;
  color: #0073aa;
  font-weight: 600;
  margin-bottom: 4px;
}
.octopus-message-text .octopus-message-date {
  font-size: 11px;
  color: #999;
}

.octopus-loading,
.octopus-no-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #666;
  font-size: 14px;
  text-align: center;
}
.octopus-loading p,
.octopus-no-messages p {
  margin-top: 16px;
  color: #666;
}

.octopus-no-messages .octopus-no-messages-icon {
  font-size: 48px;
  opacity: 0.3;
  margin-bottom: 16px;
}
.octopus-no-messages h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.octopus-no-messages p {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.octopus-load-more-top,
.octopus-load-more-bottom {
  text-align: center;
  padding: 12px 0;
  margin: 8px 0;
}
.octopus-load-more-top .octopus-load-more-btn,
.octopus-load-more-bottom .octopus-load-more-btn {
  padding: 8px 20px;
  background-color: #e8e8e8;
  color: #666;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.octopus-load-more-top .octopus-load-more-btn:hover:not(:disabled),
.octopus-load-more-bottom .octopus-load-more-btn:hover:not(:disabled) {
  background-color: #d8d8d8;
  color: #333;
}
.octopus-load-more-top .octopus-load-more-btn:disabled,
.octopus-load-more-bottom .octopus-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.octopus-inline-error {
  text-align: center;
  padding: 12px;
  margin: 16px auto;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  max-width: 400px;
}
.octopus-inline-error p {
  margin: 0 0 8px 0;
  color: #856404;
  font-size: 13px;
}
.octopus-inline-error .octopus-retry-btn-small {
  padding: 6px 16px;
  background-color: #ffc107;
  color: #000;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.octopus-inline-error .octopus-retry-btn-small:hover {
  background-color: #ffb300;
}

.octopus-pagination-info {
  text-align: center;
  padding: 8px;
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  font-size: 12px;
  color: #666;
}

.octopus-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}
.octopus-pagination .octopus-pagination-btn {
  padding: 8px 16px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.octopus-pagination .octopus-pagination-btn:hover:not(:disabled) {
  background-color: #005a87;
}
.octopus-pagination .octopus-pagination-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}
.octopus-pagination .octopus-pagination-info {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.octopus-conversations-list::-webkit-scrollbar,
.octopus-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.octopus-conversations-list::-webkit-scrollbar-track,
.octopus-chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.octopus-conversations-list::-webkit-scrollbar-thumb,
.octopus-chat-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.octopus-conversations-list::-webkit-scrollbar-thumb:hover,
.octopus-chat-messages::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.octopus-no-conversation-selected {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
  text-align: center;
  padding: 2rem;
}
.octopus-no-conversation-selected .octopus-no-conversation-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.octopus-no-conversation-selected h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.octopus-no-conversation-selected p {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}

.octopus-error-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: #d32f2f;
}
.octopus-error-messages p {
  margin-bottom: 1rem;
}

.octopus-retry-btn {
  padding: 0.5rem 1rem;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.octopus-retry-btn:hover {
  background-color: #005a87;
}

.octopus-send-icon.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.octopus-typing-indicator {
  padding: 0 22px;
  margin-bottom: -11px;
}
.octopus-typing-indicator .octopus-typing-text {
  font-size: 14px;
}

.octopus-icon,
.octopus-menu-icon,
.octopus-search-icon,
.octopus-user-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.octopus-icon i.bb-icon-f,
.octopus-icon i.bb-icon-l,
.octopus-menu-icon i.bb-icon-f,
.octopus-menu-icon i.bb-icon-l,
.octopus-search-icon i.bb-icon-f,
.octopus-search-icon i.bb-icon-l,
.octopus-user-display i.bb-icon-f,
.octopus-user-display i.bb-icon-l {
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .octopus-messages-container {
    flex-direction: row;
    height: calc(100vh - 40px);
    min-height: calc(100vh - 40px);
    max-height: none;
    border-radius: 0;
    border: none;
    overflow: hidden;
    width: 100%;
    display: flex;
  }
  .octopus-messages-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: none;
    flex: 0 0 100%;
    max-height: none;
    height: 100%;
    min-height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    transition: transform 0.3s ease;
    transform: translateX(0);
    overflow: hidden;
  }
  .octopus-messages-chat {
    flex: 0 0 100%;
    min-height: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 5;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
  }
  .octopus-messages-container.show-chat .octopus-messages-sidebar {
    transform: translateX(-100%);
  }
  .octopus-messages-container.show-chat .octopus-messages-chat {
    transform: translateX(0);
    z-index: 10;
  }
  .octopus-messages-header {
    padding: 15px;
  }
  .octopus-messages-header h2 {
    font-size: 24px;
  }
  .octopus-messages-search {
    padding: 12px;
    flex-wrap: wrap;
  }
  .octopus-messages-search input {
    font-size: 14px;
    padding: 8px 12px 8px 40px;
  }
  .octopus-messages-search .octopus-search-icon {
    left: 22px;
    font-size: 20px;
    top: 29%;
  }
  .octopus-messages-search .octopus-search-button {
    padding: 8px 14px;
    font-size: 12px;
    width: 100%;
    margin-top: 8px;
  }
  .octopus-conversation-item {
    padding: 12px;
  }
  .octopus-conversation-item .octopus-conversation-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-right: 10px;
  }
  .octopus-conversation-item .octopus-conversation-header .octopus-conversation-name {
    font-size: 14px;
  }
  .octopus-conversation-item .octopus-conversation-footer {
    font-size: 12px;
  }
  .octopus-conversation-item .octopus-conversation-footer .octopus-conversation-time {
    font-size: 11px;
  }
  .octopus-chat-header {
    padding: 12px 15px;
    position: relative;
  }
  .octopus-chat-header .octopus-mobile-back-btn {
    display: flex;
  }
  .octopus-chat-header .octopus-chat-header-left {
    gap: 10px;
  }
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-avatar,
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-avatar-img {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info .octopus-chat-name {
    font-size: 15px;
  }
  .octopus-chat-messages {
    padding: 15px;
  }
  .octopus-message-item {
    margin-bottom: 12px;
  }
  .octopus-message-item.octopus-message-mine, .octopus-message-item.octopus-message-theirs {
    padding-right: 28px;
  }
  .octopus-message-item .octopus-message-bubble {
    max-width: 75%;
    padding: 8px 12px;
    font-size: 14px;
  }
  .octopus-message-item .octopus-message-avatar {
    width: 28px;
    height: 28px;
  }
  .octopus-attachment-card-photo {
    width: 100%;
    max-width: 280px;
  }
  .octopus-attachment-photo-image {
    max-height: 280px;
    min-height: 280px;
  }
  .octopus-modal-overlay .octopus-modal-content {
    width: 95%;
    max-width: none;
  }
}
@media screen and (max-width: 480px) {
  .octopus-messages-container {
    height: calc(100vh - 60px);
    min-height: calc(100vh - 60px);
  }
  .octopus-messages-sidebar {
    height: 100%;
    min-height: 100%;
  }
  .octopus-messages-chat {
    height: 100%;
    min-height: 100%;
  }
  .octopus-messages-header {
    padding: 12px;
  }
  .octopus-messages-header h2 {
    font-size: 20px;
  }
  .octopus-messages-header .octopus-messages-header-actions .octopus-icon {
    font-size: 18px;
  }
  .octopus-messages-search {
    padding: 10px;
  }
  .octopus-messages-search input {
    font-size: 13px;
    padding: 7px 10px 7px 35px;
  }
  .octopus-messages-search .octopus-search-icon {
    left: 20px;
    font-size: 18px;
  }
  .octopus-messages-search .octopus-search-button {
    padding: 7px 12px;
    font-size: 11px;
  }
  .octopus-conversation-item {
    padding: 10px;
  }
  .octopus-conversation-item .octopus-conversation-avatar {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin-right: 8px;
  }
  .octopus-conversation-item .octopus-conversation-content .octopus-conversation-header .octopus-conversation-name {
    font-size: 13px;
  }
  .octopus-conversation-item .octopus-conversation-content .octopus-conversation-footer {
    font-size: 11px;
    gap: 6px;
  }
  .octopus-conversation-item .octopus-conversation-content .octopus-conversation-footer .octopus-conversation-message {
    font-size: 11px;
  }
  .octopus-conversation-item .octopus-conversation-content .octopus-conversation-footer .octopus-conversation-time {
    font-size: 10px;
  }
  .octopus-chat-header {
    padding: 10px 12px;
    position: relative;
  }
  .octopus-chat-header .octopus-mobile-back-btn {
    display: flex;
    padding: 6px;
    margin-right: 6px;
    font-size: 18px;
  }
  .octopus-chat-header .octopus-chat-header-left {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-avatar,
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-avatar-img {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info {
    min-width: 0;
    flex: 1;
  }
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info .octopus-chat-name {
    font-size: 14px;
  }
  .octopus-chat-header .octopus-chat-header-left .octopus-chat-header-info .octopus-chat-description {
    font-size: 11px;
  }
  .octopus-chat-header .octopus-icon {
    font-size: 18px;
  }
  .octopus-chat-messages {
    padding: 12px;
  }
  .octopus-message-item {
    margin-bottom: 10px;
    gap: 6px;
  }
  .octopus-message-item.octopus-message-mine .octopus-message-bubble {
    margin-left: 40px;
  }
  .octopus-message-item.octopus-message-theirs .octopus-message-bubble {
    margin-right: 40px;
  }
  .octopus-message-item.octopus-message-theirs .octopus-message-avatar {
    margin-right: 6px;
  }
  .octopus-message-item .octopus-message-bubble {
    max-width: 80%;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 16px;
  }
  .octopus-message-item .octopus-message-avatar {
    width: 24px;
    height: 24px;
  }
  .octopus-message-item .octopus-message-checkbox {
    top: 4px;
  }
  .octopus-message-item .octopus-message-checkbox input[type=checkbox] {
    width: 20px;
    height: 20px;
  }
  .octopus-message-content {
    font-size: 13px;
  }
  .octopus-message-time {
    font-size: 10px;
    margin-top: 3px;
  }
  .octopus-sender-name {
    font-size: 11px;
    margin-bottom: 3px;
  }
  .octopus-date-separator {
    margin: 15px 0;
  }
  .octopus-date-separator .octopus-date-separator-text {
    font-size: 11px;
    padding: 3px 10px;
  }
  .octopus-attachment-card-photo {
    max-width: 240px;
  }
  .octopus-attachment-photo-image {
    max-height: 240px;
    min-height: 240px;
  }
  .octopus-attachment-card-file {
    min-width: 220px;
    padding: 12px;
  }
  .octopus-attachment-card-file .octopus-attachment-file-icon {
    font-size: 18px;
  }
  .octopus-attachment-card-file .octopus-attachment-file-name {
    font-size: 12px;
  }
  .octopus-load-more-btn {
    padding: 8px 16px;
    font-size: 12px;
    max-width: 200px;
  }
  .octopus-load-more-container {
    padding: 10px;
  }
  .octopus-recipient-chip {
    font-size: 12px;
    padding: 3px 6px 3px 10px;
  }
  .octopus-recipient-chip .octopus-recipient-remove {
    width: 18px;
    height: 18px;
    font-size: 16px;
  }
  .octopus-recipient-input {
    font-size: 13px;
    min-width: 120px;
  }
  .octopus-recipient-search-results {
    max-height: 250px;
  }
  .octopus-recipient-search-results .octopus-recipient-search-item {
    padding: 10px 12px;
  }
  .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-avatar {
    width: 32px;
    height: 32px;
  }
  .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-info .octopus-recipient-name {
    font-size: 13px;
  }
  .octopus-recipient-search-results .octopus-recipient-search-item .octopus-recipient-info .octopus-recipient-email {
    font-size: 11px;
  }
  .octopus-delete-mode-header {
    padding: 12px 16px;
  }
  .octopus-delete-mode-header .octopus-delete-mode-info {
    font-size: 13px;
  }
  .octopus-delete-mode-header .octopus-delete-mode-actions {
    gap: 8px;
  }
  .octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-secondary,
  .octopus-delete-mode-header .octopus-delete-mode-actions .octopus-btn-danger {
    padding: 8px 16px;
    font-size: 12px;
  }
  .octopus-modal-overlay {
    padding: 10px;
  }
  .octopus-modal-overlay .octopus-modal-content {
    width: 100%;
    max-height: 90vh;
  }
  .octopus-modal-overlay .octopus-modal-content .octopus-modal-header {
    padding: 15px;
  }
  .octopus-modal-overlay .octopus-modal-content .octopus-modal-header h3 {
    font-size: 16px;
  }
  .octopus-modal-overlay .octopus-modal-content .octopus-modal-body {
    padding: 15px;
  }
  .octopus-preview-overlay {
    padding: 15px;
  }
  .octopus-preview-content {
    padding: 15px;
  }
  .octopus-preview-close {
    width: 32px;
    height: 32px;
    font-size: 16px;
    top: 8px;
    right: 8px;
  }
  .octopus-preview-image {
    max-width: 85vw;
    max-height: 75vh;
  }
}
@media screen and (max-width: 360px) {
  .octopus-messages-header h2 {
    font-size: 18px;
  }
  .octopus-conversation-item {
    padding: 8px;
  }
  .octopus-conversation-item .octopus-conversation-avatar {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .octopus-message-item .octopus-message-bubble {
    max-width: 85%;
    padding: 6px 9px;
    font-size: 12px;
  }
  .octopus-attachment-card-photo {
    max-width: 200px;
  }
  .octopus-attachment-photo-image {
    max-height: 200px;
    min-height: 200px;
  }
}
@media screen and (max-width: 768px) and (orientation: landscape) {
  .octopus-messages-container {
    height: calc(100vh - 30px);
  }
  .octopus-messages-sidebar {
    height: 100%;
  }
  .octopus-messages-chat {
    height: 100%;
  }
}
@media print {
  .octopus-messages-container {
    display: none;
  }
}
/* ==== Message reactions ==== */
.octopus-message-bubble {
  position: relative;
}

.octopus-message-reaction-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.octopus-message-reactions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.octopus-reaction-chip {
  border: 1px solid #e0e0e0;
  background: rgba(227, 227, 227, 0.4392156863);
  border-radius: 10px;
  padding: 1px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
}
.octopus-reaction-chip .emoji {
  width: 20px;
  height: 20px;
}
.octopus-reaction-chip:hover, .octopus-reaction-chip:focus, .octopus-reaction-chip:active {
  background: rgba(227, 227, 227, 0.4392156863);
  outline: none;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

.octopus-reaction-chip-active {
  background: rgba(227, 227, 227, 0.4392156863);
}

.octopus-reaction-emoji {
  font-size: 14px;
}

.octopus-reaction-count {
  color: #555;
}

.octopus-reaction-actions {
  display: flex;
  align-items: center;
  position: relative;
}

.octopus-reaction-trigger {
  border: none;
  background: transparent;
  border-radius: 12px;
  padding: 0px 0px;
  cursor: pointer;
  font-size: 25px;
  transition: all 0.15s ease;
  color: rgba(0, 0, 0, 0.1607843137);
  font-weight: 400;
  margin-bottom: -3px !important;
}

.octopus-reaction-trigger:hover,
.octopus-reaction-trigger:focus,
.octopus-reaction-trigger:active {
  background: none;
  color: rgba(0, 0, 0, 0.5294117647);
  outline: none;
  box-shadow: none;
  border: none;
}

.octopus-reaction-picker {
  position: absolute;
  z-index: 1100;
  right: 67px;
  top: 96%;
  margin-top: 6px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  padding: 8px;
}

.octopus-quick-reactions {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.octopus-quick-reaction-btn {
  border: 1px solid #e0e0e0;
  background: #fafafa;
  border-radius: 10px;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 15px;
}

.octopus-quick-reaction-btn:hover {
  background: #f0f4ff;
}

/*# sourceMappingURL=style-index.css.map*/