
/* Plugin theme variable (updated by JS color picker) */
.acb-root { --acb-theme: #1976d2; }

/* Apply theme color to message text and input/textarea text inside plugin */
.acb-root .acb-msg-text { color: var(--acb-theme); }
.acb-root textarea#acb-text, .acb-root input#acb-limit-input, .acb-root input#acb-color-picker {
    color: var(--acb-theme);
}
/* make file-link stand out slightly */
.acb-root .acb-file-link { text-decoration: underline; cursor: pointer; }


.acb-root{ max-width:980px; margin:18px auto; background:#fff; border-radius:12px; box-shadow:0 8px 24px rgba(15,23,42,0.06); padding:18px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial; --acb-theme:#1976d2; }
.acb-header{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.acb-title{ font-size:18px; font-weight:700; color:#0f1724; }
.acb-actions{ display:flex; gap:10px; align-items:center; }
.acb-inline input[type="number"]{ width:88px; padding:6px 8px; border-radius:8px; border:1px solid #e6eef8; background:#fbfdff; box-shadow:inset 0 1px 0 rgba(255,255,255,0.6); }
.acb-messages{ max-height:420px; overflow:auto; padding:12px; border-radius:10px; background:linear-gradient(180deg,#fcfeff,#ffffff); border:1px solid #f0f6fb; }
.acb-msg{ margin-bottom:10px; padding:12px 14px; background:#f7fbff; border-radius:10px; box-shadow:0 1px 0 rgba(255,255,255,0.6); border:1px solid rgba(16,24,40,0.03); transition:transform .15s ease, opacity .15s ease; }
.acb-msg-text{ font-size:15px; color:#111827; white-space:pre-wrap; word-break:break-word; }
.acb-msg-time{ font-size:12px; color:#6b7280; margin-top:8px; text-align:right; }
.acb-form{ margin-top:12px; display:flex; flex-direction:column; gap:8px; }
#acb-text{ width:100%; min-height:80px; padding:10px; border-radius:10px; border:1px solid #e6eef8; resize:vertical; font-size:15px; }
.acb-form-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.acb-submit{ padding:10px 16px; border-radius:10px; border:0; background:var(--acb-theme); color:#fff; cursor:pointer; font-weight:600; }
.acb-status{ min-width:180px; color:#374151; font-size:14px; }
.acb-admin-badge, .acb-front-badge { display:inline-block; min-width:26px; padding:4px 8px; border-radius:12px; font-weight:600; color:#fff; background:var(--acb-theme); margin-left:8px; }
