/* ===================================================
   Themify Icon Font (fix empty square sidebar icons)
   =================================================== */
@font-face {
    font-family: "themify";
    src: url("../fonts/themify.eot");
    src:
        url("../fonts/themify.eot?#iefix") format("embedded-opentype"),
        url("../fonts/themify.woff") format("woff"),
        url("../fonts/themify.ttf") format("truetype"),
        url("../fonts/themify.svg#themify") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.sidebar .nav .nav-item a i[class^="ti-"],
.sidebar .nav .nav-item a i[class*=" ti-"] {
    font-family: "themify" !important;
}

.sidebar .nav .nav-item a i[class^="ti-"]::before,
.sidebar .nav .nav-item a i[class*=" ti-"]::before {
    font-family: "themify" !important;
}

/* Ensure icon font is used everywhere (header dropdown, timeline, tables), not only sidebar. */
i[class^="ti-"],
i[class*=" ti-"],
i[class^="ti-"]::before,
i[class*=" ti-"]::before {
    font-family: "themify" !important;
    font-style: normal;
    speak: none;
}

/* ===================================================
   Help Page: Fix dark icon circles → brand blue
   =================================================== */
.box-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* RMS public homepage feature cards should keep dark blue icon circles. */
#forms .box-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0f2447 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 24px rgba(15, 36, 71, 0.25) !important;
    padding: 0 !important;
}

#forms .box-icon i {
    color: #ffffff !important;
    font-size: 34px;
}

/* ===================================================
   Researcher Research Card / Aside Sidebar
   =================================================== */
.research-aside-card .img-placeholder {
    width: 100%;
    height: 140px;
    background: #1a2a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 4px 0 0;
}
.research-aside-card .img-placeholder i {
    font-size: 48px;
    color: rgba(255,255,255,0.4);
}
.research-aside-card .title-area {
    text-align: center;
    padding: 14px 15px 6px;
}
.research-aside-card .title-area h6 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 4px;
}
.research-aside-card .title-area .code-badge {
    font-size: 11px;
    color: #888;
    font-style: italic;
}
.research-aside-card .meta-area {
    padding: 4px 15px 10px;
    font-size: 12px;
    color: #555;
}
.research-aside-card .meta-area p {
    margin: 3px 0;
}
.research-aside-card .meta-area i {
    width: 16px;
    text-align: center;
    margin-right: 5px;
    color: #888;
}
.research-aside-card .dates-area {
    font-size: 11px;
    color: #888;
    padding: 8px 15px;
    border-top: 1px solid #f0f0f0;
}
.research-aside-card .dates-area p {
    margin: 2px 0;
}
