/* geo-autofill.css — status node styling for the pincode lookup component.
   Only styles the tiny status line that appears under the pincode input;
   the input itself adopts whichever module class the form already uses. */

.geo-autofill__status {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--color-text-tertiary, #9CA3AF);
}
.geo-autofill__status.is-pending { color: var(--color-text-secondary, #6B7280); }
.geo-autofill__status.is-ok      { color: var(--color-success-fg,    #1F6A32); }
.geo-autofill__status.is-err     { color: var(--color-danger-fg,     #B1442B); }

.geo-autofill__status.is-pending::before { content: "⏳ "; }
.geo-autofill__status.is-ok::before      { content: "✓ "; }
.geo-autofill__status.is-err::before     { content: "⚠ "; }

/* Canonical address-block partial layout. The partial emits a flat list of
   .<module>-field wrappers; this stylesheet tiles them into a responsive
   grid (two columns on desktop, one on mobile). Each module's field class
   keeps its own input styling, only the surrounding grid is shared. */
.address-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.8rem;
}
.address-block > * { min-width: 0; }
@media (max-width: 640px) {
    .address-block { grid-template-columns: 1fr; }
}
