/* Form inputs used across entry forms */
.cbex-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
  color: var(--ink-1);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.cbex-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.cbex-input:disabled {
  background: var(--bg-1);
  color: var(--ink-3);
  cursor: not-allowed;
}
textarea.cbex-input {
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}
select.cbex-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 32px;
}
/* Dark theme form inputs */
body[data-theme="dark"] .cbex-input { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); color: #fff; }
body[data-theme="dark"] .cbex-input:focus { border-color: var(--blue-500); background: rgba(255,255,255,.05); }
body[data-theme="dark"] .cbex-input:disabled { background: rgba(255,255,255,.02); color: rgba(255,255,255,.4); }
body[data-theme="glass"] .cbex-input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(10px); }
body[data-theme="glass"] .cbex-input:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
body[data-theme="minimal"] .cbex-input { border-radius: 4px; border-color: #e5e5e5; }
body[data-theme="minimal"] .cbex-input:focus { border-color: var(--ink-1); box-shadow: 0 0 0 2px rgba(0,0,0,.06); }
