/* Scoped educational administrations directory — approved V1 */
.rn-edara-directory-v1,
.rn-edara-directory-v1 * {
    box-sizing: border-box;
}

html body .rn-edara-directory-v1 {
    width: calc(100% - 24px);
    max-width: 1120px;
    margin: 34px auto;
    padding: 22px;
    direction: rtl;
    color: #202b3e;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(23, 63, 134, .07);
    overflow: hidden;
}

.rn-edara-directory-v1__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.rn-edara-directory-v1__intro {
    min-width: 0;
}

.rn-edara-directory-v1__badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin-bottom: 9px;
    padding: 4px 11px;
    color: #202b3e;
    background: #f8d978;
    border: 1px solid #f8d978;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

html body .rn-edara-directory-v1__header h2 {
    margin: 0;
    color: #173f86;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 900;
    line-height: 1.4;
}

.rn-edara-directory-v1__count {
    flex: 0 0 auto;
    padding-bottom: 5px;
    color: #202b3e;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.rn-edara-directory-v1__search {
    position: relative;
    margin-bottom: 12px;
}

.rn-edara-directory-v1__input {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 44px 0 14px;
    direction: rtl;
    color: #202b3e;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 9px;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.rn-edara-directory-v1__input::placeholder {
    color: #7b8799;
    opacity: 1;
}

.rn-edara-directory-v1__input:focus {
    border-color: #4576cf;
    box-shadow: 0 0 0 3px rgba(69, 118, 207, .14);
}

.rn-edara-directory-v1__search-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 16px;
    color: #173f86;
    font-size: 15px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.rn-edara-directory-v1__list {
    border-top: 1px solid #dce5f2;
}

html body .rn-edara-directory-v1__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    margin: 0;
    padding: 10px 2px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #dce5f2;
    border-radius: 0;
    box-shadow: none;
    transition: background-color .16s ease;
}

html body .rn-edara-directory-v1__row:hover,
html body .rn-edara-directory-v1__row:focus-within {
    background: #f4f8fc;
}

.rn-edara-directory-v1__details {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.rn-edara-directory-v1__building {
    display: inline-flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #173f86;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 50%;
    font-size: 15px;
}

.rn-edara-directory-v1__copy {
    min-width: 0;
}

html body .rn-edara-directory-v1__copy h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
}

html body .rn-edara-directory-v1__copy h3 a {
    color: #173f86;
    text-decoration: none;
}

html body .rn-edara-directory-v1__copy h3 a:hover {
    color: #4576cf;
}

html body .rn-edara-directory-v1__copy p {
    margin: 3px 0 0;
    color: #6d788a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.rn-edara-directory-v1__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

html body .rn-edara-directory-v1__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

html body .rn-edara-directory-v1__result {
    color: #fff;
    background: #173f86;
    border: 1px solid #173f86;
}

html body .rn-edara-directory-v1__result:hover,
html body .rn-edara-directory-v1__result:focus {
    color: #fff;
    background: #4576cf;
    border-color: #4576cf;
}

html body .rn-edara-directory-v1__toppers {
    color: #202b3e;
    background: #fff;
    border: 1px solid #f8d978;
}

html body .rn-edara-directory-v1__toppers:hover,
html body .rn-edara-directory-v1__toppers:focus {
    color: #173f86;
    background: #f4f8fc;
    border-color: #f8d978;
}

.rn-edara-directory-v1__empty {
    margin: 0;
    padding: 24px 12px 12px;
    color: #6d788a;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.rn-edara-directory-v1__empty[hidden],
.rn-edara-directory-v1__row[hidden] {
    display: none !important;
}

.rn-edara-directory-v1__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 700px) {
    html body .rn-edara-directory-v1 {
        width: calc(100% - 16px);
        margin: 22px auto;
        padding: 16px 13px;
        border-radius: 13px;
    }

    .rn-edara-directory-v1__header {
        align-items: flex-start;
        gap: 10px;
    }

    html body .rn-edara-directory-v1__header h2 {
        font-size: 21px;
    }

    .rn-edara-directory-v1__count {
        padding-top: 34px;
        font-size: 13px;
    }

    html body .rn-edara-directory-v1__row {
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
        padding: 12px 2px;
    }

    .rn-edara-directory-v1__details {
        width: 100%;
    }

    .rn-edara-directory-v1__actions {
        flex-wrap: wrap;
        padding-right: 50px;
    }

    html body .rn-edara-directory-v1__actions a {
        min-height: 33px;
        padding: 7px 12px;
    }
}

@media (max-width: 390px) {
    .rn-edara-directory-v1__header {
        flex-direction: column;
    }

    .rn-edara-directory-v1__count {
        padding-top: 0;
    }

    .rn-edara-directory-v1__actions {
        padding-right: 0;
    }
}
