.notification-center {
    position: relative;
}

.notification-wrapper .notification-center {
    margin: 0;
}

.notification-button {
    background: transparent;
    border: none;
    color: #039C14;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.notification-button:focus,
.notification-button:hover {
    color: #00ed3b;
    outline: none;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(40%, -40%);
    background: #ff4d4f;
    color: #fff;
    border-radius: 9999px;
    padding: 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 1.2rem;
    text-align: center;
    line-height: 1.2rem;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    width: 320px;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(3, 156, 20, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1080;
    overflow: hidden;
}

.notification-dropdown__header,
.notification-dropdown__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(3, 156, 20, 0.08);
}

.notification-dropdown__title {
    /*font-weight: 600;*/
    font-size: 1rem;
    color: #1a1a1a;
}

.notification-dropdown__body {
    max-height: 360px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.notification-action {
    background: transparent;
    border: none;
    color: #039C14;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.notification-action:hover,
.notification-action:focus {
    background: rgba(3, 156, 20, 0.15);
    color: #02620d;
    outline: none;
}

.notification-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(3, 156, 20, 0.08);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover,
.notification-item:focus {
    background: rgba(3, 156, 20, 0.08);
    outline: none;
}

.notification-item--unread {
    background: rgba(3, 156, 20, 0.12);
}

.notification-item__media {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: rgba(3, 156, 20, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notification-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-item__media i {
    color: #039C14;
    font-size: 1.25rem;
}

.notification-item__content {
    flex: 1;
    min-width: 0;
}

.notification-item__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1c1c !important;
    margin: 0 0 0.25rem 0;
    word-break: break-word;
}

.notification-item__meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #4f4f4f;
}

.notification-item__status {
    color: #039C14 !important;
    font-weight: 600;
}

.notification-empty,
.notification-loading {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #4f4f4f;
}

.notification-loading {
    display: none;
}

.notification-empty.d-none,
.notification-dropdown.d-none,
.notification-badge.d-none {
    display: none !important;
}

.notification-dropdown__body::-webkit-scrollbar {
    width: 8px;
}

.notification-dropdown__body::-webkit-scrollbar-thumb {
    background: rgba(3, 156, 20, 0.35);
    border-radius: 999px;
}

.notification-dropdown__body::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 991.98px) {
    .notification-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-75%);
        width: min(90vw, 360px);
    }
}
