/**
 * assistant.html — 广播发布弹层样式
 * UI 对齐运营端 _broadcast/index.vue 弹窗内布局（白底、发布按钮、历史区）
 */

#broadcast-modal-mask.demo-broadcast-mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100005;
  background: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#broadcast-modal-mask.demo-broadcast-mask.is-open {
  display: flex;
}

.demo-broadcast-dialog {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.demo-broadcast-hd {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.demo-broadcast-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
}

.demo-broadcast-close:hover {
  color: #333;
}

.demo-broadcast-bd {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 20px;
}

.demo-broadcast-text-wrap {
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
}

#broadcast-textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  padding: 10px 12px 28px;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  resize: none;
}

#broadcast-textarea::placeholder {
  color: #c0c4cc;
}

#broadcast-textarea:focus {
  outline: none;
}

.demo-broadcast-count {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 12px;
  color: #909399;
  pointer-events: none;
}

.demo-broadcast-publish {
  float: right;
  margin-top: 10px;
  min-width: 64px;
  height: 30px;
  padding: 0 14px;
  border: none;
  border-radius: 4px;
  background: #ff8a35;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.demo-broadcast-publish:hover {
  filter: brightness(1.03);
}

.demo-broadcast-history {
  clear: both;
  padding-top: 20px;
}

.demo-broadcast-history h4 {
  margin: 0 0 8px;
  padding-left: 2px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.demo-broadcast-tips {
  margin: 0;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 13px;
  color: #909399;
}

.demo-broadcast-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}

.demo-broadcast-list li {
  margin: 0 0 12px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  color: #666;
  text-align: left;
}

.demo-broadcast-list li:last-child {
  border-bottom: none;
}

.demo-broadcast-list .radio-time {
  margin-right: 10px;
  color: #909399;
}

.demo-broadcast-list .radio-delete {
  float: right;
  color: #ff8a35;
  cursor: pointer;
}

.demo-broadcast-list .radio-delete:hover {
  text-decoration: underline;
}

.demo-broadcast-list .radio-content {
  clear: both;
  margin: 8px 0 0;
  padding: 8px 10px;
  background: #f6f9fa;
  border-radius: 4px;
  word-break: break-word;
  line-height: 1.5;
}
