﻿.notification-container {
    display: none;
    position: absolute;
    top: 75px;
    right: 150px;
    min-width: 360px;
    width: 450px;
    max-width: 450px;
    background-color: #fff;
    border-radius: 10px;
    z-index: 999999;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

    .notification-container.show {
        display: block;
    }

    .notification-container .title {
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid #E9E9E9;
        background-color: initial;
        position: initial;
        width: initial;
        height: initial;
    }

        .notification-container .title span {
            font-size: 1.125rem;
            font-weight: 500;
            color: #000000;
        }

.notification-content-wrapper {
    overflow-y: auto;
    max-height: 60vh;
}

.notification-box {
    border-bottom: 1px solid #E9E9E9;
    display: flex;
    gap: 16px;
    padding: 1rem 1.375rem;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

    .notification-box:hover, .notification-box.unread:hover {
        background-color: #e0e4e7;
    }

    .notification-box.unread {
        background-color: #f0f4f7;
    }

    .notification-box .fake-avatar {
        width: 22px;
        height: 22px;
    }

.notification-thumbnail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .notification-header .notification-title {
        font-size: 18px;
        font-weight: 500;
        color: #000;
        text-transform: capitalize;
    }

    .notification-header .notification-date {
        font-size: 0.75rem;
        color: #A6A6A6;
    }

.notification-content {
    font-size: 14px;
}

    .notification-content .notification-remark {
        color: #4D4D4D;
    }

.notification-view-all-toggler {
    padding-top: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #2350AC;
    cursor: pointer;
    transition: color 0.1s ease;
}

    .notification-view-all-toggler:hover {
        color: #00297c;
    }

.notification-hot {
    position: fixed;
    top: 45px;
    right: 45px;
    border: 1px solid red;
    max-width: 450px;
    z-index: 999999;
    background-color: #FF0000;
    color: #FFF;
}

.notification-thumbnail-footer {
    display: flex;
    justify-content: end;
    padding: 0.625rem 1.375rem;
}

.see-more-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
}

.expire-date-warn {
    margin-left: 0.625rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background-color: #E9E9E9;
    border-radius: 8px;
    padding: 0.25rem 0.75rem;
}

@media (max-width: 576px) {
    .notification-container {
        width: 360px;
        right: 10px;
    }
}