/* ==========================================================================
   Header bildiriş zəngi (notification bell) + bildirişlər səhifəsi
   ========================================================================== */

.notification_bell {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: solid 1px #cecee2;
    background-color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: .2s ease;
}

.notification_bell:hover {
    background-color: #f8f8f8;
}

.notification_bell_count {
    position: absolute;
    right: -8px;
    top: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background-color: #fd475d;
    border-radius: 9px;
    font-size: 10px;
    line-height: 17px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.dmm_right .notification_bell {
    border: 0;
    margin-left: 10px;
}

.dmm_right .notification_bell_count {
    min-width: 14px;
    height: 14px;
    font-size: 8px;
    line-height: 14px;
    right: -4px;
    top: -2px;
}

/* --------------------------------------------------------------------------
   Bildirişlər siyahısı
   -------------------------------------------------------------------------- */

.notification-list {
    float: left;
    width: 100%;
}

.notification-item {
    box-sizing: border-box;
    position: relative;
    float: left;
    width: 100%;
    padding: 16px 20px 16px 44px;
    border: solid 1px #e8e8f1;
    border-radius: 10px;
    background-color: #ffffff;
    margin-bottom: 12px;
}

.notification-item.is-unread {
    background-color: #f7f9ff;
    border-color: #cfd9f7;
}

.notification-item .notification-dot {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #cecee2;
}

.notification-item.is-unread .notification-dot {
    background-color: #fd475d;
}

.notification-item .notification-title {
    font-size: 15px;
    font-family: 'SegoeSemiBold', sans-serif;
    color: #2c2c51;
    margin-bottom: 6px;
    word-break: break-word;
}

.notification-item .notification-message {
    font-size: 13px;
    line-height: 1.5;
    color: #56566e;
    margin-bottom: 8px;
    word-break: break-word;
}

.notification-item .notification-message p {
    margin-bottom: 6px;
}

.notification-item .notification-meta {
    font-size: 12px;
    color: #7b7b93;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.notification-item .notification-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    background-color: #eef0f8;
    color: #56566e;
    font-size: 11px;
}

.notification-item .notification-link {
    color: #fd475d;
    font-size: 12px;
}

.notification-empty {
    float: left;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    color: #7b7b93;
}

@media (max-width: 767px) {
    .notification-item {
        padding: 14px 14px 14px 34px;
    }

    .notification-item .notification-dot {
        left: 14px;
        top: 20px;
    }
}

/* --------------------------------------------------------------------------
   Bildiriş detalı popup (magnific inline)
   -------------------------------------------------------------------------- */

.notification-popup {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 640px;
    border-radius: 20px;
    background-color: #ffffff;
    margin: 20px auto;
    padding: 34px 30px 30px;
}

.notification-popup .notification-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #7b7b93;
    cursor: pointer;
    opacity: 1;
    padding: 0;
}

.notification-popup .notification-popup-close:hover {
    color: #2c2c51;
}

.notification-popup .notification-popup-title {
    font-size: 19px;
    font-family: 'SegoeSemiBold', sans-serif;
    color: #2c2c51;
    margin: 0 30px 18px 0;
    line-height: 1.35;
    word-break: break-word;
}

.notification-popup .notification-popup-content {
    font-size: 14px;
    line-height: 1.6;
    color: #56566e;
    max-height: 60vh;
    overflow-y: auto;
    word-break: break-word;
}

.notification-popup .notification-popup-content p {
    margin-bottom: 10px;
}

.notification-popup .notification-popup-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.notification-popup .notification-popup-content table {
    max-width: 100%;
}

.notification-popup .notification-popup-loading {
    padding: 24px 0;
    text-align: center;
    color: #7b7b93;
}

@media (max-width: 767px) {
    .notification-popup {
        padding: 30px 18px 22px;
        border-radius: 14px;
    }

    .notification-popup .notification-popup-title {
        font-size: 16px;
    }

    .notification-popup .notification-popup-content {
        max-height: 65vh;
    }
}
