@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root > * {
    /* custom variables */
    --smile-primary-color: #111C5C;
    --smile-danger-color: #c04949;;
    --smile-grey-color: #ededed;
    --smile-text-color: #212529;
    --smile-blue-color: #0d6efd;

    /* material theme variables */
    --md-default-fg-color--light: var(--smile-primary-color);
    --md-default-fg-color: #000;
    --md-primary-fg-color: #F9F9F9;
    --md-primary-bg-color: var(--smile-primary-color);

    /* custom font */
    --md-text-font: 'Raleway', sans-serif;
}

.md-search__inner * {
    background: #fff;
    color: #828282;
}

.md-search__inner {
    border: 1px solid #EDEDED;
    border-radius: 12px;
    padding: 0;
}

.md-search__form,
.md-search__input {
    padding: 0;
   border-radius: 12px;
}

.md-search__input {
    height: 48px;
}

.md-search__form {
    display: flex;
    align-items: center;
}

.md-search__output {
    top: 48px
}

.md-search__icon {
    scale: 1.2;
}

.md-header__inner {
    padding: 19px 0;
}

.md-ellipsis {
    font-size: 24px;
}

.md-header--shadow {
    box-shadow: unset;
}

.md-header__button.md-logo {
    padding: 0;
}

.md-header__button.md-logo :-webkit-any(img,svg) {
    width: 50px;
    height: 50px;
}

.md-typeset blockquote {
    background: #D6EBFF;
    border-radius: 12px;
    padding: 16px;
    border-left: none;
    color: #000;
}

[dir="ltr"] .md-typeset blockquote {
    border-left: none;
}

.md-typeset a {
    text-decoration-line: underline;
    color: #0485E3;
}

.md-nav__item .md-nav__link--active {
    color: #024A7E;
    font-weight: 600;
}

.md-footer {
    display: none;
}

.md-sidebar--secondary .md-sidebar__inner {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
}

.md-sidebar--secondary .md-nav__link {
    border-left: 3px solid #EDEDED;
    padding: 0 .6rem;
}

.md-sidebar--secondary .md-nav__link {
    margin-top: 0;
    padding-top: calc(0.625rem / 2);
    padding-bottom: calc(0.625rem / 2);
}

.md-sidebar--secondary .md-nav__link--active {
    color: #000000;
}

.md-sidebar--secondary .md-nav__link--active {
    border-left: 3px solid #024A7E;
}

.md-sidebar--secondary .md-nav__list {
    margin-top: 1rem;
}

.md-sidebar--secondary .md-nav__item {
    padding: 0;
}

.md-nav__link:is(:focus, :hover) {
    color: #024A7E;
}

.md-content {
    border-left: 1px solid #EDEDED;
}

.md-main__inner {
    margin-top: 0;
}

.md-nav--primary .md-nav__title {
    font-weight: 600;
    font-size: 24px;
    color: #111C5C;
    margin-bottom: 1rem;
}

.md-sidebar__scrollwrap,
.md-sidebar__scrollwrap:hover {
    scrollbar-color: #111C5C transparent;
}

.md-typeset h1, .md-typeset h2 {
    font-weight: 600;
}


.backdrop {
    position: absolute;
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.notification {
    font-size: 1.6em;
    color: var(--smile-text-color);
    position: relative;
    padding: 0 16px;
}

.notification a {
    color: var(--smile-blue-color)
}

.notification__button {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--smile-grey-color);
    padding: 12px;
}

.notification__icon {
    position: relative;
}

.notification__icon:after {
    content: '';
    position: absolute;
    background-color: var(--smile-danger-color);
    border-radius: 50%;
    border: 1px solid white;
    width: 10px;
    height: 10px;
    left: -4px;
    top: -4px;
}

.notification__dropdown {
    width: 370px;
}


.dropdown {
    max-height: 400px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    background-color: white;
    overflow: auto;
    transform: translateY(100%);
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 101;
}

.dropdown__toggle {
    cursor: pointer;
}

.dropdown__item:hover {
    background-color: #e9ecef;
}

.dropdown__item {
    transition: background-color 0.15s ease-in-out;
    padding: 8px 12px;
}

.dropdown.show {
    display: block;
}

.notification__title {
    font-size: 1.3em;
    font-weight: 700;
    padding: 8px 12px;
}

.notification__item {

    display: flex;
    align-items: center;
    gap: 8px;
}

.notification__indicator {
    min-width: 12px;
    width: 12px;
    height: 12px;
    background-color: #d9d9d9;
    border-radius: 50%;
}

.notification__indicator.active {
    background-color: #89b27c;
}

.notification__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.03em;
    color: #000000;
    margin: 0 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
}

.notification__show-more {
    color: var(--smile-blue-color);
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 12px;
    text-align: center;
    display: none;
}

.notification__show-more.show {
    display: block;
}


.profile {
    position: relative;
    padding: 0 16px;
}

.profile__info {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    border: 1px solid #EDEDED;
    padding-right: 12px;
}

.profile__name {
    color: #828282;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.03em;
    width: 112px;
}

.profile__dropdown {
    padding: 0;
    width: 180px;
    left: 50%;
    transform: translate(-50%, 100%);
}

.profile__dropdown-item {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.03em;
    font-weight: 400;
    display: flex;
    align-items: center;
    color: #555;
    cursor: pointer;
}

.profile__logout {
    color: var(--smile-danger-color);
}