.field {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    min-width: 0;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.field-info {
    display: inline-grid;
    flex: 0 0 15px;
    place-items: center;
    width: 15px;
    height: 15px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #43536b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
}

.field-info:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.field-error-icon[hidden] {
    display: none;
}

.registration-card .field > input,
.registration-card .field > select,
.registration-card .field > textarea {
    margin-top: 0;
}

.registration-card .field {
    margin: 0 0 14px;
}

.field-feedback {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    min-height: 16px;
    margin-top: 4px;
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}

.field-feedback-empty {
    visibility: hidden;
}

.field-feedback-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.field-help {
    color: #4b586d;
}

.field-error {
    color: #a01828;
}

.field-error-icon {
    display: inline-grid;
    flex: 0 0 13px;
    place-items: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    color: #fff;
    background: #a01828;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

:root[data-theme="dark"] .field-help {
    color: #c5cfdf;
}

:root[data-theme="dark"] .field-error {
    color: #ff929c;
}

:root[data-theme="dark"] .field-info {
    color: #c5cfdf;
}

:root[data-theme="dark"] .field-error-icon {
    background: #ff929c;
    color: #202a3a;
}
