.notification-drawer-shell {
    width: 75px;
    height: 80px;
    float: left;
}

.notification-trigger {
    display: block;
    width: 75px;
    height: 80px !important;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

#click_nnot.notification-trigger {
    height: 80px !important;
}

.notification-drawer,
#slide_not_id.notification-drawer {
    display: flex !important;
    position: fixed !important;
    z-index: 3101;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(440px, 100vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    overflow: hidden;
    flex-direction: column;
    border: 0;
    border-radius: 22px 0 0 22px !important;
    background: #fff;
    box-shadow: -24px 0 70px rgba(8, 31, 47, .22) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility .34s;
    pointer-events: none;
}

.notification-drawer.is-open,
#slide_not_id.notification-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.notification-drawer-overlay {
    position: fixed;
    z-index: 3100;
    inset: 0;
    background: rgba(8, 18, 27, .52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.notification-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.notification-drawer-open {
    overflow: hidden;
}

.notification-drawer-head {
    min-height: 94px;
    padding: 23px 25px 19px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e8eef2;
    background: linear-gradient(135deg, #f7fcff 0%, #eef8fd 100%);
}

.notification-drawer-head > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notification-drawer-kicker {
    color: #079fe8;
    font-family: Manrope, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
}

.notification-drawer-head strong {
    color: #101b24;
    font-family: Manrope, sans-serif;
    font-size: 24px;
    line-height: 1.25;
}

.notification-drawer-close {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 71, 96, .1);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.notification-drawer-close:hover {
    background: #e8f7ff;
    transform: scale(1.04);
}

.notification-drawer-close span {
    position: absolute;
    top: 20px;
    left: 12px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #243642;
}

.notification-drawer-close span:first-child {
    transform: rotate(45deg);
}

.notification-drawer-close span:last-child {
    transform: rotate(-45deg);
}

.notification-drawer .text_not {
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.notification-drawer .slide_text_time {
    padding: 12px 0 18px;
}

.notification-drawer .hr_not {
    display: block;
    color: inherit;
    text-decoration: none;
}

.notification-drawer .content_not,
.notification-drawer .content_not_nb {
    box-sizing: border-box;
    width: auto !important;
    margin: 0 22px !important;
    padding: 18px 2px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 16px;
    align-items: start;
}

.notification-drawer .content_not {
    border-bottom: 1px solid #e8edf1;
}

.notification-drawer .txt_not,
.notification-drawer .txt_not_no_bold {
    width: auto !important;
    padding: 0 !important;
    display: block;
    overflow-wrap: anywhere;
    color: #17232c;
    font-size: 14px;
    line-height: 1.48;
}

.notification-drawer .txt_not {
    font-weight: 700;
}

.notification-drawer .txt_not_no_bold {
    font-weight: 500;
}

.notification-drawer .date_not {
    width: auto !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    color: #80909c;
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
}

.notification-drawer .clear_not {
    flex: 0 0 auto;
    border-color: #e3eaef;
    background: #fff;
}

.notification-drawer .clear_block_hr {
    box-sizing: border-box;
    padding: 17px 24px;
}

.notification-drawer .clear_hr {
    display: inline-flex;
    min-height: 42px;
    padding: 0 19px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #526674;
    background: #eff5f8;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.notification-drawer .clear_hr:hover {
    color: #007fbd;
    background: #e1f4fd;
}

.notification-drawer .no_noth {
    box-sizing: border-box;
    padding: 65px 25px 30px;
}

.dark .notification-drawer,
.dark #slide_not_id.notification-drawer {
    border-left: 1px solid #303b42;
    background: #1b1b1b;
    box-shadow: -24px 0 70px rgba(0, 0, 0, .48) !important;
}

.dark .notification-drawer-head {
    border-color: #303b42;
    background: linear-gradient(135deg, #202a30 0%, #191d20 100%);
}

.dark .notification-drawer-head strong {
    color: #f1f5f7;
}

.dark .notification-drawer-close {
    background: #2a3339;
    box-shadow: none;
}

.dark .notification-drawer-close:hover {
    background: #34444d;
}

.dark .notification-drawer-close span {
    background: #dce7ec;
}

.dark .notification-drawer .content_not {
    border-color: #313a40;
}

.dark .notification-drawer .txt_not {
    color: #f1f5f7;
}

.dark .notification-drawer .txt_not_no_bold {
    color: #c9d3d9;
}

.dark .notification-drawer .date_not {
    color: #91a2ad;
}

.dark .notification-drawer .no_noth,
.dark .notification-drawer .no_noth_p3 {
    color: #c9d3d9;
}

.dark .notification-drawer .clear_not {
    border-color: #303b42;
    background: #1b1b1b;
}

.dark .notification-drawer .clear_hr {
    color: #c3d0d7;
    background: #252d32;
}

.dark .notification-drawer .clear_hr:hover {
    color: #7bd6ff;
    background: #293b45;
}

@media (max-width: 560px) {
    .notification-drawer,
    #slide_not_id.notification-drawer {
        width: 100vw !important;
        border-radius: 0 !important;
    }

    .notification-drawer-head {
        min-height: 82px;
        padding: 17px 16px;
    }

    .notification-drawer-head strong {
        font-size: 21px;
    }

    .notification-drawer .content_not,
    .notification-drawer .content_not_nb {
        margin: 0 15px !important;
        padding: 16px 1px;
        grid-template-columns: minmax(0, 1fr) 62px;
        gap: 11px;
    }

    .notification-drawer .txt_not,
    .notification-drawer .txt_not_no_bold {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .notification-drawer,
    .notification-drawer-overlay {
        transition-duration: .01ms;
    }
}
