/* Company name / CVR autofill dropdown (js/company-search.js) */
.lk-cs-wrap {
  position: relative;
}
.lk-cs-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: -2px;
  z-index: 1050;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  text-align: left;
}
.lk-cs-item {
  display: block;
  padding: 9px 14px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  line-height: 1.3;
}
.lk-cs-item:last-child {
  border-bottom: none;
}
.lk-cs-item:hover,
.lk-cs-item.is-active {
  background: #f2f6fb;
}
.lk-cs-name {
  display: block;
  font-weight: 600;
  color: #222;
  font-size: 14px;
}
.lk-cs-detail {
  display: block;
  color: #6c757d;
  font-size: 12px;
  margin-top: 2px;
}
.lk-cs-msg {
  padding: 10px 14px;
  color: #6c757d;
  font-size: 13px;
}
.lk-cs-wrap.lk-cs-loading::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 11px;
  width: 16px;
  height: 16px;
  border: 2px solid #ced4da;
  border-top-color: #555;
  border-radius: 50%;
  animation: lk-cs-spin 0.7s linear infinite;
}
@keyframes lk-cs-spin {
  to { transform: rotate(360deg); }
}
/* Front page: "✓ CVR 12345678" shown inside the field after a pick (absolute, so nothing below moves). */
.form-group .lk-cs-badge {
  position: absolute;
  top: 0;
  right: 27px;
  height: 40px;
  line-height: 40px;
  font-size: 12px;
  font-weight: 600;
  color: #28a745;
  white-space: nowrap;
  pointer-events: none;
}
input.lk-cs-has-badge {
  padding-right: 125px !important;
  text-overflow: ellipsis;
}
/* Front page: "pick your company" / "not found" under the field, aligned with the field text. */
.lk-cs-hint {
  display: block;
  margin: -4px 0 10px;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.4;
  color: #c0392b;
  text-align: left;
}
/* Front page: the form card clips its content; let the list hang out while it is open. */
body.lk-cs-open .st_banner_tab {
  overflow: visible;
}
