.messages-container {
  padding: 16px;
}
.messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.messages-title {
  font-size: 18px;
  font-weight: 600;
}
.messages-tab {
  margin-bottom: 16px;
}
.messages-day-panel {
  border-radius: 10px;
  margin-bottom: 16px;
}
.messages-message-card {
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 4px 16px rgba(22, 119, 255, 0.06),
    0 1.5px 4px rgba(0, 0, 0, 0.04);
  padding: 20px 12px 16px 12px;
  margin-bottom: 20px;
  border: 1.5px solid #f0f3fa;
  transition:
    box-shadow 0.2s,
    border 0.2s,
    transform 0.2s;
  position: relative;
}
.messages-message-card:hover {
  box-shadow:
    0 8px 24px rgba(22, 119, 255, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #1677ff;
  transform: translateY(-2px) scale(1.01);
}
.messages-message-header {
}
.messages-message-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.messages-message-type-btns {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}
.messages-message-type-btn {
  width: 20px;
}
.messages-message-content {
  margin-bottom: 10px;
  font-size: 15px;
  color: #222;
  line-height: 1.7;
}
.messages-message-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.messages-message-remove-btn {
  color: #ff4d4f;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0 8px;
  transition: color 0.2s;
}
.messages-message-remove-btn:hover {
  color: #d9363e;
}
.messages-add-message-btn {
  width: 100%;
  margin-top: 8px;
}
.messages-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.messages-modal-btn {
  width: 100%;
  margin-bottom: 8px;
}
.messages-group-select-item {
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  margin-bottom: 8px;
  border: 1px solid #eee;
  transition:
    border 0.2s,
    background 0.2s;
}
.messages-group-select-item.selected {
  background: #e6f7ff;
  border: 1.5px solid #1677ff;
}
