.aktywwwni-threads-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.aktywwwni-threads-list .thread-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: box-shadow 0.2s;
}
.aktywwwni-threads-list .thread-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.aktywwwni-threads-list .thread-item .thread-info {
  display: flex;
  flex-direction: column;
}
.aktywwwni-threads-list .thread-item .thread-info .thread-title {
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 6px;
}
.aktywwwni-threads-list .thread-item .thread-info .thread-meta {
  font-size: 0.85em;
  color: #666;
  display: flex;
  gap: 15px;
}
.aktywwwni-threads-list .thread-item .thread-info .thread-meta .status-badge {
  text-transform: capitalize;
  font-weight: 600;
  color: #333;
  background: #eee;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.85em;
  line-height: 1.2;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.aktywwwni-threads-list .thread-item .thread-info .thread-meta .date-created {
  font-style: italic;
}
.aktywwwni-threads-list .thread-item .thread-action {
  align-self: center;
}
.aktywwwni-threads-list .thread-item .thread-action a.btn {
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  font-size: 0.85em;
  background-color: #ff4d00;
  border-color: #ff4d00;
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}
.aktywwwni-threads-list .thread-item .thread-action a.btn:hover {
  background-color: #e04300;
  border-color: #e04300;
  color: #fff;
  text-decoration: none;
}

.thread-info-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fefefe;
}
.thread-info-box h3 {
  margin-top: 0;
}

.thread-messages-chat {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  height: 300px;
  overflow-y: auto;
  background: #fff;
}
.thread-messages-chat .message-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.thread-messages-chat .message-row.from-customer {
  align-items: flex-end;
}
.thread-messages-chat .message-row.from-customer .message-text {
  background-color: #d1e7ff;
  color: #333;
  border-radius: 15px 15px 0 15px;
}
.thread-messages-chat .message-row.from-employee {
  align-items: flex-start;
}
.thread-messages-chat .message-row.from-employee .message-text {
  background-color: #e2e3e5;
  color: #333;
  border-radius: 15px 15px 15px 0;
}
.thread-messages-chat .message-row .message-text {
  padding: 10px;
  max-width: 70%;
  word-wrap: break-word;
}
.thread-messages-chat .message-row .message-date {
  color: #888;
  font-size: 0.8em;
  margin-top: 3px;
}

.thread-message-input {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.thread-message-input input#new_message {
  flex-grow: 1;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 8px;
  min-height: 60px;
  font-family: inherit;
  font-size: 1em;
}
.thread-message-input button#send_message {
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  line-height: 1;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
}
.badge.badge-finished {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.3);
}
.badge.badge-update {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.3);
}
.badge.badge-pending {
  background-color: rgba(255, 193, 7, 0.15);
  color: #e0a800;
  border-color: rgba(255, 193, 7, 0.4);
}

#negotiation_send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#negotiation_send .btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.6s linear infinite;
}
#negotiation_send.loading {
  pointer-events: none;
  opacity: 0.8;
}
#negotiation_send.loading .btn-text {
  opacity: 0.7;
}
#negotiation_send.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}/*# sourceMappingURL=negotiation.css.map */