.fieldset-edu_school_place_row_id {
    display: none !important;
}

.fieldset-edu_school_registry_search .field {
    position: relative;
}

.fieldset-edu_school_registry_search input.input-text,
.fieldset-edu_school_registry_search input[type="text"] {
    width: 100%;
}

.edu-school-selector__status {
    min-height: 20px;
    margin-top: 7px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.edu-school-selector__status.is-success {
    color: #16794b;
}

.edu-school-selector__status.is-error,
.edu-school-selector__status.is-warning {
    color: #a64b13;
}

.edu-school-selector__status.is-loading::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border: 2px solid #cad3e7;
    border-top-color: #3057ea;
    border-radius: 50%;
    vertical-align: -2px;
    animation: edu-school-selector-spin .7s linear infinite;
}

.edu-school-selector__results {
    position: absolute;
    z-index: 10020;
    top: calc(100% - 20px);
    left: 0;
    right: 0;
    max-height: 390px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #cad3e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .17);
}

.edu-school-selector__option {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin: 0;
    padding: 12px 13px;
    border: 0;
    border-bottom: 1px solid #e7edf7;
    border-radius: 9px;
    background: transparent;
    color: #1f2a5c;
    text-align: left;
    cursor: pointer;
}

.edu-school-selector__option:last-child {
    border-bottom: 0;
}

.edu-school-selector__option:hover,
.edu-school-selector__option:focus {
    outline: none;
    background: #eef4ff;
}

.edu-school-selector__option:disabled,
.edu-school-selector__option.has-no-coordinates {
    background: #fffaf0;
    cursor: not-allowed;
    opacity: .78;
}

.edu-school-selector__option-title {
    font-size: 14px;
    line-height: 1.35;
}

.edu-school-selector__option-unit,
.edu-school-selector__option-address,
.edu-school-selector__option-geography,
.edu-school-selector__option-ids,
.edu-school-selector__option-warning {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.edu-school-selector__option-unit {
    color: #334155;
    font-weight: 600;
}

.edu-school-selector__option-address,
.edu-school-selector__option-geography,
.edu-school-selector__option-ids {
    color: #64748b;
}

.edu-school-selector__option-geography {
    color: #42557f;
    font-weight: 600;
}

.edu-school-selector__option-warning {
    color: #a16207;
    font-weight: 600;
}

.edu-school-selector__selected {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    margin-top: 10px;
    padding: 12px 13px;
    border: 1px solid #b8dec9;
    border-radius: 12px;
    background: #f3fbf6;
}

.edu-school-selector__selected-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #16794b;
    color: #fff;
    font-weight: 800;
}

.edu-school-selector__selected-content {
    min-width: 0;
}

.edu-school-selector__selected-title,
.edu-school-selector__selected-unit,
.edu-school-selector__selected-address,
.edu-school-selector__selected-meta {
    display: block;
}

.edu-school-selector__selected-title {
    color: #1f2a5c;
    font-size: 14px;
    line-height: 1.35;
}

.edu-school-selector__selected-unit,
.edu-school-selector__selected-address,
.edu-school-selector__selected-meta {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.edu-school-selector__selected-meta {
    color: #42557f;
    font-weight: 600;
}

.edu-school-selector__change {
    padding: 7px 10px;
    border: 1px solid #3057ea;
    border-radius: 9px;
    background: #fff;
    color: #3057ea;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.fieldset-edu_school_registry_not_found {
    margin-top: -3px;
    padding: 12px 14px !important;
    border: 1px dashed #cad3e7 !important;
    border-radius: 12px;
    background: #f8fafc;
}

.fieldset-edu_school_registry_not_found > label {
    font-weight: 700;
}

@keyframes edu-school-selector-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .edu-school-selector__selected {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .edu-school-selector__change {
        grid-column: 1 / -1;
        width: 100%;
    }
}


.fieldset-edu_school_type_display input[readonly],
.fieldset-edu_school_type_display input[aria-readonly="true"] {
    background: #f8fafc !important;
    color: #334155 !important;
    cursor: default;
}

.fieldset-edu_school_type_display input[readonly]:focus {
    border-color: #cad3e7 !important;
    box-shadow: none !important;
}
