/* chat-button */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
}
.chat-button span {
    position: absolute;
    top: -10px;
    right: 0;
    background: indianred;
    line-height: 1;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 9pt;
}

.chat-button img {
    width: 80px;
    height: 80px;
}

.hidden {
    display: none;
}

/*  Popup */
.notification-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 330px;
    background-color: var(--white);
    /* border-radius: 12px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow: hidden;
    display: none;
    /* hidden */
    flex-direction: column;
    direction: rtl;
    /* font-family: Arial, sans-serif; */
    /*height: 400px;
    justify-content: center;*/
    max-height: 500px;
}

.notification-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
    padding: 60px;
    min-height: 250px;
    max-height: 400px;
    padding: 0;
    /*
    align-items: center;
    text-align: center;
    padding: 60px;
    */
}
.notification-content a {
    text-decoration: none;
}

/* if there is no notification */
.no_notification-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.no_notification-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.no_notification-subtext {
    font-size: 14px;
    color: #777;
    margin: 5px 0;
    line-height: 1.4;
}

/* if there is no notification */


/* if there is notification */

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.notification-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}


.notification-time {
    color: #999;
    font-size: 12px;
    min-width: 30px;
    text-align: left;
}

.notification-text {
    font-size: 14px;
    line-height: 1.4;
}

.notification-footer {
    display: flex;
    padding-right: 46px;
    width: 100%;
}

.avatar-container {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    flex-shrink: 0;
}

.notification-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    /* margin-left: auto; */

}

/* if there is notification */


/* Tabs */
.notification-tabs {
    display: flex;
    border-top: 1px solid #eee;
    background-color: var(--white);
    margin-top: auto;
}

.tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    color: #777;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.notification-tabs button {
    background: transparent;
    border: none;
}
.tab span a {
    text-decoration: none;
    color: inherit;
    font-size: inherit;
}

.tab.active {
    color: #b1741b;
    border-bottom: 2px solid #b1741b;
}
.no-notifications {
        color: gray;
    width: 100%;
    text-align: center;
    padding: 120px 0px;
}