.lv-field {
  margin-bottom: var(--lv-space-4);
}

.lv-label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--lv-space-2);
  color: var(--lv-navy);
  font-size: 14px;
}

.lv-required {
  color: #ef4444;
  margin-left: 4px;
  font-weight: 800;
  font-size: 1em;
}

.lv-input,
.lv-select,
.lv-textarea {
  width: 100%;
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--lv-navy);
  background: #ffffff;
  font-family: var(--lv-font);
  box-sizing: border-box;
}

.lv-input,
.lv-select {
  min-height: 48px;
}

.lv-select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--lv-navy) 50%),
    linear-gradient(135deg, var(--lv-navy) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.lv-input:focus,
.lv-select:focus,
.lv-textarea:focus {
  outline: 2px solid rgba(45, 108, 223, 0.22);
  border-color: var(--lv-blue);
}

/* Shared input + attached unit control */

.lv-input-unit-group,
.lv-input-select-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius-sm);
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.lv-input-unit-group:focus-within,
.lv-input-select-group:focus-within {
  border-color: var(--lv-blue);
  outline: 2px solid rgba(45, 108, 223, 0.22);
}

.lv-input-unit-group .lv-input,
.lv-input-select-group .lv-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-radius: 0;
  outline: 0;
}

.lv-input-unit-group .lv-input:focus,
.lv-input-select-group .lv-input:focus {
  border: 0;
  outline: 0;
}

.lv-attached-unit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0 12px;
  border-left: 1px solid var(--lv-border);
  background: var(--lv-bg);
  color: var(--lv-muted);
  font-family: var(--lv-font);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.lv-input-select-group .lv-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 90px;
  min-height: 46px;
  border: 0;
  border-left: 1px solid var(--lv-border);
  border-radius: 0;
  background-color: var(--lv-bg);
  color: var(--lv-muted);
  font-family: var(--lv-font);
  font-size: 13px;
  font-weight: 700;
}

.lv-helper-text {
  margin-top: var(--lv-space-2);
  color: var(--lv-muted);
  font-size: 13px;
  line-height: 1.5;
}