#slb-bar,
.slb-inline .slb-bar {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 44px 12px 16px;
  font-family: inherit;
  position: relative;
}

#slb-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999999;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.14);
}

#slb-bar.slb-top { top: 0; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14); }
#slb-bar.slb-bottom { bottom: 0; }

.slb-bar * { box-sizing: border-box; }

.slb-headline {
  flex: 1 1 auto;
  margin: 0;
  line-height: 1.35;
  text-align: center;
  font-weight: 500;
}

.slb-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.slb-form input {
  height: 38px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  background: #fff;
  color: #111;
  font-size: 14px;
}

.slb-form input:focus { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 1px; }

.slb-form button {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.slb-form button[disabled] { opacity: 0.6; cursor: not-allowed; }

.slb-close {
  position: absolute;
  top: 6px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 4px;
}

@media (max-width: 900px) {
  #slb-bar,
  .slb-inline .slb-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 40px 14px 14px;
  }
  .slb-headline { text-align: left; }
  .slb-form { flex-wrap: wrap; }
  .slb-form input { flex: 1 1 140px; min-width: 0; }
  .slb-form button { flex: 1 1 100%; }
}
