.main-sidebar-header .main-logo {
    width: 154px;
    height: 39px;
    object-fit: contain;
}

.main-sidebar-header .logo-icon {
    width: 40px;
    height: 40px;
}

.ireader-header__inner,
.ireader-header__leading,
.ireader-header__actions {
    display: flex;
    align-items: center;
}

.ireader-header__inner {
    gap: 20px;
    min-width: 0;
}

.ireader-header__leading,
.ireader-header__actions {
    flex: 0 0 auto;
    gap: 10px;
}

.ireader-header__menu.app-sidebar__toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-radius: 5px;
    color: #34534c;
    cursor: pointer;
}

.ireader-header__menu:hover {
    background: #eaf2ef;
    color: #285c4e;
}

.ireader-header__brand,
.ireader-header__brand img {
    display: block;
}

.ireader-header__brand-mark {
    display: none !important;
}

.ireader-header__search {
    display: flex;
    flex: 0 1 430px;
    min-width: 0;
    max-width: 430px;
    height: 39px;
    align-items: center;
    margin: 0 auto;
    border: 1px solid #d2ddda;
    border-radius: 6px;
    background: #f7faf9;
}

.ireader-header__search:focus-within {
    border-color: #285c4e;
}

.ireader-header__search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #263238;
    font-size: 13px;
    outline: none;
}

.ireader-header__search input::placeholder {
    color: #72817f;
}

.ireader-header__search button {
    display: inline-flex;
    width: 39px;
    height: 37px;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #285c4e;
    cursor: pointer;
}

.ireader-header__icon {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #34534c;
    font-size: 19px;
}

.ireader-header__icon:hover {
    background: #eaf2ef;
    color: #285c4e;
}

.ireader-header__count {
    position: absolute;
    top: -3px;
    right: -4px;
    display: inline-flex;
    min-width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border-radius: 9px;
    background: #a74a3d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ireader-header__profile-button {
    display: inline-flex;
    max-width: 190px;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #263238;
    cursor: pointer;
}

.ireader-header__avatar {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dfeae5;
    color: #285c4e;
    font-size: 14px;
    font-weight: 700;
}

.ireader-header__profile-name {
    overflow: hidden;
    max-width: 120px;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ireader-header__profile-meta {
    display: flex;
    max-width: 250px;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    padding: 12px 16px;
    border-bottom: 1px solid #e5ebe9;
    color: #263238;
    font-size: 12px;
    text-overflow: ellipsis;
}

.ireader-header__profile-meta span {
    overflow: hidden;
    color: #687977;
    text-overflow: ellipsis;
}

.ireader-header__profile .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;
    border: 0;
    background: transparent;
    color: #263238;
    text-align: left;
    cursor: pointer;
}

.ireader-header__profile .dropdown-item:hover {
    background: #eef4f1;
    color: #285c4e;
}

.ireader-header__login,
.ireader-header__register {
    color: #285c4e;
    font-size: 13px;
    font-weight: 700;
}

.ireader-header__register {
    padding: 8px 12px;
    border-radius: 5px;
    background: #285c4e;
    color: #fff;
}

@media (max-width: 1100px) {
    .ireader-header__profile-name,
    .ireader-header__profile-button > i {
        display: none;
    }
}

@media (max-width: 767px) {
    .ireader-header__inner {
        gap: 8px;
    }

    .ireader-header__leading,
    .ireader-header__actions {
        gap: 5px;
    }

    .ireader-header__brand-full {
        display: none !important;
    }

    .ireader-header__brand-mark {
        display: block !important;
    }

    .ireader-header__search {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        margin: 0;
    }

    .ireader-header__search input {
        padding-left: 8px;
    }

    .ireader-header__search input::placeholder {
        color: transparent;
    }

    .ireader-header__login,
    .ireader-header__register {
        display: none;
    }
}
