.company-registration {
    box-sizing: border-box;
    width: min(100%, 780px);
    margin-inline: auto;
}
.company-registration-page:not(.torgo-v2) .company-registration {
    padding: 12px 16px 32px;
    font: 14px/1.45 Tahoma, sans-serif;
    color: #17222c;
}
.company-registration-page:not(.torgo-v2) .company-registration h1 {
    color: #143b80;
    font-size: 23px;
}
.company-registration .torgo-city-registration {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}
.company-registration fieldset {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--portal-line, #c3cbd2);
    border-radius: 8px;
}
.company-registration legend {
    padding-inline: 5px;
    font-weight: 650;
}
.company-registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.company-registration-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.company-registration .company-registration-field :is(input, select, textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    font: inherit;
}
.company-registration .company-registration-field :is(input, select) {
    min-height: 40px;
}
.company-registration .torgo-location {
    width: 100%;
    max-width: 100%;
}
.company-registration .torgo-location__map {
    box-sizing: border-box;
}
.company-registration-field small {
    display: block;
    margin-top: 4px;
    color: var(--portal-muted, #48545d);
}
.company-registration-error {
    margin-block: 12px 16px;
    padding: 8px 12px;
    border-inline-start: 3px solid #9b2626;
    background: #fff2ef;
    color: #812626;
}
.company-registration-error p,
.company-registration-field-error {
    margin: 4px 0;
}
.company-registration-field-error {
    color: #8f2626;
    font-weight: 600;
}
.company-registration .company-registration-field [aria-invalid="true"] {
    border-color: #a02525;
}
.company-registration .company-registration-submit {
    justify-self: start;
    min-height: 44px;
}
@media (max-width: 600px) {
    .company-registration-grid { grid-template-columns: 1fr; }
    .company-registration .company-registration-submit { width: 100%; }
}
