.notifly_dropdown_box {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    cursor: default;
    animation: notiflyFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes notiflyFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.notifly_drop_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.notifly_drop_title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.notifly_action_all {
    font-size: 11px;
    font-weight: 600;
    color: #00bd8e;
    cursor: pointer;
    transition: color 0.15s ease;
    user-select: none;
}
.notifly_action_all:hover {
    color: #009a74;
}
.notifly_action_all.del_all {
    color: #64748b;
}
.notifly_action_all.del_all:hover {
    color: #ef4444;
}

.notifly_drop_scroll {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.notifly_drop_scroll::-webkit-scrollbar {
    width: 4px;
}
.notifly_drop_scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.notifly_drop_item {
    padding: 12px 14px;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: #ffffff;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}
.notifly_drop_item:hover {
    background-color: #f8fafc;
}
.notifly_drop_item:last-child {
    border-bottom: 0;
}

.notifly_drop_item.is_read {
    opacity: 0.6;
}
.notifly_drop_item.is_read:hover {
    opacity: 0.9;
}

.notifly_item_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notifly_item_date {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.notifly_item_del {
    font-size: 16px;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.notifly_item_del:hover {
    background: #fee2e2;
    color: #ef4444;
}

.notifly_item_title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.notifly_item_msg {
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notifly_loader,
.notifly_empty {
    padding: 30px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.notifly_drop_footer {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: center;
}
