.wp-menu-image.dashicons-before img {
  width: 20px;
  height: auto;
  padding: 8px 0 5px 0 !important;
}

/* Status box */
.plugchat-status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 20px 0;
  border-left: 4px solid #ccc;
  background: #f9f9f9;
  font-size: 14px;
}

.plugchat-status-box.status-active {
  border-left-color: #00a32a;
  background: #f0faf0;
}

.plugchat-status-box.status-active .plugchat-status-icon {
  color: #00a32a;
}

.plugchat-status-box.status-legacy {
  border-left-color: #dba617;
  background: #fff8e5;
}

.plugchat-status-box.status-legacy .plugchat-status-icon {
  color: #dba617;
}

.plugchat-status-box.status-inactive {
  border-left-color: #999;
  background: #f6f6f6;
}

.plugchat-status-box.status-inactive .plugchat-status-icon {
  color: #999;
}

/* Card layout */
.plugchat-card {
  background: #fff;
  border: 1px solid #ccd0d4;
  padding: 20px 24px;
  margin: 16px 0;
  max-width: 720px;
}

.plugchat-card h2 {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 8px;
  padding: 0;
}

.plugchat-card .description {
  color: #646970;
  font-style: italic;
  margin-bottom: 12px;
}

/* Steps list */
.plugchat-steps {
  margin: 12px 0 12px 20px;
  line-height: 1.8;
}

.plugchat-steps li {
  margin-bottom: 4px;
}

.plugchat-steps a {
  color: #2271b1;
  text-decoration: underline;
}

/* Embed textarea */
.plugchat-embed-textarea {
  width: 100%;
  max-width: 680px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  padding: 12px;
  border: 1px solid #8c8f94;
  background: #f6f7f7;
  resize: vertical;
  tab-size: 2;
}

.plugchat-embed-textarea:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
  outline: none;
  background: #fff;
}

/* Position select */
#plugchat_position {
  min-width: 200px;
  padding: 6px 8px;
}

/* Legacy section */
.plugchat-legacy-card {
  border-color: #dba617;
  background: #fffdf5;
}

.plugchat-toggle-legacy {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  color: #1d2327;
  display: flex;
  align-items: center;
  gap: 4px;
}

.plugchat-toggle-legacy:hover {
  color: #2271b1;
}

.plugchat-toggle-legacy .dashicons {
  transition: transform 0.2s;
}

.plugchat-toggle-legacy.open .dashicons {
  transform: rotate(180deg);
}

.plugchat-legacy-notice {
  background: #fff8e5;
  border-left: 3px solid #dba617;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 13px;
}

.plugchat-legacy-content .form-table th {
  width: 180px;
}

.plugchat-legacy-content .plugs-input {
  height: 40px;
  padding: 10px 15px;
}

.plugchat-legacy-content .plugs-reply {
  width: 400px;
}
